Kanzi  3.9.9
Kanzi Engine C++ API
kzs_display.h File Reference

Display device. More...

Functions

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

Detailed Description

Display device.

Copyright 2008-2017 by Rightware. All rights reserved.

Function Documentation

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.