#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <X11/Intrinsic.h>
#include <X11/Xatom.h>
#include <X11/StringDefs.h>
#include <X11/Shell.h>
#include <X11/Xaw/Cardinals.h>
#include <X11/Xaw/Label.h>
#include <X11/Xaw/Paned.h>
#include <X11/Xmu/SysUtil.h>
#include "UnitStripChart.h"
#include "xio.h"
#include "xio.bit"
Include dependency graph for xio.c:
Go to the source code of this file.
Defines | |
#define | Offset(field) (XtOffsetOf(XIoResources, field)) |
Functions | |
static void | quit (Widget w, XEvent *event, String *params, Cardinal *num_params) |
static void | usage (void) |
int | main (int argc, char **argv) |
Variables | |
char * | ProgramName |
static XrmOptionDescRec | options [] |
static XtResource | my_resources [] |
XIoResources | xio_resources |
static XtActionsRec | xio_actions [] |
static Atom | wm_delete_window |
|
|
|
Definition at line 144 of file xio.c. References GetIoPoint(), InitIoPoint(), my_resources, options, ProgramName, unitStripChartWidgetClass, usage(), wm_delete_window, xio_actions, XtNgetValue, XtNlabel, and XtNunits. Here is the call graph for this function: |
|
Definition at line 243 of file xio.c. References wm_delete_window. |
|
Definition at line 109 of file xio.c. References ProgramName. Referenced by main(). |
|
Initial value: { {"showLabel", XtCBoolean, XtRBoolean, sizeof(Boolean), Offset(show_label), XtRImmediate, (XtPointer) TRUE}, {"interface", XtCString, XtRString, sizeof(XtRString), Offset(interface), XtRImmediate, (XtPointer) FALSE}, } Definition at line 89 of file xio.c. Referenced by main(). |
|
Initial value: { {"-scale", "*io.minScale", XrmoptionSepArg, NULL}, {"-update", "*io.update", XrmoptionSepArg, NULL}, {"-hl", "*io.highlight", XrmoptionSepArg, NULL}, {"-highlight", "*io.highlight", XrmoptionSepArg, NULL}, {"-label", "*label.label", XrmoptionSepArg, NULL}, {"-nolabel", "*showLabel", XrmoptionNoArg, "False"}, {"-showlabel", "*showLabel", XrmoptionNoArg, "True"}, {"-jumpscroll", "*io.jumpScroll", XrmoptionSepArg, NULL}, {"-interface", "*interface", XrmoptionSepArg, NULL}, {"-units", "*io.units", XrmoptionSepArg, "B/s"}, {"-unit-fn", "*io.fontSet", XrmoptionSepArg, NULL}, } Definition at line 68 of file xio.c. Referenced by main(). |
|
|
|
|
|
Initial value: { { "quit", quit }, } Definition at line 100 of file xio.c. Referenced by main(). |
|
Definition at line 98 of file xio.c. Referenced by __GetIoPoint(). |