CRM64Pro GDK v0.15.0
A free cross-platform game development kit built on top of SDL 3.0
Loading...
Searching...
No Matches
CRM64Pro::Panel

Panel Object class. More...

Detailed Description

Panel Object class.

Public Member Functions

bool info (Sint32 iMode=0) override
 Request Panel information.
const string & getName () const override
 Get the name.
Uint32 getID () const override
 Get the ID.
WidgetbaseWidget ()
 Get the reference to base Widget for this object.
Sint32 attachTo (Sint32 idScreen)
 Attach this panel to a screen.
Sint32 getScreen () const
 Return the screen id where this panel is attached to.
Sint32 createWidget (const string &sName, eWidgetType eWT, Sint32 iWID)
 Create a widget.
WidgetgetWidget (Sint32 iWID)
 Get a pointer to a Widget using its handler.
Sint32 closeWidget (Sint32 iWID)
 Close and destroy a Widget.
Sint32 type (ePanelType ePT=PT_RETRIEVE, Sint32 iTime=0)
 Set or get panel type.
Sint32 save (const string &sCDCFile)
 Save the panel and all its widgets to a CDC file.
Sint32 save (const Sint32 idCDC)
 Save the panel and all its widgets to a CDC file.