A second modal panel demonstrates how modal focus temporarily blocks interaction with the modeless panel. Widget IDs and semantic events keep the event loop independent from most widget pointers.
Semantic GUI events identify their source by widget ID, so one compact enumeration describes the panel controls.
Create the panel through GUIMgr, validate it, then configure its base widget and title.
The panel owns the returned widgets. Validate the complete set once before configuring it.
Set the font, size, initial text, alignment and focus behavior directly on the text-edit widget.
Give both widgets the same range. The slider accepts input while the progress widget displays the current value.
A modal panel uses the same widget API, but blocks modeless panels while shown. Keep it hidden until requested.
Show the modal panel and move panel focus to it when its button event arrives.
Use the slider event value to update both tutorial state and the read-only progress widget.
Exit before another state update after quitting. Closing a panel also releases the widgets it owns.
The tutorial source is authoritative. The following listing is included directly from validation/source/Tutorial_12_GUI.cpp.
#include "CRM64Pro.h"
#include "RunParameter.h"
#ifdef CRM64PRO_PLATFORM_WINDOWS
#define OUTPUTDIR "Win64/"
#elif defined(CRM64PRO_PLATFORM_LINUX)
#define OUTPUTDIR "Linux/"
#elif defined(CRM64PRO_PLATFORM_MACOS)
#define OUTPUTDIR "macOS/"
#endif
#define RESOURCE_BG_CDC_NAME "Tutorial_bg"
#define RESOURCE_CURSOR_CDC_NAME "Tutorial_cursor"
#define OUTPUT_CDC OUTPUTDIR"Tutorial.cdc"
static const Sint32 iLogicRate = 20;
static const Sint32 iRenderRate = 0;
static const Sint32 iScreenW = 960;
static const Sint32 iScreenH = 540;
enum eTutorialWidgetID
{
WID_LABEL_INTRO = 1,
WID_LABEL_INPUT,
WID_LABEL_STATUS,
WID_TEXT_INPUT,
WID_BUTTON_APPLY,
WID_BUTTON_MODAL,
WID_CHECK_NOTIFICATIONS,
WID_LABEL_SLIDER,
WID_SLIDER_VALUE,
WID_PROGRESS_VALUE,
WID_LABEL_MODAL,
WID_BUTTON_CONFIRM,
WID_BUTTON_CLOSE
};
struct TutorialState
{
Sint32 idBgImage = -1;
Sint32 idCursor = -1;
Sint32 idBuiltInFont = -1;
Sint32 idTitleFont = -1;
Sint32 idMainPanel = -1;
Sint32 idModalPanel = -1;
Sint32 idDebugWindow = -1;
float fMouseX = 0.0f;
float fMouseY = 0.0f;
Sint32 iCurrentRenderRate = 0;
Sint32 iCurrentLogicRate = 0;
Sint32 iLogicFrames = 0;
Sint32 iWidgetActions = 0;
Sint32 iSliderValue = 50;
Sint32 iNotifications = 0;
};
static void logTaskOk(
Log& mLog)
{
}
static void logTaskFailed(
Log& mLog, Sint32 iCode)
{
mLog.msg(
LL_ERROR,
"FAILED (Code %d)\n", iCode);
}
static void logTaskFailed(
Log& mLog)
{
}
static void updateLogic(TutorialState& rState)
{
rState.iLogicFrames++;
}
static void renderFrame(
Image* pBgImage)
{
if(pBgImage) pBgImage->
render();
}
static Sint32 renderWrapper(Sint32, void* pObj)
{
TutorialState* pState = static_cast<TutorialState*>(pObj);
if(!pState) return 0;
renderFrame(pBgImage);
return 0;
}
{
if(!pDebug) return;
}
static void setStatus(
Panel* pMainPanel,
Console* pConsole,
const string& rStatus)
{
if(pMainPanel)
{
if(pStatus) pStatus->
setText(
"Status: " + rStatus);
}
if(pConsole) pConsole->
print(
"GUI: %s\n", rStatus.c_str());
}
static bool createMainPanel(
Main& mC64,
Log& mLog, TutorialState& rState)
{
mLog.msg(
LL_INFO,
" Create modeless panel ... ");
rState.idMainPanel = mC64.
guiMgr().
create(
"TutorialGUIMain");
if(rState.idMainPanel < 0 || pPanel == nullptr)
{
logTaskFailed(mLog, rState.idMainPanel);
return false;
}
if(!pLabel || !pInputLabel || !pStatus || !pInput || !pApply || !pModal ||
!pNotifications || !pSliderLabel || !pSlider || !pProgress)
{
logTaskFailed(mLog);
return false;
}
pLabel->
setFont(rState.idBuiltInFont);
pLabel->
setText(
"Drag this panel while debug and console remain available.");
pInputLabel->
setFont(rState.idBuiltInFont);
pInput->
setFont(rState.idTitleFont);
pInput->
setText(
"Hello from CRM64Pro GUI");
pApply->
setFont(rState.idTitleFont);
pModal->
setFont(rState.idTitleFont);
pNotifications->
setFont(rState.idTitleFont);
pNotifications->
setText(
"Enable notifications");
pSliderLabel->
setFont(rState.idBuiltInFont);
pSliderLabel->
setText(
"Slider updates progress:");
pProgress->
setValue(rState.iSliderValue);
pStatus->
setFont(rState.idBuiltInFont);
logTaskOk(mLog);
return true;
}
static bool createModalPanel(
Main& mC64,
Log& mLog, TutorialState& rState)
{
mLog.msg(
LL_INFO,
" Create modal panel ... ");
rState.idModalPanel = mC64.
guiMgr().
create(
"TutorialGUIModal");
if(rState.idModalPanel < 0 || pPanel == nullptr)
{
logTaskFailed(mLog, rState.idModalPanel);
return false;
}
if(!pLabel || !pConfirm || !pClose)
{
logTaskFailed(mLog);
return false;
}
pLabel->
setFont(rState.idBuiltInFont);
pLabel->
setText(
"Modal panel blocks other panels.");
pConfirm->
setFont(rState.idTitleFont);
pClose->
setFont(rState.idTitleFont);
logTaskOk(mLog);
return true;
}
int main(int argc, char* argv[])
{
if(!runParameterReadRender(argc, argv, eRenderer)) return 1;
TutorialState state;
mLog.msg(
LL_INFO,
"\nSETUP: screen and timing\n");
mLog.msg(
LL_INFO,
" Initialize timer ... ");
{
logTaskFailed(mLog);
return -1;
}
logTaskOk(mLog);
mLog.msg(
LL_INFO,
" Set frame rates (render=%d, logic=%d) ... ", iRenderRate, iLogicRate);
{
logTaskFailed(mLog);
return -1;
}
logTaskOk(mLog);
pScreen->
setSize(iScreenW, iScreenH);
pScreen->
setTitle(
"CRM64Pro - Tutorial 12: GUI");
mLog.msg(
LL_INFO,
" Create screen (%dx%d) ... ", iScreenW, iScreenH);
{
return -1;
}
logTaskOk(mLog);
mLog.msg(
LL_INFO,
" Set render callback ... ");
if(!pScreen->
setRenderCallback([&state](Sint32 iMode) { return renderWrapper(iMode, &state); }))
{
logTaskFailed(mLog);
return -1;
}
logTaskOk(mLog);
mLog.msg(
LL_INFO,
"\nRESOURCES: background, cursor and font\n");
mLog.msg(
LL_INFO,
" Load background image from CDC ... ");
state.idBgImage = mC64.
imageMgr().
load(OUTPUT_CDC, RESOURCE_BG_CDC_NAME);
if(state.idBgImage < 0)
{
logTaskFailed(mLog, state.idBgImage);
return -1;
}
logTaskOk(mLog);
mLog.msg(
LL_INFO,
" Load cursor from CDC ... ");
state.idCursor = mC64.
cursorMgr().
load(OUTPUT_CDC, RESOURCE_CURSOR_CDC_NAME);
if(state.idCursor < 0 || pCursor == nullptr)
{
logTaskFailed(mLog, state.idCursor);
return -1;
}
logTaskOk(mLog);
mLog.msg(
LL_INFO,
" Select cursor ... ");
{
logTaskFailed(mLog);
return -1;
}
logTaskOk(mLog);
mLog.msg(
LL_INFO,
" Load built-in font ... ");
if(state.idBuiltInFont < 0 || mC64.
fontMgr().
get(state.idBuiltInFont) ==
nullptr)
{
logTaskFailed(mLog, state.idBuiltInFont);
return -1;
}
logTaskOk(mLog);
mLog.msg(
LL_INFO,
" Load title font ... ");
if(state.idTitleFont < 0 || mC64.
fontMgr().
get(state.idTitleFont) ==
nullptr)
{
logTaskFailed(mLog, state.idTitleFont);
return -1;
}
logTaskOk(mLog);
mLog.msg(
LL_INFO,
"\nGUI: application panels\n");
if(!createMainPanel(mC64, mLog, state) || !createModalPanel(mC64, mLog, state))
{
return -1;
}
mLog.msg(
LL_INFO,
"\nTOOLS: debug window and console\n");
mLog.msg(
LL_INFO,
" Create debug window ... ");
if(!pDebug)
{
logTaskFailed(mLog, state.idDebugWindow);
return -1;
}
pDebug->
addWatch(
"Mouse X",
nullptr, &state.fMouseX);
pDebug->
addWatch(
"Mouse Y",
nullptr, &state.fMouseY);
pDebug->
addWatch(
"Widget actions", &state.iWidgetActions);
pDebug->
addWatch(
"Render fps", &state.iCurrentRenderRate);
pDebug->
addWatch(
"Logic fps", &state.iCurrentLogicRate);
pDebug->
addWatch(
"Logic frames", &state.iLogicFrames);
pDebug->
addWatch(
"Slider value", &state.iSliderValue);
pDebug->
addWatch(
"Notifications", &state.iNotifications);
logTaskOk(mLog);
if(pConsole) pConsole->
print(
"Tutorial 12: GUI ready. Press ` to toggle the console.\n");
mLog.msg(
LL_INFO,
" Mouse: Interact with panels and widgets\n");
mLog.msg(
LL_INFO,
" [ENTER] Commit text while input has focus\n");
mLog.msg(
LL_INFO,
" [ESC] Release text input focus\n");
mLog.msg(
LL_INFO,
" [D] Toggle debug window\n");
mLog.msg(
LL_INFO,
" [`] Toggle console\n");
SDL_Event event;
bool bRunning = true;
while(bRunning)
{
{
if(event.type == SDL_EVENT_QUIT)
{
bRunning = false;
}
else if(event.type == SDL_EVENT_KEY_DOWN)
{
mLog.msg(
LL_INFO,
" Key pressed: %s (%d)\n", SDL_GetKeyName(event.key.key), event.key.key);
if(event.key.key == SDLK_Q)
{
bRunning = false;
}
else if(event.key.key == SDLK_D)
{
toggleDebugWindow(pDebug);
}
}
else if(event.type ==
ET_C64 &&
{
const Sint32 iWidgetID = static_cast<Sint32>(reinterpret_cast<intptr_t>(event.user.data1));
const Sint32 iWidgetValue = static_cast<Sint32>(reinterpret_cast<intptr_t>(event.user.data2));
state.iWidgetActions++;
if(iWidgetID == WID_BUTTON_APPLY || iWidgetID == WID_TEXT_INPUT)
{
string sInput;
if(pInput && pInput->
getText(sInput))
{
setStatus(pMainPanel, pConsole, "Message applied");
mLog.msg(
LL_INFO,
" Message applied: %s\n", sInput.c_str());
}
}
else if(iWidgetID == WID_BUTTON_MODAL)
{
if(pModalPanel)
{
}
setStatus(pMainPanel, pConsole, "Modal panel opened");
}
else if(iWidgetID == WID_BUTTON_CONFIRM)
{
setStatus(pMainPanel, pConsole, "Modal action confirmed");
}
else if(iWidgetID == WID_BUTTON_CLOSE)
{
setStatus(pMainPanel, pConsole, "Modal panel closed");
}
else if(iWidgetID == WID_CHECK_NOTIFICATIONS)
{
state.iNotifications = iWidgetValue;
setStatus(pMainPanel, pConsole, state.iNotifications ? "Notifications enabled" : "Notifications disabled");
}
else if(iWidgetID == WID_SLIDER_VALUE)
{
state.iSliderValue = iWidgetValue;
if(pProgress) pProgress->
setValue(state.iSliderValue);
char szStatus[64];
snprintf(szStatus, sizeof(szStatus), "Progress value: %d", state.iSliderValue);
setStatus(pMainPanel, pConsole, szStatus);
}
}
}
if(!bRunning) break;
state.iCurrentRenderRate =
static_cast<Sint32
>(mC64.
timer().getCurrentRFR());
state.iCurrentLogicRate =
static_cast<Sint32
>(mC64.
timer().getCurrentLFR());
updateLogic(state);
}
mLog.msg(
LL_INFO,
" Close GUI windows ... ");
logTaskOk(mLog);
mLog.msg(
LL_INFO,
" Close fonts ... ");
logTaskOk(mLog);
mLog.msg(
LL_INFO,
" Close cursors ... ");
logTaskOk(mLog);
mLog.msg(
LL_INFO,
" Close images ... ");
logTaskOk(mLog);
mLog.msg(
LL_INFO,
" Close CDC archives ... ");
logTaskOk(mLog);
return 0;
}
Sint32 close(Sint32 idCDC) override
Close and destroy a CDC object.
Definition CoreArchive.cpp:2476
Screen * get(Sint32 idScreen=0)
Get a pointer to the screen using its handle.
Definition CoreConfig.cpp:1497
void setMTFriendly(Uint8 iDelayMS)
Set the multithread-friendly scheduler yield.
Definition CoreConfig.cpp:1183
Console Object class.
Definition CRM64Pro.h:9678
Cursor Object class.
Definition CRM64Pro.h:3734
float getY() const
Get the mouse cursor Y position.
Definition GraphicsCursor.cpp:1041
Sint32 select(Sint32 idCursor)
Select a mouse cursor.
Definition GraphicsCursor.cpp:968
bool show()
Make visible the selected mouse cursor.
Definition GraphicsCursor.cpp:1001
Sint32 load(const string &sCDCFile, const string &sName)
Load a cursor stored in a CDC file.
Definition GraphicsCursor.cpp:1115
Sint32 close(Sint32 idCursor) override
Close and destroy a cursor.
Definition GraphicsCursor.cpp:897
Cursor * get(Sint32 idCursor)
Get a pointer to the cursor using its handle.
Definition GraphicsCursor.cpp:962
float getX() const
Get the mouse cursor X position.
Definition GraphicsCursor.cpp:1035
DebugWindow Object class.
Definition CRM64Pro.h:9810
Sint32 getBuiltin(const string &sName)
Get a built-in embedded font id using its name.
Definition GraphicsFont.cpp:1436
Sint32 close(Sint32 idFont) override
Close and destroy a font.
Definition GraphicsFont.cpp:1363
Font * get(const string &sName)
Get a pointer to the font using its name.
Definition GraphicsFont.cpp:1235
Image Object class.
Definition CRM64Pro.h:3356
Sint32 render(Sint32 idRes=0, SDL_FRect *pSrc=nullptr, SDL_FRect *pDst=nullptr)
Render the image.
Definition GraphicsImage.cpp:1575
Sint32 load(const string &sCDCFile, const string &sName)
Load an image stored in a CDC file.
Definition GraphicsImage.cpp:2476
Sint32 close(Sint32 idImg) override
Close and destroy an image.
Definition GraphicsImage.cpp:2178
Log Object class.
Definition CRM64Pro.h:771
CRM64Pro GDK Main class.
Definition CRM64Pro.h:502
Panel Object class.
Definition CRM64Pro.h:9243
Screen Object class.
Definition CRM64Pro.h:1055
Sint32 show()
Show the screen.
Definition CoreConfig.cpp:362
Sint32 setDriver(eConfigRendererDriver eCRD)
Set the renderer driver.
Definition CoreConfig.cpp:454
bool setRenderCallback(RenderCallback fnCallback)
Set a callback function for rendering graphics at Render Frame Rate.
Definition CoreConfig.cpp:765
Sint32 setSize(Sint32 iWidth, Sint32 iHeight)
Set the size of the screen.
Definition CoreConfig.cpp:526
bool setTitle(const string &sName)
Set the title.
Definition CoreConfig.cpp:674
TextEdit widget for editable text input.
Definition CRM64Pro.h:8556
bool getText(string &sText) const
Get the text content.
Definition GUIWidgetTextEdit.cpp:1266
bool setText(const string &sText)
Set the text content.
Definition GUIWidgetTextEdit.cpp:1240
Sint32 setFont(Sint32 idFont, eWidgetState eWS=WS_DEFAULT) override
Set the text-edit font.
Definition GUIWidgetTextEdit.cpp:1538
Sint32 setTextAlign(eWidgetTextAlign eAlign)
Set the horizontal content-text alignment.
Definition GUIWidgetTextEdit.cpp:1225
Sint32 setSize(Sint32 iWidth, Sint32 iHeight) override
Set the text edit size.
Definition GUIWidgetTextEdit.cpp:1189
void setStatsLevel(eMemStatsLevel eMSL)
Set the memory stats gathering level.
Definition CMemoryManager.cpp:618
void destroy()
Releases the internal heap and displays final stats.
Definition CMemoryManager.cpp:954
@ MSL_NORMAL
Collect allocations per module (CRM64Pro and user). Default for debug builds.
Definition CRM64Pro.h:386
eConfigRendererDriver
Screen renderer drivers.
Definition CRM64Pro.h:1013
@ CRD_SOFTWARE
Screen::setDriver(): software renderer driver. Slow but works on all platforms.
Definition CRM64Pro.h:1015
Sint32 create(const string &sName, Uint32 iType=CRM64PRO_GUI_PANEL) override
Creates a new GUI object.
Definition GUI.cpp:1051
Sint32 addWatch(const string &sName, Sint32 *iIntegerVar, float *fFloatVar=nullptr)
Add a watch.
Definition GUIDebugWindow.cpp:275
#define CRM64PRO_GUI_DEBUGWINDOW
Definition CRM64Pro.h:9195
Panel * getPanel(Sint32 idGUI)
Get a pointer to a Panel using its handle.
Definition GUI.cpp:1324
WidgetButton * createButton(const string &sName, Sint32 idWidget)
Create a Button widget and return its typed pointer.
Definition GUIPanel.cpp:1153
WidgetProgress * getProgress(Sint32 idWidget)
Get a typed Progress widget using its ID.
Definition GUIPanel.cpp:1247
WidgetLabel * getLabel(Sint32 idWidget)
Get a typed Label widget using its ID.
Definition GUIPanel.cpp:1217
Widget & baseWidget()
Get the reference to base Widget for this object.
Definition GUIDebugWindow.cpp:269
Sint32 print(const char *format,...)
Print a formatted message to the console.
Definition GUIConsole.cpp:403
Widget & baseWidget()
Get the reference to base Widget for this object.
Definition GUIPanel.cpp:878
WidgetProgress * createProgress(const string &sName, Sint32 idWidget)
Create a Progress widget and return its typed pointer.
Definition GUIPanel.cpp:1167
WidgetTextEdit * getTextEdit(Sint32 idWidget)
Get a typed TextEdit widget using its ID.
Definition GUIPanel.cpp:1259
Sint32 setPanelType(ePanelType ePT, Sint32 iTime=0)
Set the panel type.
Definition GUIPanel.cpp:1350
Sint32 setTitle(const string &sText, const Position &rPosX=Position(PH_CENTER), const Position &rPosY=Position(PH_CENTER))
Set the panel title text.
Definition GUIPanel.cpp:884
WidgetLabel * createLabel(const string &sName, Sint32 idWidget)
Create a Label widget and return its typed pointer.
Definition GUIPanel.cpp:1132
Console * getConsole(Sint32 idGUI=CRM64PRO_GUI_CONSOLE)
Get a pointer to a Console using its handle.
Definition GUI.cpp:1366
WidgetCheckBox * createCheckBox(const string &sName, Sint32 idWidget)
Create a CheckBox widget and return its typed pointer.
Definition GUIPanel.cpp:1160
bool info(Sint32 iMode=0) override
Request GUI Manager information.
Definition GUI.cpp:1005
Sint32 setPanelFocus(Sint32 idGUI)
Set the focus on the given GUI panel id.
Definition GUI.cpp:1346
DebugWindow * getDebugWindow(Sint32 idGUI)
Get a pointer to a DebugWindow using its handle.
Definition GUI.cpp:1375
Sint32 close(Sint32 idGUI) override
Close and destroy a GUI object.
Definition GUI.cpp:1168
WidgetSlider * createSlider(const string &sName, Sint32 idWidget, eSliderAxis eAxis=SA_HORIZONTAL)
Create a Slider widget and return its typed pointer.
Definition GUIPanel.cpp:1174
WidgetTextEdit * createTextEdit(const string &sName, Sint32 idWidget)
Create a TextEdit widget and return its typed pointer.
Definition GUIPanel.cpp:1189
@ PT_MODAL
Modal panel. When it gets the focus, it blocks the input for others panels on the same screen.
Definition CRM64Pro.h:9201
@ PT_MODELESS
Modeless panel. When it gets the focus, it does not block the input for others panels.
Definition CRM64Pro.h:9200
Log * get(Sint32 idLog=0)
Get a pointer to the log object.
Definition CoreLog.cpp:921
bool init(const string &sAppname, eLogLevel eLL, eLogMode eLM, const string &sFilename="", const string &sAuthor="", const string &sEmail="", const string &sWeb="")
Initialize the log object.
Definition CoreLog.cpp:338
@ LM_FILE
Log output mode for the 'lm' parameter in CRM64Pro::Log::init(). Output to a file and overwrite exist...
Definition CRM64Pro.h:748
@ LM_STDOUT
Log output mode for the 'lm' parameter in CRM64Pro::Log::init(). Output to standard output (stdout).
Definition CRM64Pro.h:750
@ LL_INFO
Runtime events (startup/shutdown). Messages without timestamp.
Definition CRM64Pro.h:764
@ LL_DEBUG
Detailed information for flow control.
Definition CRM64Pro.h:765
@ LL_CRITICAL
Fatal errors, application crash, or assertions.
Definition CRM64Pro.h:761
@ LL_ERROR
Runtime errors that do not require immediate termination.
Definition CRM64Pro.h:762
GUIMgr & guiMgr()
Get reference to GUI Manager.
Definition CoreMain.cpp:808
Timer & timer()
Get reference to Timer module.
Definition CoreMain.cpp:730
Sint32 update(SDL_Event *evUser=nullptr)
Manage the GDK update cycle with a fixed virtual logic frame rate.
Definition CoreMain.cpp:451
ImageMgr & imageMgr()
Get reference to Image Manager.
Definition CoreMain.cpp:754
CursorMgr & cursorMgr()
Get reference to Cursor Manager.
Definition CoreMain.cpp:760
static void terminate()
Main explicit destructor.
Definition CoreMain.cpp:266
static Main & instance()
Access the Main singleton.
Definition CoreMain.cpp:252
LogMgr & logMgr()
Get reference to Log Manager.
Definition CoreMain.cpp:724
ArchiveMgr & archiveMgr()
Get reference to Archive Manager.
Definition CoreMain.cpp:736
FontMgr & fontMgr()
Get reference to Font Manager.
Definition CoreMain.cpp:778
ConfigMgr & configMgr()
Get reference to Config Manager.
Definition CoreMain.cpp:712
@ GS_SHOWN
General status: enabled and shown.
Definition CRM64Pro.h:300
@ PH_CENTER
Cursor::setHotSpot(): set hotspot to cursor_size/2. Sprite::setAnimHotSpot(): set hotspot to frame_si...
Definition CRM64Pro.h:336
@ PH_BOTTOM
Widget/Font: bottom with optional offset. Scene: align to map bottom/end (MapHeight - ViewportHeight)...
Definition CRM64Pro.h:338
@ PH_LEFT
Widget/Font: left with optional offset. Scene: align to map left/begin (0.0). Valid for X axis.
Definition CRM64Pro.h:339
@ PH_RIGHT
Widget/Font: right with optional offset. Scene: align to map right/end (MapWidth - ViewportWidth)....
Definition CRM64Pro.h:340
@ PH_TOP
Widget/Font: top with optional offset. Scene: align to map top/begin (0.0). Valid for Y axis.
Definition CRM64Pro.h:337
@ EC_WIDGET_ACTION
A GUI button or command-style widget triggered an action.
Definition CRM64Pro.h:284
@ EC_WIDGET_VALUECHANGED
A GUI widget numeric value changed.
Definition CRM64Pro.h:288
@ EC_WIDGET_TOGGLED
A GUI checkbox toggled.
Definition CRM64Pro.h:289
@ EC_WIDGET_VALUECOMMITTED
A GUI edit value was committed.
Definition CRM64Pro.h:290
@ ET_C64
CRM64Pro GDK internal events.
Definition CRM64Pro.h:275
bool init(eTimerState eState=TS_INIT)
Initialize the timer system.
Definition CoreTimer.cpp:543
bool setRate(Uint16 iR, Uint16 iL)
Set preferred Render and Logic Frame Rate.
Definition CoreTimer.cpp:556
CRM64Pro GDK.
Definition AudioTrack.cpp:36
Absolute coordinate or helper-relative position used by layout APIs.
Definition CRM64Pro.h:346