summaryrefslogtreecommitdiffstats
path: root/src/ui/dialog/styledialog.h
diff options
context:
space:
mode:
authorkamalpreetgrewal <grewalkamal005@gmail.com>2016-08-20 07:09:45 +0000
committerkamalpreetgrewal <grewalkamal005@gmail.com>2016-08-20 07:09:45 +0000
commitbb2023c0d4971e15f12394b85dc52b8ae49225eb (patch)
treee4099b0a3c324f8e90033d41b36a795a3a4f4f65 /src/ui/dialog/styledialog.h
parentPass remaining simple class selector tests (diff)
downloadinkscape-bb2023c0d4971e15f12394b85dc52b8ae49225eb.tar.gz
inkscape-bb2023c0d4971e15f12394b85dc52b8ae49225eb.zip
Add some more comments to improve code understanding
(bzr r14949.1.75)
Diffstat (limited to 'src/ui/dialog/styledialog.h')
-rw-r--r--src/ui/dialog/styledialog.h11
1 files changed, 7 insertions, 4 deletions
diff --git a/src/ui/dialog/styledialog.h b/src/ui/dialog/styledialog.h
index af3014f88..b03a1d2e1 100644
--- a/src/ui/dialog/styledialog.h
+++ b/src/ui/dialog/styledialog.h
@@ -30,7 +30,10 @@ namespace Dialog {
/**
* @brief The StyleDialog class
- * A list of CSS selectors will show up in this dialog.
+ * A list of CSS selectors will show up in this dialog. This dialog allows to
+ * add and delete selectors. Objects can be added to and removed from the selectors
+ * in the dialog. Besides, selection of any selector row selects the matching
+ * objects in the drawing and vice-versa.
*/
typedef std::pair<std::pair<std::string, std::vector<SPObject *> >, std::string>
_selectorVecType;
@@ -42,11 +45,11 @@ public:
~StyleDialog();
static StyleDialog &getInstance() { return *new StyleDialog(); }
- void setDesktop( SPDesktop* desktop);
+ void setDesktop(SPDesktop* desktop);
private:
- void _styleButton( Gtk::Button& btn, char const* iconName, char const* tooltip);
- std::string _setClassAttribute(std::vector<SPObject*>);
+ void _styleButton(Gtk::Button& btn, char const* iconName, char const* tooltip);
+ std::string _setClassAttribute(std::vector<SPObject *>);
class InkSelector {
public: