summaryrefslogtreecommitdiffstats
path: root/src/ui/widget
diff options
context:
space:
mode:
authorDenis Declara <declara91@gmail.com>2012-05-09 15:03:55 +0000
committerDenis Declara <declara91@gmail.com>2012-05-09 15:03:55 +0000
commit2b693f8037ad4b25b368376274811f20f5864c1b (patch)
tree0e77d3c7952044383a4f272e72b32939881eff7f /src/ui/widget
parentFixed runtime assertion about Parent beeing Null (diff)
downloadinkscape-2b693f8037ad4b25b368376274811f20f5864c1b.tar.gz
inkscape-2b693f8037ad4b25b368376274811f20f5864c1b.zip
Renamed files to better match coding conventions
(bzr r11073.1.31)
Diffstat (limited to 'src/ui/widget')
-rw-r--r--src/ui/widget/anchor-selector.cpp19
-rw-r--r--src/ui/widget/anchor-selector.h19
2 files changed, 38 insertions, 0 deletions
diff --git a/src/ui/widget/anchor-selector.cpp b/src/ui/widget/anchor-selector.cpp
index 87f50cf5f..82e27ee89 100644
--- a/src/ui/widget/anchor-selector.cpp
+++ b/src/ui/widget/anchor-selector.cpp
@@ -12,6 +12,10 @@
#include "widgets/icon.h"
#include "ui/icon-names.h"
+namespace Inkscape {
+namespace UI {
+namespace Widget {
+
void AnchorSelector::setupButton(const Glib::ustring& icon, Gtk::ToggleButton& button) {
Gtk::Widget* buttonIcon = Gtk::manage(sp_icon_get_icon(icon, Inkscape::ICON_SIZE_SMALL_TOOLBAR));
buttonIcon->show();
@@ -76,3 +80,18 @@ void AnchorSelector::setAlignment(int horizontal, int vertical)
_buttons[index].set_active(!_buttons[index].get_active());
}
}
+
+} // namespace Widget
+} // namespace UI
+} // namespace Inkscape
+
+/*
+ Local Variables:
+ mode:c++
+ c-file-style:"stroustrup"
+ c-file-offsets:((innamespace . 0)(inline-open . 0))
+ indent-tabs-mode:nil
+ fill-column:99
+ End:
+*/
+// vim: filetype=c++:expandtab:shiftwidth=4:tabstop=8:softtabstop=4 :
diff --git a/src/ui/widget/anchor-selector.h b/src/ui/widget/anchor-selector.h
index 361528d11..2263438e3 100644
--- a/src/ui/widget/anchor-selector.h
+++ b/src/ui/widget/anchor-selector.h
@@ -12,6 +12,10 @@
#include <gtkmm.h>
+namespace Inkscape {
+namespace UI {
+namespace Widget {
+
class AnchorSelector : public Gtk::Alignment
{
private:
@@ -37,4 +41,19 @@ public:
virtual ~AnchorSelector();
};
+} // namespace Widget
+} // namespace UI
+} // namespace Inkscape
+
#endif /* ANCHOR_SELECTOR_H_ */
+
+/*
+ Local Variables:
+ mode:c++
+ c-file-style:"stroustrup"
+ c-file-offsets:((innamespace . 0)(inline-open . 0))
+ indent-tabs-mode:nil
+ fill-column:99
+ End:
+*/
+// vim: filetype=c++:expandtab:shiftwidth=4:tabstop=8:softtabstop=4 :