OpenEnroth 73e68f7
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
Io::Mouse Class Reference

#include <Mouse.h>

Public Member Functions

 Mouse ()
 
void GetClickPos (int *pX, int *pY)
 
void RemoveHoldingItem ()
 
void SetCursorBitmapFromItemID (ItemId uItemID)
 
void SetCurrentCursorBitmap ()
 
void SetCursorImage (std::string_view name)
 
void _469AE4 ()
 
void ClearCursor ()
 
void AllocCursorSystemMem ()
 
void * DoAllocCursorMem ()
 
Pointi GetCursorPos ()
 
void Initialize ()
 
void SetActive (bool active)
 
void Deactivate ()
 
void DrawCursor ()
 
void Activate ()
 
void ClearPickedItem ()
 
void DrawCursorToTarget ()
 
void DrawPickedItem ()
 
void ChangeActivation (int a1)
 
void SetMouseClick (int x, int y)
 
void UI_OnMouseLeftClick ()
 

Public Attributes

Pid uPointingObjectID
 
int bActive = 0
 
int field_8 = 0
 
int field_C = 0
 
int bInitialized = 0
 
int field_18 = 0
 
int field_1C = 0
 
int field_20 = 0
 
GraphicsImagecursor_img = nullptr
 
uint16_t * pCursorBitmap_sysmem = nullptr
 
int field_34 = 0
 
uint8_t * pCursorBitmap2_sysmem = nullptr
 
GraphicsImagepPickedItem = nullptr
 
int uCursorWithItemX = 0
 
int uCursorWithItemY = 0
 
int field_50 = 0
 
int field_54 = 0
 
int uCursorBitmapPitch = 0
 
int field_5C [13] {}
 
void * ptr_90 = nullptr
 
int field_94 = 0
 
int field_98 = 0
 
int field_9C = 0
 
int field_A0 = 0
 
int field_A4 = 0
 
int field_A8 = 0
 
int field_AC = 0
 
int field_B0 = 0
 
int field_B4 = 0
 
int field_B8 = 0
 
int field_BC = 0
 
int field_C0 = 0
 
Pointi pCursorBitmapPos {}
 
int uCursorBitmapWidth = 0
 
int uCursorBitmapHeight = 0
 
int field_D4 = 0
 
int field_D8 = 0
 
int field_DC = 0
 
int field_E0 = 0
 
int pCursorBitmapRect_x = 0
 
int pCursorBitmapRect_y = 0
 
int pCursorBitmapRect_w = 0
 
int pCursorBitmapRect_z = 0
 
char field_F4 = 0
 
std::string cursor_name
 
int field_100 = 0
 
int field_104 = 0
 
int uMouseX = 0
 
int uMouseY = 0
 

Constructor & Destructor Documentation

◆ Mouse()

Io::Mouse::Mouse ( )
inline

Member Function Documentation

◆ _469AE4()

void Io::Mouse::_469AE4 ( )

◆ Activate()

void Io::Mouse::Activate ( )

◆ AllocCursorSystemMem()

void Io::Mouse::AllocCursorSystemMem ( )

◆ ChangeActivation()

void Io::Mouse::ChangeActivation ( int  a1)

◆ ClearCursor()

void Io::Mouse::ClearCursor ( )

◆ ClearPickedItem()

void Io::Mouse::ClearPickedItem ( )

◆ Deactivate()

void Io::Mouse::Deactivate ( )

◆ DoAllocCursorMem()

void * Io::Mouse::DoAllocCursorMem ( )

◆ DrawCursor()

void Io::Mouse::DrawCursor ( )

◆ DrawCursorToTarget()

void Io::Mouse::DrawCursorToTarget ( )

◆ DrawPickedItem()

void Io::Mouse::DrawPickedItem ( )

◆ GetClickPos()

void Io::Mouse::GetClickPos ( int *  pX,
int *  pY 
)

◆ GetCursorPos()

Pointi Io::Mouse::GetCursorPos ( )

◆ Initialize()

void Io::Mouse::Initialize ( )

◆ RemoveHoldingItem()

void Io::Mouse::RemoveHoldingItem ( )

◆ SetActive()

void Io::Mouse::SetActive ( bool  active)

◆ SetCurrentCursorBitmap()

