diff options
author | randomguy3 <randomguy3@7c02a99a-9b00-45e3-bf44-6f3dd7fddb64> | 2012-01-09 11:00:50 +0000 |
---|---|---|
committer | randomguy3 <randomguy3@7c02a99a-9b00-45e3-bf44-6f3dd7fddb64> | 2012-01-09 11:00:50 +0000 |
commit | a8a8dfb90d6a51ae369c042c95162f45754c7c4b (patch) | |
tree | 0e7a5f82febebe7129ebfb015f05b114064c39fd /tikzit/DESIGN-GTK | |
parent | e1cf0babff63e670e0d550b4072c22649a117fa7 (diff) |
Move tikzit into "trunk" directory
git-svn-id: https://tikzit.svn.sourceforge.net/svnroot/tikzit/trunk@365 7c02a99a-9b00-45e3-bf44-6f3dd7fddb64
Diffstat (limited to 'tikzit/DESIGN-GTK')
-rw-r--r-- | tikzit/DESIGN-GTK | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/tikzit/DESIGN-GTK b/tikzit/DESIGN-GTK new file mode 100644 index 0000000..7952a34 --- /dev/null +++ b/tikzit/DESIGN-GTK @@ -0,0 +1,23 @@ +Some documentation on how the GTK+ port is designed. + +State classes: + +StyleManager keeps track of what user-defined styles the application +knows about, and which one is currently "active". The active style +is used when creating new nodes. + +Preambles keeps track of the preambles used for previews. + + +GUI classes: + +MainWindow is the core class that manages the application as a whole. +It manages the main GtkWindow and is generally responsible for loading +the various UI elements. It also keeps track of the main application +configuration file, the user-defined styles (via StyleManager) and the +custom preambles (via Preambles). + +The Menu class manages the menu and toolbar for MainWindow. It uses +GtkUiManager to load these from an XML description, and deals with the +GTK+ callbacks for the various actions. + |