Path: blob/main/RSDKv4/NativeObjects/DialogPanel.hpp
817 views
#ifndef NATIVE_DIALOGPANEL_H1#define NATIVE_DIALOGPANEL_H23enum DialogPanelTypes {4DLGTYPE_OK = 1,5DLGTYPE_YESNO = 2,6};78enum DialogPanelSelections {9DLG_YES = 1,10DLG_NO,11DLG_OK,12};1314enum DialogPanelStates {15DIALOGPANEL_STATE_SETUP,16DIALOGPANEL_STATE_ENTER,17DIALOGPANEL_STATE_MAIN,18DIALOGPANEL_STATE_ACTION,19DIALOGPANEL_STATE_EXIT,20DIALOGPANEL_STATE_IDLE21};2223struct NativeEntity_DialogPanel : NativeEntityBase {24DialogPanelStates state;25int buttonCount;26float stateTimer;27int unused;28float buttonScale;29MeshInfo *panelMesh;30MatrixF buttonMatrix;31MatrixF buttonMult;32NativeEntity_PushButton *buttons[2];33int buttonSelected;34int selection;35ushort text[128];36float textX;37float textY;38float scale;39};4041void DialogPanel_Create(void *objPtr);42void DialogPanel_Main(void *objPtr);4344#endif // !NATIVE_DIALOGPANEL_H454647