![]() |
Functions | |
void | iupdrvGetFullSize (int *width, int *height) |
void | iupdrvGetScreenSize (int *width, int *height) |
int | iupdrvCheckMainScreen (int *width, int *height) |
int | iupdrvGetScreenDepth (void) |
char * | iupdrvGetSystemVersion (void) |
char * | iupdrvGetSystemName (void) |
char * | iupdrvGetComputerName (void) |
char * | iupdrvGetUserName (void) |
void | iupdrvGetKeyState (char *key) |
void | iupdrvGetCursorPos (int *x, int *y) |
void * | iupdrvGetDisplay (void) |
char * | iupdrvGetCurrentDirectory (void) |
int | iupdrvSetCurrentDirectory (const char *dir) |
int | iupdrvIsFile (const char *name) |
int | iupdrvIsDirectory (const char *name) |
int | iupdrvMakeDirectory (const char *name) |
char * | iupdrvLocaleInfo (void) |
void iupdrvGetFullSize | ( | int * | width, | |
int * | height | |||
) |
Retrieve the main desktop full size.
void iupdrvGetScreenSize | ( | int * | width, | |
int * | height | |||
) |
Retrieve the main desktop available size.
int iupdrvCheckMainScreen | ( | int * | width, | |
int * | height | |||
) |
Retrieve the main desktop size when there are multiple monitors. Useful only when in GTK.
int iupdrvGetScreenDepth | ( | void | ) |
Retrieve the default desktop bits per pixel.
char* iupdrvGetSystemVersion | ( | void | ) |
Returns a string with the system version number.
char* iupdrvGetSystemName | ( | void | ) |
Returns a string with the system name.
char* iupdrvGetComputerName | ( | void | ) |
Returns a string with the computer name.
char* iupdrvGetUserName | ( | void | ) |
Returns a string with the user name.
void iupdrvGetKeyState | ( | char * | key | ) |
Returns the key state for Shift, Ctrl, Alt and sYs, in this order. Left and right keys are considered. Should declare "char key[5]". Values could be space (" ") or "SCAY".
void iupdrvGetCursorPos | ( | int * | x, | |
int * | y | |||
) |
Returns the current position of the mouse cursor.
void* iupdrvGetDisplay | ( | void | ) |
Returns the driver "Display" in UNIX and NULL in Windows. Must be implemented somewhere else.
char* iupdrvGetCurrentDirectory | ( | void | ) |
Returns the current directory.
int iupdrvSetCurrentDirectory | ( | const char * | dir | ) |
Changes the current directory.
int iupdrvIsFile | ( | const char * | name | ) |
Returns true if the given name is an existant file.
int iupdrvIsDirectory | ( | const char * | name | ) |
Returns true if the given name is an existant directory.
int iupdrvMakeDirectory | ( | const char * | name | ) |
Creates a new direcotry.
char* iupdrvLocaleInfo | ( | void | ) |
Returns the current locale name.