summaryrefslogtreecommitdiffstats
path: root/src/ui/dialog
diff options
context:
space:
mode:
authorDenis Declara <declara91@gmail.com>2012-03-26 15:30:27 +0000
committerDenis Declara <declara91@gmail.com>2012-03-26 15:30:27 +0000
commit6b958fd1779e1882dbd91f714719cfae08752f67 (patch)
tree33bffa424686fdfc81c2aff6a6699d6787a5f70d /src/ui/dialog
parenttrunk merge (diff)
downloadinkscape-6b958fd1779e1882dbd91f714719cfae08752f67.tar.gz
inkscape-6b958fd1779e1882dbd91f714719cfae08752f67.zip
Added anchor-selection widget, it doesn't do much at the moment, next step will be to wire everything together,
btw, you can see the widget in the 'rows and columns' panel (bzr r11073.1.3)
Diffstat (limited to 'src/ui/dialog')
-rw-r--r--src/ui/dialog/tile.cpp1
-rw-r--r--src/ui/dialog/tile.h3
2 files changed, 4 insertions, 0 deletions
diff --git a/src/ui/dialog/tile.cpp b/src/ui/dialog/tile.cpp
index 77dae056f..5ce41c716 100644
--- a/src/ui/dialog/tile.cpp
+++ b/src/ui/dialog/tile.cpp
@@ -796,6 +796,7 @@ TileDialog::TileDialog()
SpinsHBox.pack_start(NoOfColsBox, false, false, MARGIN);
TileBox.pack_start(SpinsHBox, false, false, MARGIN);
+ TileBox.pack_start(anchorSelector);
{
/*#### Radio buttons to control spacing manually or to fit selection bbox ####*/
diff --git a/src/ui/dialog/tile.h b/src/ui/dialog/tile.h
index f9e9d9842..f1493664d 100644
--- a/src/ui/dialog/tile.h
+++ b/src/ui/dialog/tile.h
@@ -20,6 +20,7 @@
#include <gtkmm/checkbutton.h>
#include <gtkmm/radiobutton.h>
+#include "ui/widget/anchor-selector.h"
#include "ui/widget/panel.h"
#include "ui/widget/spinbutton.h"
#include "ui/widget/scalar-unit.h"
@@ -78,6 +79,8 @@ private:
bool userHidden;
bool updating;
+ AnchorSelector anchorSelector;
+
Gtk::Notebook notebook;
Gtk::VBox TileBox;