Stardew Engine
Loading...
Searching...
No Matches
CWidgetMouseCallback Struct Reference

this isn't some "hungarian notation" shit - the name refers to widget callbacks defined as C functions! More...

#include <Widget.h>

Collaboration diagram for CWidgetMouseCallback:

Data Fields

enum WidgetCallbackTypes type
 
union { 
 
   WidgetMousePosCallbackFn   mousePosFn 
 
   WidgetMouseBtnCallbackFn   mouseBtnFn 
 
   WidgetFocusChangeCallbackFn   focusChangeFn 
 
   u64   bActive 
 A random value we can check is zero to determine if the callback is set. More...
 
callback 
 

Detailed Description

this isn't some "hungarian notation" shit - the name refers to widget callbacks defined as C functions!

Field Documentation

◆ bActive

u64 CWidgetMouseCallback::bActive

A random value we can check is zero to determine if the callback is set.

◆ [union]

union { ... } CWidgetMouseCallback::callback

◆ focusChangeFn

WidgetFocusChangeCallbackFn CWidgetMouseCallback::focusChangeFn

◆ mouseBtnFn

WidgetMouseBtnCallbackFn CWidgetMouseCallback::mouseBtnFn

◆ mousePosFn

WidgetMousePosCallbackFn CWidgetMouseCallback::mousePosFn

◆ type

enum WidgetCallbackTypes CWidgetMouseCallback::type

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