OpenClonk
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros
C4MouseControl.h File Reference
#include "graphics/C4Facet.h"
#include "lib/C4Rect.h"
#include "object/C4ObjectList.h"
Include dependency graph for C4MouseControl.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  C4MouseControl
 

Variables

const int32_t C4MC_Button_None = 0
 
const int32_t C4MC_Button_LeftDown = 1
 
const int32_t C4MC_Button_LeftUp = 2
 
const int32_t C4MC_Button_RightDown = 3
 
const int32_t C4MC_Button_RightUp = 4
 
const int32_t C4MC_Button_LeftDouble = 5
 
const int32_t C4MC_Button_RightDouble = 6
 
const int32_t C4MC_Button_Wheel = 7
 
const int32_t C4MC_Button_MiddleDown = 8
 
const int32_t C4MC_Button_MiddleUp = 9
 
const int32_t C4MC_Button_MiddleDouble = 10
 
const int32_t C4MC_Button_X1Down = 11
 
const int32_t C4MC_Button_X1Up = 12
 
const int32_t C4MC_Button_X1Double = 13
 
const int32_t C4MC_Button_X2Down = 14
 
const int32_t C4MC_Button_X2Up = 15
 
const int32_t C4MC_Button_X2Double = 16
 
const int32_t C4MC_DragSensitivity = 5
 
const int32_t C4MC_MD_DragSource = 1
 
const int32_t C4MC_MD_DropTarget = 2
 
const int32_t C4MC_MD_NoClick = 4
 
const int32_t C4MC_Cursor_Select = 0
 
const int32_t C4MC_Cursor_Crosshair = 1
 
const int32_t C4MC_Cursor_DragDrop = 2
 
const int32_t C4MC_Cursor_Up = 3
 
const int32_t C4MC_Cursor_Down = 4
 
const int32_t C4MC_Cursor_Left = 5
 
const int32_t C4MC_Cursor_Right = 6
 
const int32_t C4MC_Cursor_UpLeft = 7
 
const int32_t C4MC_Cursor_UpRight = 8
 
const int32_t C4MC_Cursor_DownLeft = 9
 
const int32_t C4MC_Cursor_DownRight = 10
 
const int32_t C4MC_Cursor_Passive = 11
 
const int32_t C4MC_Cursor_DropInto = 12
 
C4MouseControl MouseControl
 

Variable Documentation

const int32_t C4MC_Button_MiddleDouble = 10

Definition at line 38 of file C4MouseControl.h.

Referenced by C4PlayerControl::DoMouseInput().

const int32_t C4MC_Button_MiddleDown = 8

Definition at line 36 of file C4MouseControl.h.

Referenced by C4PlayerControl::DoMouseInput(), and C4GUI::Edit::MouseInput().

const int32_t C4MC_Button_MiddleUp = 9

Definition at line 37 of file C4MouseControl.h.

Referenced by C4PlayerControl::DoMouseInput().

const int32_t C4MC_Button_RightDouble = 6
const int32_t C4MC_Button_X1Double = 13

Definition at line 41 of file C4MouseControl.h.

Referenced by C4PlayerControl::DoMouseInput().

const int32_t C4MC_Button_X1Down = 11

Definition at line 39 of file C4MouseControl.h.

Referenced by C4PlayerControl::DoMouseInput().

const int32_t C4MC_Button_X1Up = 12

Definition at line 40 of file C4MouseControl.h.

Referenced by C4PlayerControl::DoMouseInput().

const int32_t C4MC_Button_X2Double = 16

Definition at line 44 of file C4MouseControl.h.

Referenced by C4PlayerControl::DoMouseInput().

const int32_t C4MC_Button_X2Down = 14

Definition at line 42 of file C4MouseControl.h.

Referenced by C4PlayerControl::DoMouseInput().

const int32_t C4MC_Button_X2Up = 15

Definition at line 43 of file C4MouseControl.h.

Referenced by C4PlayerControl::DoMouseInput().

const int32_t C4MC_Cursor_Crosshair = 1

Definition at line 53 of file C4MouseControl.h.

Referenced by C4MouseControl::UpdateCursorTarget().

const int32_t C4MC_Cursor_Down = 4

Definition at line 56 of file C4MouseControl.h.

Referenced by C4MouseControl::Draw(), and C4MouseControl::UpdateScrolling().

const int32_t C4MC_Cursor_DownLeft = 9

Definition at line 61 of file C4MouseControl.h.

Referenced by C4MouseControl::Draw(), and C4MouseControl::UpdateScrolling().

const int32_t C4MC_Cursor_DownRight = 10

Definition at line 62 of file C4MouseControl.h.

Referenced by C4MouseControl::Draw(), and C4MouseControl::UpdateScrolling().

const int32_t C4MC_Cursor_DragDrop = 2

Definition at line 54 of file C4MouseControl.h.

Referenced by C4MouseControl::DragScript().

const int32_t C4MC_Cursor_DropInto = 12

Definition at line 64 of file C4MouseControl.h.

Referenced by C4EditCursor::Draw().

const int32_t C4MC_Cursor_Left = 5

Definition at line 57 of file C4MouseControl.h.

Referenced by C4MouseControl::Draw(), and C4MouseControl::UpdateScrolling().

const int32_t C4MC_Cursor_Passive = 11
const int32_t C4MC_Cursor_Right = 6

Definition at line 58 of file C4MouseControl.h.

Referenced by C4MouseControl::Draw(), and C4MouseControl::UpdateScrolling().

const int32_t C4MC_Cursor_Up = 3

Definition at line 55 of file C4MouseControl.h.

Referenced by C4MouseControl::Draw(), and C4MouseControl::UpdateScrolling().

const int32_t C4MC_Cursor_UpLeft = 7

Definition at line 59 of file C4MouseControl.h.

Referenced by C4MouseControl::Draw(), and C4MouseControl::UpdateScrolling().

const int32_t C4MC_Cursor_UpRight = 8

Definition at line 60 of file C4MouseControl.h.

Referenced by C4MouseControl::Draw(), and C4MouseControl::UpdateScrolling().

const int32_t C4MC_DragSensitivity = 5

Definition at line 46 of file C4MouseControl.h.

Referenced by C4MouseControl::DragNone().

const int32_t C4MC_MD_DragSource = 1

Definition at line 48 of file C4MouseControl.h.

Referenced by C4MouseControl::DragNone().

const int32_t C4MC_MD_DropTarget = 2
const int32_t C4MC_MD_NoClick = 4

Definition at line 50 of file C4MouseControl.h.

Referenced by C4MouseControl::UpdateCursorTarget().