The abstractscrollbar
is an abstract node (we can't instantiate it). It exists to share same properties for vertical and horizontal scrollbar. At the moment only the concrete vscrollbar
.
More...
#include "../ui_nodes.h"
#include "ui_node_abstractscrollbar.h"
Go to the source code of this file.
Defines | |
#define | EXTRADATA_TYPE abstractScrollbarExtraData_t |
Functions | |
void | UI_RegisterAbstractScrollbarNode (uiBehaviour_t *behaviour) |
Variables | |
static const value_t | properties [] |
The abstractscrollbar
is an abstract node (we can't instantiate it). It exists to share same properties for vertical and horizontal scrollbar. At the moment only the concrete vscrollbar
.
Definition in file ui_node_abstractscrollbar.c.
#define EXTRADATA_TYPE abstractScrollbarExtraData_t |
Definition at line 31 of file ui_node_abstractscrollbar.c.
void UI_RegisterAbstractScrollbarNode | ( | uiBehaviour_t * | behaviour | ) |
Definition at line 52 of file ui_node_abstractscrollbar.c.
References EXTRADATA_TYPE, uiBehaviour_s::extraDataSize, uiBehaviour_s::isAbstract, uiBehaviour_s::name, uiBehaviour_s::properties, and qtrue.
const value_t properties[] [static] |
{ {"current", V_INT, UI_EXTRADATA_OFFSETOF(EXTRADATA_TYPE, pos), MEMBER_SIZEOF(EXTRADATA_TYPE, pos)}, {"viewsize", V_INT, UI_EXTRADATA_OFFSETOF(EXTRADATA_TYPE, viewsize), MEMBER_SIZEOF(EXTRADATA_TYPE, viewsize)}, {"fullsize", V_INT, UI_EXTRADATA_OFFSETOF(EXTRADATA_TYPE, fullsize), MEMBER_SIZEOF(EXTRADATA_TYPE, fullsize)}, {"hidewhenunused", V_BOOL, UI_EXTRADATA_OFFSETOF(EXTRADATA_TYPE, hideWhenUnused), MEMBER_SIZEOF(EXTRADATA_TYPE, hideWhenUnused)}, {"lastdiff", V_INT, UI_EXTRADATA_OFFSETOF(EXTRADATA_TYPE, lastdiff), MEMBER_SIZEOF(EXTRADATA_TYPE, lastdiff)}, {NULL, V_NULL, 0, 0} }
Definition at line 33 of file ui_node_abstractscrollbar.c.