#include <stdio.h>
#include <X11/IntrinsicP.h>
#include <X11/StringDefs.h>
#include <X11/Xfuncs.h>
#include "UnitStripCharP.h"
#include <X11/Xaw/XawInit.h>
#include "Private.h"
#include "assert.h"
#include "error.h"
Include dependency graph for UnitStripChart.c:
Go to the source code of this file.
Defines | |
#define | MS_PER_SEC 1000 |
#define | streq(a, b) (strcmp((a),(b)) == 0) |
#define | offset(field) XtOffsetOf(UnitStripChartRec, field) |
Functions | |
static void | XawUnitStripChartInitialize (Widget, Widget, ArgList, Cardinal *) |
static void | XawUnitStripChartDestroy (Widget) |
static void | XawUnitStripChartRedisplay (Widget, XEvent *, Region) |
static void | XawUnitStripChartResize (Widget) |
static Boolean | XawUnitStripChartSetValues (Widget, Widget, Widget, ArgList, Cardinal *) |
static void | CreateGC (UnitStripChartWidget, unsigned int) |
static void | DestroyGC (UnitStripChartWidget, unsigned int) |
static void | draw_it (XtPointer, XtIntervalId *) |
static void | MoveChart (UnitStripChartWidget) |
static void | repaint_window (UnitStripChartWidget) |
Variables | |
static XtResource | resources [] |
UnitStripChartClassRec | unitStripChartClassRec |
WidgetClass | unitStripChartWidgetClass = (WidgetClass)&unitStripChartClassRec |
|
Definition at line 66 of file UnitStripChart.c. Referenced by draw_it(), XawUnitStripChartInitialize(), and XawUnitStripChartSetValues(). |
|
Definition at line 96 of file UnitStripChart.c. |
|
Definition at line 68 of file UnitStripChart.c. |
|
Definition at line 297 of file UnitStripChart.c. References ASSERT, BACKGROUND, UnitStripChartPart::bgGC, _UnitStripChartRec::core, UnitStripChartPart::fgGC, UnitStripChartPart::fgpixel, FOREGROUND, UnitStripChartPart::hiGC, HIGHLIGHT, UnitStripChartPart::hipixel, and _UnitStripChartRec::unit_strip_chart. Referenced by XawUnitStripChartInitialize(), and XawUnitStripChartSetValues(). |
|
Definition at line 331 of file UnitStripChart.c. References ASSERT, BACKGROUND, UnitStripChartPart::fgGC, FOREGROUND, HIGHLIGHT, and _UnitStripChartRec::unit_strip_chart. Referenced by XawUnitStripChartDestroy(), and XawUnitStripChartSetValues(). |
|
Definition at line 458 of file UnitStripChart.c. References ASSERT, INTERNAL_ERROR, UnitStripChartPart::interval_id, MoveChart(), MS_PER_SEC, NUM_DATA_POINTS, repaint_window(), _UnitStripChartRec::unit_strip_chart, UnitStripChartPart::update, XtNgetValue, and XtWidth. Referenced by XawUnitStripChartInitialize(), and XawUnitStripChartSetValues(). Here is the call graph for this function: |
|
Definition at line 412 of file UnitStripChart.c. References ASSERT, DEFAULT_JUMP, UnitStripChartPart::interval, NUM_DATA_POINTS, _UnitStripChartRec::unit_strip_chart, and XtWidth. Referenced by draw_it(). |
|
Definition at line 514 of file UnitStripChart.c. References ASSERT, UnitStripChartPart::interval, UnitStripChartPart::max_value, UnitStripChartPart::min_scale, NUM_DATA_POINTS, UnitStripChartPart::scale, _UnitStripChartRec::unit_strip_chart, XawUnitStripChartResize(), XtHeight, and XtWidth. Referenced by draw_it(), and XawUnitStripChartRedisplay(). Here is the call graph for this function: |
|
Definition at line 380 of file UnitStripChart.c. References ALL_GCS, ASSERT, DestroyGC(), UnitStripChartPart::interval_id, UnitStripChartPart::label, UnitStripChartPart::points, _UnitStripChartRec::unit_strip_chart, UnitStripChartPart::units, and UnitStripChartPart::update. Here is the call graph for this function: |
|
Definition at line 347 of file UnitStripChart.c. References ALL_GCS, ASSERT, CreateGC(), draw_it(), UnitStripChartPart::interval, UnitStripChartPart::interval_id, UnitStripChartPart::label, UnitStripChartPart::max_value, UnitStripChartPart::min_scale, MS_PER_SEC, UnitStripChartPart::points, UnitStripChartPart::scale, _UnitStripChartRec::unit_strip_chart, UnitStripChartPart::units, UnitStripChartPart::update, and XawUnitStripChartResize(). Here is the call graph for this function: |
|
Definition at line 404 of file UnitStripChart.c. References ASSERT, and repaint_window(). Here is the call graph for this function: |
|
Definition at line 680 of file UnitStripChart.c. References ASSERT, UnitStripChartPart::interval, NUM_DATA_POINTS, UnitStripChartPart::points, UnitStripChartPart::scale, _UnitStripChartRec::unit_strip_chart, UnitStripChartPart::valuedata, XtHeight, and XtWidth. Referenced by repaint_window(), and XawUnitStripChartInitialize(). |
|
Definition at line 616 of file UnitStripChart.c. References ASSERT, BACKGROUND, UnitStripChartPart::bgpixel, CreateGC(), DestroyGC(), draw_it(), UnitStripChartPart::fgpixel, FOREGROUND, HIGHLIGHT, UnitStripChartPart::hipixel, UnitStripChartPart::interval_id, UnitStripChartPart::max_value, UnitStripChartPart::min_scale, MS_PER_SEC, NO_GCS, _UnitStripChartRec::unit_strip_chart, and UnitStripChartPart::update. Here is the call graph for this function: |
|
Definition at line 97 of file UnitStripChart.c. |
|
Definition at line 237 of file UnitStripChart.c. |
|
Definition at line 280 of file UnitStripChart.c. Referenced by main(). |