Mercurial > mm7
view NewUI/UIControl.h @ 1833:724af9295e53
m
author | Ritor1 |
---|---|
date | Tue, 08 Oct 2013 15:27:43 +0600 |
parents | 633f81bb3ae7 |
children |
line wrap: on
line source
#pragma once class UIControl { public: virtual void Show() = 0; virtual bool Focused() = 0; // Events virtual bool OnKey(int key) = 0; virtual bool OnMouseLeftClick(int x, int y) = 0; virtual bool OnMouseRightClick(int x, int y) = 0; virtual bool OnMouseEnter() = 0; virtual bool OnMouseLeave() = 0; };