- #include "main.h"
- class cButton
- {
- private:
- cButton();
- int x;
- int y;
- int w;
- int h;
- char *caption;
- int red;
- int green;
- int blue;
- int alpha;
- vgui::HFont hFont;
- public:
- void Init(int x, int y, int w, int h, char *caption, int r, int g, int b, int alpha);
- void Draw(bool clicked);
- bool bClicked();
- };
- class cCheckbox
- {
- private:
- int x;
- int y;
- char *caption;
- bool checked;
- vgui::HFont hFont;
- cCheckbox();
- public:
- void Init(int x, int y, char *caption, bool checked);
- bool bClicked();
- void Draw();
- };
- class cLabel
- {
- private:
- int x;
- int y;
- char *caption;
- vgui::HFont hFont;
- cLabel();
- public:
- void Init(int x, int y, char *caption);
- void Draw();
- };
- class cMenu
- {
- private:
- cMenu();
- int x;
- int y;
- int w;
- int h;
- int a;
- int r;
- int g;
- int b;
- char *caption;
- vgui::HFont hFont;
- public:
- void Draw();
- void Init(int x, int y, int w, int h, int r, int g, int b, int a, char *caption, char *fontname);
- void SetAlpha(int a);
- void SetColor(int r, int g, int b, int a);
- };
lalala
By: cMouseMenu.h | Date: Oct 25 2009 12:42 | Format: None | Expires: never | Size: 1.06 KB | Hits: 906
Latest pastes
1 days ago
2 days ago
4 days ago
6 days ago
6 days ago