mirror of
https://github.com/ondra-novak/gates_of_skeldal.git
synced 2025-07-14 02:11:58 -04:00
doubleclicks, old savegame ui
This commit is contained in:
parent
fed5a04323
commit
1e7bbcb245
12 changed files with 334 additions and 155 deletions
10
libs/mouse.h
10
libs/mouse.h
|
@ -6,6 +6,16 @@ extern "C" {
|
|||
|
||||
#ifndef __SKELDAL__MOUSE__
|
||||
#define __SKELDAL__MOUSE__
|
||||
|
||||
#define MS_EVENT_MOUSE_MOVE 1
|
||||
#define MS_EVENT_MOUSE_LPRESS 2
|
||||
#define MS_EVENT_MOUSE_LRELEASE 4
|
||||
#define MS_EVENT_MOUSE_RPRESS 8
|
||||
#define MS_EVENT_MOUSE_RRELEASE 16
|
||||
#define MS_EVENT_MOUSE_MPRESS 32
|
||||
#define MS_EVENT_MOUSE_MRELEASE 64
|
||||
#define MS_EVENT_MOUSE_LDBLCLK 128
|
||||
|
||||
typedef struct ms_event
|
||||
{
|
||||
char event;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue