diff options
author | Alex Merry <dev@randomguy3.me.uk> | 2013-04-09 19:48:02 +0100 |
---|---|---|
committer | Alex Merry <dev@randomguy3.me.uk> | 2013-05-07 09:36:54 +0100 |
commit | eb55df536af97d65365f920f7e35e6534a24056c (patch) | |
tree | a1791f0c2f9b37f58224726d7309613223c1e6fb /tikzit/src/gtk/Window.h | |
parent | a707ec228ff39d0df26d78f715561952d2f8c0b9 (diff) |
GTK+: One preview window per main window
Each document window has its own preview window, allowing multiple ones
to be open at once.
Diffstat (limited to 'tikzit/src/gtk/Window.h')
-rw-r--r-- | tikzit/src/gtk/Window.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tikzit/src/gtk/Window.h b/tikzit/src/gtk/Window.h index 62af643..a3ce8a4 100644 --- a/tikzit/src/gtk/Window.h +++ b/tikzit/src/gtk/Window.h @@ -48,6 +48,8 @@ Menu *menu; GraphEditorPanel *graphPanel; + PreviewWindow *previewWindow; + // state variables BOOL suppressTikzUpdates; BOOL hasParseError; @@ -166,6 +168,15 @@ - (void) zoomOut; - (void) zoomReset; +/** + * Show or update the preview window. + */ +- (void) presentPreview; +/** + * Show or update the preview window without it grabbing focus + */ +- (void) updatePreview; + @end // vim:ft=objc:ts=8:et:sts=4:sw=4 |