|
NAMEAG_FixedPlotter —
agar integer plot widget
SYNOPSIS#include <agar/core.h> #include <agar/gui.h> DESCRIPTIONTheAG_FixedPlotter widget is a scrollable plotter
widget that accepts integer values. It is mainly designed for displaying
performance measurements.
Note: A much more featureful floating-point plotting widget is available as M_Plotter(3) in the ag_math library. INHERITANCE HIERARCHYAG_Object(3) -> AG_Widget(3) ->AG_FixedPlotter .
INITIALIZATIONAG_FixedPlotter *AG_FixedPlotterNew (AG_Widget
*parent, enum
ag_fixed_plotter_type type,
Uint flags);
The enum ag_fixed_plotter_type { AG_FIXED_PLOTTER_POINTS, /* Dots */ AG_FIXED_PLOTTER_LINES /* Lines */ } type; Acceptable flags include:
PLOTTINGAG_FixedPlotterCurve *AG_FixedPlotterCurve (AG_FixedPlotter
*fpl, const char
*name, Uint8 r,
Uint8 g,
Uint8 b,
Uint32 limit);
The The EVENTSTheAG_FixedPlotter widget does not generate any event.
STRUCTURE DATAFor the AG_FixedPlotter object:
SEE ALSOAG_Intro(3), AG_Widget(3), AG_Window(3)HISTORYTheAG_FixedPlotter widget first appeared in Agar 1.0.
Visit the GSP FreeBSD Man Page Interface. |