XenevaOS
Loading...
Searching...
No Matches
Public Attributes | List of all members
_ChWidget_ Struct Reference

#include <window.h>

Public Attributes

int x
 
int y
 
int w
 
int h
 
int lastMouseX
 
int lastMouseY
 
bool clicked
 
bool hover
 
bool hoverPainted
 
bool KillFocus
 
bool visible
 
bool touched
 
uint8_t type
 
void(* ChActionHandler )(struct _ChWidget_ *widget, ChWindow *win)
 
void(* ChMouseEvent )(struct _ChWidget_ *widget, ChWindow *win, int x, int y, int button)
 
void(* ChTouchEvent )(struct _ChWidget_ *widget, ChWindow *win, int x, int y)
 
void(* ChScrollEvent )(struct _ChWidget_ *widget, ChWindow *win, int scrollval, uint8_t scrolltype)
 
void(* ChPaintHandler )(struct _ChWidget_ *widget, ChWindow *win)
 
void(* ChDestroy )(struct _ChWidget_ *widget, ChWindow *win)
 

Member Data Documentation

◆ ChActionHandler

void(* _ChWidget_::ChActionHandler) (struct _ChWidget_ *widget, ChWindow *win)

◆ ChDestroy

void(* _ChWidget_::ChDestroy) (struct _ChWidget_ *widget, ChWindow *win)

◆ ChMouseEvent

void(* _ChWidget_::ChMouseEvent) (struct _ChWidget_ *widget, ChWindow *win, int x, int y, int button)

◆ ChPaintHandler

void(* _ChWidget_::ChPaintHandler) (struct _ChWidget_ *widget, ChWindow *win)

◆ ChScrollEvent

void(* _ChWidget_::ChScrollEvent) (struct _ChWidget_ *widget, ChWindow *win, int scrollval, uint8_t scrolltype)

◆ ChTouchEvent

void(* _ChWidget_::ChTouchEvent) (struct _ChWidget_ *widget, ChWindow *win, int x, int y)

◆ clicked

bool _ChWidget_::clicked

◆ h

int _ChWidget_::h

◆ hover

bool _ChWidget_::hover

◆ hoverPainted

bool _ChWidget_::hoverPainted

◆ KillFocus

bool _ChWidget_::KillFocus

◆ lastMouseX

int _ChWidget_::lastMouseX

◆ lastMouseY

int _ChWidget_::lastMouseY

◆ touched

bool _ChWidget_::touched

◆ type

uint8_t _ChWidget_::type

◆ visible

bool _ChWidget_::visible

◆ w

int _ChWidget_::w

◆ x

int _ChWidget_::x

◆ y

int _ChWidget_::y

The documentation for this struct was generated from the following file: