~ubuntu-branches/ubuntu/oneiric/toonloop/oneiric

« back to all changes in this revision

Viewing changes to src/gui.h

  • Committer: Bazaar Package Importer
  • Author(s): Jonas Smedegaard
  • Date: 2011-01-11 05:43:31 UTC
  • mto: (2.1.1 sid)
  • mto: This revision was merged to the branch mainline in revision 4.
  • Revision ID: james.westby@ubuntu.com-20110111054331-jwjz55rwbaraweao
Tags: upstream-2.0.4
ImportĀ upstreamĀ versionĀ 2.0.4

Show diffs side-by-side

added added

removed removed

Lines of Context:
34
34
// TODO:2010-10-05:aalex:Should we put that in a namespace or in the Gui class?
35
35
const unsigned int NUM_LAYOUTS = 4;
36
36
 
 
37
 
37
38
/** This graphical user interface uses GTK and Clutter-GST.
38
39
 */
39
40
class Gui
72
73
        void hideCursor();
73
74
        void showCursor();
74
75
        void update_info_text();
 
76
        void toggle_info();
 
77
        void toggle_help();
75
78
        
76
79
        float video_input_width_;
77
80
        float video_input_height_;
84
87
        std::vector< ClutterActor* > playback_textures_;
85
88
        std::vector< ClutterActor* > onionskin_textures_;
86
89
        ClutterActor *info_text_actor_;
 
90
        ClutterActor *help_text_actor_;
87
91
        ClutterTimeline *timeline_;
88
92
        GtkWidget *window_;
89
93
        GtkWidget *clutter_widget_;
93
97
        int overlay_opacity_;
94
98
        int onionskin_opacity_;
95
99
        bool onionskin_enabled_;
96
 
        bool enable_hud_;
 
100
        bool enable_info_;
 
101
        bool enable_help_;
97
102
        // TODO: rename to fade_duration_ratio
98
103
        float fade_duration_ratio_; // RENAME!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
99
104
        static const int WINWIDTH = 640;