|
HDK
|
Example for creating a native UI dialog. More...
#include <stdio.h>#include <UT/UT_DSOVersion.h>#include <CMD/CMD_Manager.h>#include <CMD/CMD_Args.h>#include <UI/UI_Value.h>#include <SI/AP_Interface.h>#include <time.h>
Include dependency graph for cmd_ui.C:Go to the source code of this file.
Classes | |
| class | HDK_Sample::MyDialog |
Namespaces | |
| HDK_Sample | |
| This namespace is used to hold all HDK example source code. | |
Macros | |
| #define | MYDIALOG_CB(method) static_cast<UI_EventMethod>(&MyDialog::method) |
| Used to wrap around callback functions responding to UI_Value changes. More... | |
Functions | |
| void | CMDextendLibrary (CMD_Manager *cman) |
Example for creating a native UI dialog.
This file provides a sample command that launches an HDK-based GUI dialog. When launched as the 'cmd_ui' command from the hscript textport, it simply brings up a dialog with some UI gadgets that do nothing.
It uses a cmd_ui.ui file that can found in the same place as this file. For all platforms except OSX, cmd_ui. should be installed to:
On OSX, it should be installed to:
Definition in file cmd_ui.C.
| #define MYDIALOG_CB | ( | method | ) | static_cast<UI_EventMethod>(&MyDialog::method) |
Used to wrap around callback functions responding to UI_Value changes.
| void CMDextendLibrary | ( | CMD_Manager * | cman | ) |