My Project
|
Graphical user interface helper. More...
#include <GUIHelper.h>
Static Public Member Functions | |
static void | SelectFolder (int controlId, int commandID, int actionCommandID, SallyAPI::GUI::CGUIBaseObject *notificationWindow, const std::string &text, const std::string &goToFolder="") |
Select folder. | |
static void | CalculateImageSize (int sourceWidth, int sourceHeight, int destinationWidth, int destinationHeight, int &x, int &y, int &width, int &height) |
Calculates the image size. |
Graphical user interface helper.
void GUIHelper::CalculateImageSize | ( | int | sourceWidth, |
int | sourceHeight, | ||
int | destinationWidth, | ||
int | destinationHeight, | ||
int & | x, | ||
int & | y, | ||
int & | width, | ||
int & | height | ||
) | [static] |
Calculates the image size.
sourceWidth | Width of the source. | |
sourceHeight | Height of the source. | |
destinationWidth | Width of the destination. | |
destinationHeight | Height of the destination. | |
[in,out] | x | The x coordinate. |
[in,out] | y | The y coordinate. |
[in,out] | width | The width. |
[in,out] | height | The height. |
void GUIHelper::SelectFolder | ( | int | controlId, |
int | commandID, | ||
int | actionCommandID, | ||
SallyAPI::GUI::CGUIBaseObject * | notificationWindow, | ||
const std::string & | text, | ||
const std::string & | goToFolder = "" |
||
) | [static] |
Select folder.
controlId | Identifier for the control. | |
commandID | Identifier for the command. | |
actionCommandID | Identifier for the action command. | |
[in,out] | notificationWindow | If non-null, the notification window. |
text | The text. | |
goToFolder | Pathname of the go to folder. |