summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 8f4e477)
raw | patch | inline | side by side (parent: 8f4e477)
author | mental <mental@users.sourceforge.net> | |
Wed, 2 Jul 2008 01:45:20 +0000 (01:45 +0000) | ||
committer | mental <mental@users.sourceforge.net> | |
Wed, 2 Jul 2008 01:45:20 +0000 (01:45 +0000) |
src/dialogs/layers-panel.cpp | patch | blob | history | |
src/dialogs/layers-panel.h | patch | blob | history |
index d54fb6fc770f6e48e175f35fee472c59f1530e7f..7863e19f1b3b72dfa9b3f4e89ec55a285386f848 100644 (file)
_watching.push_back( &_compositeSettings );
- _getContents()->pack_start( _scroller, Gtk::PACK_EXPAND_WIDGET );
+ _layersPage.pack_start( _scroller, Gtk::PACK_EXPAND_WIDGET );
+ _layersPage.pack_end(_compositeSettings, Gtk::PACK_SHRINK);
+ _layersPage.pack_end(_buttonsRow, Gtk::PACK_SHRINK);
- _getContents()->pack_end(_compositeSettings, Gtk::PACK_SHRINK);
- _getContents()->pack_end(_buttonsRow, Gtk::PACK_SHRINK);
+ _notebook.append_page(_layersPage, _("Layers"));
+
+ _getContents()->pack_start(_notebook, Gtk::PACK_EXPAND_WIDGET);
SPDesktop* targetDesktop = getDesktop();
index e554ad0bfc0a35a11e7fb8f5773a62a462d199fb..62596e4071d3befafdaecfed64614a49f847bb46 100644 (file)
#include <gtkmm/box.h>
#include <gtkmm/buttonbox.h>
#include <gtkmm/spinbutton.h>
+#include <gtkmm/notebook.h>
//#include "ui/previewholder.h"
#include "ui/widget/panel.h"
Gtk::ScrolledWindow _scroller;
Gtk::Menu _popupMenu;
Gtk::SpinButton _spinBtn;
+ Gtk::Notebook _notebook;
+ Gtk::VBox _layersPage;
UI::Widget::StyleSubject::CurrentLayer _subject;
UI::Widget::ObjectCompositeSettings _compositeSettings;