GStyle.h 274 B

12345678910111213141516
  1. #pragma once
  2. class Painter;
  3. class Rect;
  4. enum class GButtonStyle { Normal, CoolBar };
  5. class GStyle {
  6. public:
  7. static GStyle& the();
  8. void paint_button(Painter& painter, const Rect& rect, GButtonStyle, bool pressed, bool hovered = false);
  9. private:
  10. GStyle();
  11. };