~brady.brenot/stellarium/android-port

« back to all changes in this revision

Viewing changes to src/core/StelGuiBase.hpp

  • Committer: Brady Brenot
  • Date: 2013-01-02 05:18:25 UTC
  • Revision ID: brady@brenot.ca-20130102051825-83wdeltn4eo1s8su
- adding initial Sky/View/Plugins 'button drawers'. They work, but:
-- there's only one function in Sky and View (toggle nebulas), and none in plugins
-- it doesn't match the mockup even a little; these drawers are currently just menus like the main popup menu
- switch Clickable over to taking QAction*s directly
- switch PopupMenu's model over to using QAction*s directly, but with the option to use an action name string (because QML won't let you use scripts in the property value of a model element, so using getGuiAction() in there is disallowed)
- add a C++ model to correspond to the QML model for the PopupMenu
- disable initial fullscreen on Android. This hides the status bar, and the window resizing appears to cause some position issues

Show diffs side-by-side

added added

removed removed

Lines of Context:
58
58
        virtual bool getVisible() const =0;
59
59
        //! Show wether the Gui is currently used.
60
60
        //! This can then be used to optimize the rendering to increase reactivity.
61
 
        virtual bool isCurrentlyUsed() const =0;
 
61
    virtual bool isCurrentlyUsed() const =0;
62
62
 
63
63
 
64
64
protected: