ToolBar.h 655 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. /*
  2. GWEN
  3. Copyright (c) 2011 Facepunch Studios
  4. See license in Gwen.h
  5. */
  6. #pragma once
  7. #ifndef GWEN_CONTROLS_TOOLBAR_H
  8. #define GWEN_CONTROLS_TOOLBAR_H
  9. #include "Gwen/BaseRender.h"
  10. #include "Gwen/Controls/Base.h"
  11. #include "Gwen/Skin.h"
  12. namespace Gwen
  13. {
  14. namespace Controls
  15. {
  16. /*
  17. TODO!
  18. */
  19. class ToolBarStrip : public Base
  20. {
  21. GWEN_CONTROL_INLINE( ToolBarStrip, Base )
  22. {
  23. SetPadding( Padding( 2, 2, 2, 2 ) );
  24. }
  25. virtual void Render( Skin::Base* skin )
  26. {
  27. skin->DrawMenuStrip( this );
  28. }
  29. virtual void RenderUnder( Skin::Base* skin )
  30. {
  31. }
  32. virtual void Layout( Skin::Base* skin )
  33. {
  34. }
  35. };
  36. }
  37. }
  38. #endif