Kanzi 3.9.10
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.
 
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.
 

Detailed Description

Display device.

Copyright 2008-2017 by Rightware. All rights reserved.

Function Documentation

◆ kzsDisplayCreateFromNative()

kzsError kzsDisplayCreateFromNative ( struct KzsDisplayNative * displayNative,
kzUint displayID,
struct KzsDisplay ** out_display )

Creates a display with a previously created native display.

◆ kzsDisplayCreate()

kzsError kzsDisplayCreate ( const struct KzsDesktop * desktop,
kzUint displayID,
struct KzsDisplay ** out_display )

Creates a display and also the native display.

◆ kzsDisplayDelete()

kzsError kzsDisplayDelete ( struct KzsDisplay * display)

Deletes a display and frees all memory allocated for it.

◆ kzsDisplayGetCurrentWidth()

kzUint kzsDisplayGetCurrentWidth ( const struct KzsDisplay * display)

Returns the current width of the display in pixels.

◆ kzsDisplayGetCurrentHeight()

kzUint kzsDisplayGetCurrentHeight ( const struct KzsDisplay * display)

Returns the current height of the display in pixels.

◆ kzsDisplayGetNative()

struct KzsDisplayNative * kzsDisplayGetNative ( const struct KzsDisplay * display)

Returns the native display struct.

◆ kzsDisplayNativeCreate()

kzsError kzsDisplayNativeCreate ( const struct KzsDesktop * desktop,
kzUint displayID,
struct KzsDisplayNative ** out_displayNative )

Creates the platform independent portion of the display.

◆ kzsDisplayNativeDelete()

kzsError kzsDisplayNativeDelete ( struct KzsDisplayNative * displayNative)

Deletes the platform independent portion of the display.

◆ kzsDisplayNativeGetCurrentWidth()

kzUint kzsDisplayNativeGetCurrentWidth ( const struct KzsDisplayNative * displayNative)

Returns the current width of the display in pixels.

◆ kzsDisplayNativeGetCurrentHeight()

kzUint kzsDisplayNativeGetCurrentHeight ( const struct KzsDisplayNative * displayNative)

Returns the current height of the display in pixels.

◆ kzsDisplayLogProperties()

void kzsDisplayLogProperties ( const struct KzsDisplay * display)

Outputs the properties of the display to the log.