Guest User

Untitled

a guest
Aug 12th, 2026
43
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.76 KB | None | 0 0
  1. #ifndef GUI_MAXNAVIGATIONSTYLE_H
  2. #define GUI_MAXNAVIGATIONSTYLE_H
  3.  
  4. #include "Navigation/NavigationStyle.h"
  5.  
  6. namespace Gui {
  7.  
  8. class MaxNavigationStyle : public UserNavigationStyle {
  9. TYPESYSTEM_HEADER();
  10.  
  11. public:
  12. MaxNavigationStyle();
  13. virtual ~MaxNavigationStyle();
  14.  
  15. // This makes it show up in your UI dropdown automatically
  16. virtual std::string userFriendlyName() const override;
  17.  
  18. // Standard Inventor event overrides
  19. // This displays the hint in the status bar
  20. virtual const char* mouseButtons(ViewerMode mode) override;
  21.  
  22. // This is where all the logic for your mouse clicks goes
  23. virtual SbBool processSoEvent(const SoEvent* const ev) override;
  24. };
  25.  
  26. } // namespace Gui
  27.  
  28. #endif // GUI_MAXNAVIGATIONSTYLE_H
Advertisement
Add Comment
Please, Sign In to add comment