Display device. More...
Functions | |
kzsError | kzsDisplayCreateFromNative (struct KzsDisplayNative *displayNative, kzUint displayID, struct KzsDisplay **out_display) |
Creates a display with a previously created native display. More... | |
kzsError | kzsDisplayCreate (const struct KzsDesktop *desktop, kzUint displayID, struct KzsDisplay **out_display) |
Creates a display and also the native display. More... | |
kzsError | kzsDisplayDelete (struct KzsDisplay *display) |
Deletes a display and frees all memory allocated for it. More... | |
kzUint | kzsDisplayGetCurrentWidth (const struct KzsDisplay *display) |
Returns the current width of the display in pixels. More... | |
kzUint | kzsDisplayGetCurrentHeight (const struct KzsDisplay *display) |
Returns the current height of the display in pixels. More... | |
struct KzsDisplayNative * | kzsDisplayGetNative (const struct KzsDisplay *display) |
Returns the native display struct. More... | |
kzsError | kzsDisplayNativeCreate (const struct KzsDesktop *desktop, kzUint displayID, struct KzsDisplayNative **out_displayNative) |
Creates the platform independent portion of the display. More... | |
kzsError | kzsDisplayNativeDelete (struct KzsDisplayNative *displayNative) |
Deletes the platform independent portion of the display. More... | |
kzUint | kzsDisplayNativeGetCurrentWidth (const struct KzsDisplayNative *displayNative) |
Returns the current width of the display in pixels. More... | |
kzUint | kzsDisplayNativeGetCurrentHeight (const struct KzsDisplayNative *displayNative) |
Returns the current height of the display in pixels. More... | |
void | kzsDisplayLogProperties (const struct KzsDisplay *display) |
Outputs the properties of the display to the log. More... | |
Display device.
Copyright 2008-2017 by Rightware. All rights reserved.
kzsError kzsDisplayCreateFromNative | ( | struct KzsDisplayNative * | displayNative, |
kzUint | displayID, | ||
struct KzsDisplay ** | out_display | ||
) |
Creates a display with a previously created native display.
kzsError kzsDisplayCreate | ( | const struct KzsDesktop * | desktop, |
kzUint | displayID, | ||
struct KzsDisplay ** | out_display | ||
) |
Creates a display and also the native display.
kzsError kzsDisplayDelete | ( | struct KzsDisplay * | display | ) |
Deletes a display and frees all memory allocated for it.
kzUint kzsDisplayGetCurrentWidth | ( | const struct KzsDisplay * | display | ) |
Returns the current width of the display in pixels.
kzUint kzsDisplayGetCurrentHeight | ( | const struct KzsDisplay * | display | ) |
Returns the current height of the display in pixels.
struct KzsDisplayNative* kzsDisplayGetNative | ( | const struct KzsDisplay * | display | ) |
Returns the native display struct.
kzsError kzsDisplayNativeCreate | ( | const struct KzsDesktop * | desktop, |
kzUint | displayID, | ||
struct KzsDisplayNative ** | out_displayNative | ||
) |
Creates the platform independent portion of the display.
kzsError kzsDisplayNativeDelete | ( | struct KzsDisplayNative * | displayNative | ) |
Deletes the platform independent portion of the display.
kzUint kzsDisplayNativeGetCurrentWidth | ( | const struct KzsDisplayNative * | displayNative | ) |
Returns the current width of the display in pixels.
kzUint kzsDisplayNativeGetCurrentHeight | ( | const struct KzsDisplayNative * | displayNative | ) |
Returns the current height of the display in pixels.
void kzsDisplayLogProperties | ( | const struct KzsDisplay * | display | ) |
Outputs the properties of the display to the log.