Add source files

This commit is contained in:
daleclack 2022-01-26 21:19:46 +08:00
parent eee06fd385
commit 5e8109aa0a
7 changed files with 20 additions and 2 deletions

View File

@ -23,7 +23,7 @@ include_directories (${GTKMM3_INCLUDE_DIRS})
link_directories (${GTKMM3_LIBRARY_DIRS})
set(SOURCES src/core/main.cc src/core/MyWin.cc src/core/MyStack.cc
src/ui/MyFinder.cc) #src/core/winconf.cc
src/ui/MyFinder.cc src/ui/WinConf.cc) #src/core/winconf.cc
# src/panels/LeftPanel.cc src/panels/TopPanel.cc
# src/draw_app/drawing.cc src/file_app/FileWindow.cc src/game_app/Game.cc
# src/image_app/ImageApp.cc src/image_app/MyImage.cc

View File

@ -1 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="UTF-8"?>
<interface>
<menu id="model">
<section>
</section>
</menu>
</interface>

View File

@ -23,6 +23,9 @@ MyWin::MyWin()
//Add Stack
m_overlay.add_overlay(*(main_stack.stack));
//Add context menu
auto menubuilder = Gtk::Builder::create_from_resource("/org/gtk/daleclack/mainmenu.xml");
add(m_overlay);
show_all_children();
}

View File

View File

View File

@ -0,0 +1 @@
#include "WinConf.hh"

View File

@ -0,0 +1,7 @@
#pragma once
#include <gtkmm.h>
class WinConf : public Gtk::Window{
};