|
SDL Window Engine
20200905
|
event класс кнопки мыши (с состояниями press, release) Подробнее...
#include <swe_events.h>
Открытые члены | |
| ButtonsEvent (ButtonType type=ButtonNone) | |
| ButtonsEvent (ButtonType type, const Point &pos1, const Point &pos2) | |
| bool | isClick (const Rect &rt) const |
| void | setPress (const Point &pos) |
| void | setRelease (const Point &pos) |
| const ButtonEvent & | press (void) const |
| const ButtonEvent & | release (void) const |
| bool | isButtonLeft (void) const |
| bool | isButtonRight (void) const |
| bool | isButtonMiddle (void) const |
| bool | isButtonX1 (void) const |
| bool | isButtonX2 (void) const |
Защищенные данные | |
| ButtonEvent | coord1 |
| ButtonEvent | coord2 |
event класс кнопки мыши (с состояниями press, release)
1.8.14