XrdOverlayModel

XrdOverlayModel

Functions

Types and Values

Object Hierarchy

    GObject
    ╰── OpenVROverlay
        ╰── XrdOverlayModel
            ╰── XrdOverlayPointer

Includes

#include <xrdesktop.h>

Description

Functions

xrd_overlay_model_new ()

XrdOverlayModel *
xrd_overlay_model_new (gchar *key,
                       gchar *name);

xrd_overlay_model_get_model ()

gboolean
xrd_overlay_model_get_model (XrdOverlayModel *self,
                             gchar *name,
                             graphene_vec4_t *color,
                             uint32_t *id);

xrd_overlay_model_initialize ()

gboolean
xrd_overlay_model_initialize (XrdOverlayModel *self,
                              gchar *key,
                              gchar *name);

xrd_overlay_model_set_model ()

gboolean
xrd_overlay_model_set_model (XrdOverlayModel *self,
                             gchar *name,
                             graphene_vec4_t *color);

Types and Values

XrdOverlayModel

typedef struct _XrdOverlayModel XrdOverlayModel;

struct XrdOverlayModelClass

struct XrdOverlayModelClass {
  OpenVROverlayClass parent;
};

Members

OpenVROverlayClass parent;

The object class structure needs to be the first element in the widget class structure in order for the class mechanism to work correctly. This allows a XrdOverlayModelClass pointer to be cast to a OpenVROverlayClass pointer.

 

XRD_TYPE_OVERLAY_MODEL

#define XRD_TYPE_OVERLAY_MODEL xrd_overlay_model_get_type()