void Io::Mouse::SetCurrentCursorBitmap ( )

◆ SetCursorBitmapFromItemID()

void Io::Mouse::SetCursorBitmapFromItemID ( ItemId  uItemID)

◆ SetCursorImage()

void Io::Mouse::SetCursorImage ( std::string_view  name)

◆ SetMouseClick()

void Io::Mouse::SetMouseClick ( int  x,
int  y 
)

◆ UI_OnMouseLeftClick()

void Io::Mouse::UI_OnMouseLeftClick ( )

Member Data Documentation

◆ bActive

int Io::Mouse::bActive = 0

◆ bInitialized

int Io::Mouse::bInitialized = 0

◆ cursor_img

GraphicsImage* Io::Mouse::cursor_img = nullptr

◆ cursor_name

std::string Io::Mouse::cursor_name

◆ field_100

int Io::Mouse::field_100 = 0

◆ field_104

int Io::Mouse::field_104 = 0

◆ field_18

int Io::Mouse::field_18 = 0

◆ field_1C

int Io::Mouse::field_1C = 0

◆ field_20

int Io::Mouse::field_20 = 0

◆ field_34

int Io::Mouse::field_34 = 0

◆ field_50

int Io::Mouse::field_50 = 0

◆ field_54

int Io::Mouse::field_54 = 0

◆ field_5C

int Io::Mouse::field_5C[13] {}

◆ field_8

int Io::Mouse::field_8 = 0

◆ field_94

int Io::Mouse::field_94 = 0

◆ field_98

int Io::Mouse::field_98 = 0

◆ field_9C

int Io::Mouse::field_9C = 0

◆ field_A0

int Io::Mouse::field_A0 = 0

◆ field_A4

int Io::Mouse::field_A4 = 0

◆ field_A8

int Io::Mouse::field_A8 = 0

◆ field_AC

int Io::Mouse::field_AC = 0

◆ field_B0

int Io::Mouse::field_B0 = 0

◆ field_B4

int Io::Mouse::field_B4 = 0

◆ field_B8

int Io::Mouse::field_B8 = 0

◆ field_BC

int Io::Mouse::field_BC = 0

◆ field_C

int Io::Mouse::field_C = 0

◆ field_C0

int Io::Mouse::field_C0 = 0

◆ field_D4

int Io::Mouse::field_D4 = 0

◆ field_D8

int Io::Mouse::field_D8 = 0

◆ field_DC

int Io::Mouse::field_DC = 0

◆ field_E0

int Io::Mouse::field_E0 = 0

◆ field_F4

char Io::Mouse::field_F4 = 0

◆ pCursorBitmap2_sysmem

uint8_t* Io::Mouse::pCursorBitmap2_sysmem = nullptr

◆ pCursorBitmap_sysmem

uint16_t* Io::Mouse::pCursorBitmap_sysmem = nullptr

◆ pCursorBitmapPos

Pointi Io::Mouse::pCursorBitmapPos {}

◆ pCursorBitmapRect_w

int Io::Mouse::pCursorBitmapRect_w = 0

◆ pCursorBitmapRect_x

int Io::Mouse::pCursorBitmapRect_x = 0

◆ pCursorBitmapRect_y

int Io::Mouse::pCursorBitmapRect_y = 0

◆ pCursorBitmapRect_z

int Io::Mouse::pCursorBitmapRect_z = 0

◆ pPickedItem

GraphicsImage* Io::Mouse::pPickedItem = nullptr

◆ ptr_90

void* Io::Mouse::ptr_90 = nullptr

◆ uCursorBitmapHeight

int Io::Mouse::uCursorBitmapHeight = 0

◆ uCursorBitmapPitch

int Io::Mouse::uCursorBitmapPitch = 0

◆ uCursorBitmapWidth

int Io::Mouse::uCursorBitmapWidth = 0

◆ uCursorWithItemX

int Io::Mouse::uCursorWithItemX = 0

◆ uCursorWithItemY

int Io::Mouse::uCursorWithItemY = 0

◆ uMouseX

int Io::Mouse::uMouseX = 0

◆ uMouseY

int Io::Mouse::uMouseY = 0

◆ uPointingObjectID

Pid Io::Mouse::uPointingObjectID

The documentation for this class was generated from the following files: