GlistEngine
Loading...
Searching...
No Matches
gGUIToolbarButton.h
Go to the documentation of this file.
1/*
2 * gGUIToolbarButton.h
3 *
4 * Created on: Sep 25, 2021
5 * Author: noyan
6 */
7
8#ifndef UI_GGUITOOLBARBUTTON_H_
9#define UI_GGUITOOLBARBUTTON_H_
10
11#include "gGUIButton.h"
12
13
15public:
18
19 void set(gBaseApp* root, gBaseGUIObject* topParentGUIObject, gBaseGUIObject* parentGUIObject, int parentSlotLineNo, int parentSlotColumnNo, int x, int y, int w, int h);
20
21 void setImage(int iconId);
22
23 void draw();
24
25// void mousePressed(int x, int y, int button);
26// void mouseReleased(int x, int y, int button);
27
28private:
29 int iconid;
30 int iw, ih, ix, iy;
31};
32
33#endif /* UI_GGUITOOLBARBUTTON_H_ */
Definition gBaseApp.h:16
Definition gBaseGUIObject.h:18
gBaseApp * root
Definition gBaseGUIObject.h:147
Definition gGUIButton.h:14
Definition gGUIToolbarButton.h:14
void setImage(int iconId)
virtual ~gGUIToolbarButton()
void set(gBaseApp *root, gBaseGUIObject *topParentGUIObject, gBaseGUIObject *parentGUIObject, int parentSlotLineNo, int parentSlotColumnNo, int x, int y, int w, int h)