Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #ifndef GUI_MAXNAVIGATIONSTYLE_H
- #define GUI_MAXNAVIGATIONSTYLE_H
- #include "Navigation/NavigationStyle.h"
- namespace Gui {
- class MaxNavigationStyle : public UserNavigationStyle {
- TYPESYSTEM_HEADER();
- public:
- MaxNavigationStyle();
- virtual ~MaxNavigationStyle();
- // This makes it show up in your UI dropdown automatically
- virtual std::string userFriendlyName() const override;
- // Standard Inventor event overrides
- // This displays the hint in the status bar
- virtual const char* mouseButtons(ViewerMode mode) override;
- // This is where all the logic for your mouse clicks goes
- virtual SbBool processSoEvent(const SoEvent* const ev) override;
- };
- } // namespace Gui
- #endif // GUI_MAXNAVIGATIONSTYLE_H
Advertisement
Add Comment
Please, Sign In to add comment