Display device. More...
#include <kanzi/core/legacy/debug/kzs_error.hpp>
#include <kanzi/core/legacy/kzs_types.hpp>
#include <kanzi/core.ui/coreui_api.hpp>
Functions | |
kzsError | kzsDisplayCreate (const struct KzsDesktop *desktop, kzUint displayID, struct KzsDisplay **out_display) |
Creates a display and also the native display. | |
kzsError | kzsDisplayCreateFromNative (struct KzsDisplayNative *displayNative, kzUint displayID, struct KzsDisplay **out_display) |
Creates a display with a previously created native display. | |
kzsError | kzsDisplayDelete (struct KzsDisplay *display) |
Deletes a display and frees all memory allocated for it. | |
kzUint | kzsDisplayGetCurrentHeight (const struct KzsDisplay *display) |
Returns the current height of the display in pixels. | |
kzUint | kzsDisplayGetCurrentWidth (const struct KzsDisplay *display) |
Returns the current width of the display in pixels. | |
struct KzsDisplayNative * | kzsDisplayGetNative (const struct KzsDisplay *display) |
Returns the native display struct. | |
void | kzsDisplayLogProperties (const struct KzsDisplay *display) |
Outputs the properties of the display to the log. | |
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 | kzsDisplayNativeGetCurrentHeight (const struct KzsDisplayNative *displayNative) |
Returns the current height of the display in pixels. | |
kzUint | kzsDisplayNativeGetCurrentWidth (const struct KzsDisplayNative *displayNative) |
Returns the current width of the display in pixels. | |
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.