Cairo-Dock
3.4.0
|
Generic DataRenderer. Any implementation of a DataRenderer will derive from this class. More...
Data Fields | |
CairoDataRendererInterface | interface |
interface of the Data Renderer. | |
CairoDataToRenderer | data |
internal data to be drawn by the renderer. | |
gint | iWidth |
size of the drawing area. | |
CairoDataRendererFormatValueFunc | format_value |
specific function to format the values as text. | |
gchar | cFormatBuffer [CAIRO_DOCK_DATA_FORMAT_MAX_LEN+1] |
buffer for the text. | |
gpointer | pFormatData |
data passed to the format fonction. | |
gboolean | bUpdateMinMax |
TRUE <=> the Data Renderer should dynamically update the range of the values. | |
gboolean | bWriteValues |
TRUE <=> the Data Renderer should write the values as text itself. | |
gint | iLatencyTime |
the time it will take to update to the new value, with a smooth animation (require openGL capacity) | |
gint | iRank |
the rank of the renderer, eg the number of values it can display at once (for exemple, 1 for a bar, 2 for a dual-gauge) | |
gboolean | bCanRenderValueAsText |
set to TRUE <=> the renderer can draw the values as text itself. | |
gboolean | bRotateWithContainer |
set to TRUE <=> the drawing will be rotated if the container is vertical. | |
RendererRotateTheme | iRotateTheme |
an option to rotate applet, no, automatic or always. | |
gboolean | bisRotate |
set to TRUE <=> the theme images are rotated 90° clockwise. | |
gboolean | bUseOverlay |
whether the data-renderer draws on an overlay rather than directly on the icon. | |
CairoOverlayPosition | iOverlayPosition |
position of the overlay, in the case the renderer uses one. | |
CairoDataRendererText * | pLabels |
an optionnal list of labels to be displayed on the Data Renderer to indicate the nature of each value. Same size as the set of values. | |
CairoDataRendererEmblem * | pEmblems |
an optionnal list of emblems to be displayed on the Data Renderer to indicate the nature of each value. Same size as the set of values. | |
CairoDataRendererTextParam * | pValuesText |
an optionnal list of text zones to write the values. Same size as the set of values. | |
gint | iSmoothAnimationStep |
the animation counter for the smooth movement. | |
gdouble | fLatency |
latency due to the smooth movement (0 means the displayed value is the current one, 1 the previous) | |
Generic DataRenderer. Any implementation of a DataRenderer will derive from this class.