From a8a8dfb90d6a51ae369c042c95162f45754c7c4b Mon Sep 17 00:00:00 2001 From: randomguy3 Date: Mon, 9 Jan 2012 11:00:50 +0000 Subject: Move tikzit into "trunk" directory git-svn-id: https://tikzit.svn.sourceforge.net/svnroot/tikzit/trunk@365 7c02a99a-9b00-45e3-bf44-6f3dd7fddb64 --- tikzit/DESIGN-GTK | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 tikzit/DESIGN-GTK (limited to 'tikzit/DESIGN-GTK') 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. + -- cgit v1.2.3