#include "plserver.h"
#include "plxwd.h"
#include "tcpip.h"
#include <fcntl.h>
Go to the source code of this file.
Classes | |
struct | PlFrame |
Defines | |
#define | DEBUGx |
#define | NEED_PLDEBUG |
#define | NDEV 100 |
#define | BUFFER_FIFO 1 |
#define | FH_FIFO 0 |
#define | plframe_cmd(code) if ( ( code ) == TCL_ERROR ) return ( TCL_ERROR ); |
#define | Tk_Cursor Cursor |
#define | REFRESH_PENDING 1 |
#define | RESIZE_PENDING 2 |
#define | REDRAW_PENDING 4 |
#define | UPDATE_V_SCROLLBAR 8 |
#define | UPDATE_H_SCROLLBAR 16 |
#define | DEF_PLFRAME_BG_COLOR "Black" |
#define | DEF_PLFRAME_BG_MONO "White" |
#define | DEF_PLFRAME_BORDER_WIDTH "0" |
#define | DEF_PLFRAME_CURSOR ( (char *) NULL ) |
#define | DEF_PLFRAME_HEIGHT "0" |
#define | DEF_PLFRAME_RELIEF "flat" |
#define | DEF_PLFRAME_WIDTH "0" |
#define | FreeProcArg ClientData |
#define | INSTALL_COLORMAP_IN_TK |
#define | FILECAST |
Functions | |
int | plFrameCmd (ClientData, Tcl_Interp *, int, const char **) |
static void | DestroyPlFrame (FreeProcArg) |
static void | DisplayPlFrame (ClientData) |
static void | PlFrameInit (ClientData) |
static void | PlFrameConfigureEH (ClientData, XEvent *) |
static void | PlFrameExposeEH (ClientData, XEvent *) |
static void | PlFrameMotionEH (ClientData, register XEvent *) |
static void | PlFrameEnterEH (ClientData, register XEvent *) |
static void | PlFrameLeaveEH (ClientData, register XEvent *) |
static void | PlFrameKeyEH (ClientData, register XEvent *) |
static int | PlFrameWidgetCmd (ClientData, Tcl_Interp *, int, const char **) |
static int | ReadData (ClientData, int) |
static void | Install_cmap (PlFrame *plFramePtr) |
static int | Closelink (Tcl_Interp *, PlFrame *, int, const char **) |
static int | Cmd (Tcl_Interp *, PlFrame *, int, const char **) |
static int | ColorManip (Tcl_Interp *, PlFrame *, int, const char **) |
static int | ConfigurePlFrame (Tcl_Interp *, PlFrame *, int, const char **, int) |
static int | Draw (Tcl_Interp *, PlFrame *, int, const char **) |
static int | Info (Tcl_Interp *, PlFrame *, int, const char **) |
static int | Openlink (Tcl_Interp *, PlFrame *, int, const char **) |
static int | Orient (Tcl_Interp *, PlFrame *, int, const char **) |
static int | Page (Tcl_Interp *, PlFrame *, int, const char **) |
static int | Print (Tcl_Interp *, PlFrame *, int, const char **) |
static int | Redraw (Tcl_Interp *, PlFrame *, int, const char **) |
static int | Save (Tcl_Interp *, PlFrame *, int, const char **) |
static int | View (Tcl_Interp *, PlFrame *, int, const char **) |
static int | xScroll (Tcl_Interp *, PlFrame *, int, const char **) |
static int | yScroll (Tcl_Interp *, PlFrame *, int, const char **) |
static int | report (Tcl_Interp *, PlFrame *, int, const char **) |
static void | CreateXhairs (PlFrame *) |
static void | DestroyXhairs (PlFrame *) |
static void | DrawXhairs (PlFrame *, int, int) |
static void | UpdateXhairs (PlFrame *) |
static void | CreateRband (PlFrame *) |
static void | DestroyRband (PlFrame *) |
static void | DrawRband (PlFrame *, int, int) |
static void | UpdateRband (PlFrame *) |
static void | process_bop (void *, int *) |
static void | process_eop (void *, int *) |
static void | gbox (PLFLT *, PLFLT *, PLFLT *, PLFLT *, const char **) |
static void | UpdateVScrollbar (register PlFrame *) |
static void | UpdateHScrollbar (register PlFrame *) |
static void | PlFrameConfigureEH (ClientData clientData, register XEvent *eventPtr) |
static void | PlFrameExposeEH (ClientData clientData, register XEvent *eventPtr) |
static int | scol0 (Tcl_Interp *interp, register PlFrame *plFramePtr, int i, const char *col, int *p_changed) |
static int | scol1 (Tcl_Interp *interp, register PlFrame *plFramePtr, int i, const char *col, const char *pos, const char *rev, int *p_changed) |
static int | ColorManip (Tcl_Interp *interp, register PlFrame *plFramePtr, int argc, const char **argv) |
static int | Cmd (Tcl_Interp *interp, register PlFrame *plFramePtr, int argc, const char **argv) |
static int | ConfigurePlFrame (Tcl_Interp *interp, register PlFrame *plFramePtr, int argc, const char **argv, int flags) |
static int | Draw (Tcl_Interp *interp, register PlFrame *plFramePtr, int argc, const char **argv) |
static int | Info (Tcl_Interp *interp, register PlFrame *plFramePtr, int argc, const char **argv) |
static int | Openlink (Tcl_Interp *interp, register PlFrame *plFramePtr, int argc, const char **argv) |
static int | Closelink (Tcl_Interp *interp, register PlFrame *plFramePtr, int argc, const char **argv) |
static int | process_data (Tcl_Interp *interp, register PlFrame *plFramePtr) |
static int | Orient (Tcl_Interp *interp, register PlFrame *plFramePtr, int argc, const char **argv) |
static int | Print (Tcl_Interp *interp, register PlFrame *plFramePtr, int argc, const char **argv) |
static int | Page (Tcl_Interp *interp, register PlFrame *plFramePtr, int argc, const char **argv) |
static int | Redraw (Tcl_Interp *interp, register PlFrame *plFramePtr, int argc, const char **argv) |
static int | Save (Tcl_Interp *interp, register PlFrame *plFramePtr, int argc, const char **argv) |
static int | View (Tcl_Interp *interp, register PlFrame *plFramePtr, int argc, const char **argv) |
static int | xScroll (Tcl_Interp *interp, register PlFrame *plFramePtr, int argc, const char **argv) |
static int | yScroll (Tcl_Interp *interp, register PlFrame *plFramePtr, int argc, const char **argv) |
static int | report (Tcl_Interp *interp, register PlFrame *plFramePtr, int argc, const char **argv) |
Variables | |
static Tk_ConfigSpec | configSpecs [] |
#define FILECAST |
#define INSTALL_COLORMAP_IN_TK |
#define plframe_cmd | ( | code | ) | if ( ( code ) == TCL_ERROR ) return ( TCL_ERROR ); |
static int Closelink | ( | Tcl_Interp * | , | |
PlFrame * | , | |||
int | , | |||
const char ** | ||||
) | [static] |
static int Closelink | ( | Tcl_Interp * | interp, | |
register PlFrame * | plFramePtr, | |||
int | argc, | |||
const char ** | argv | |||
) | [static] |
static int Cmd | ( | Tcl_Interp * | , | |
PlFrame * | , | |||
int | , | |||
const char ** | ||||
) | [static] |
static int Cmd | ( | Tcl_Interp * | interp, | |
register PlFrame * | plFramePtr, | |||
int | argc, | |||
const char ** | argv | |||
) | [static] |
static int ColorManip | ( | Tcl_Interp * | , | |
PlFrame * | , | |||
int | , | |||
const char ** | ||||
) | [static] |
static int ColorManip | ( | Tcl_Interp * | interp, | |
register PlFrame * | plFramePtr, | |||
int | argc, | |||
const char ** | argv | |||
) | [static] |
static int ConfigurePlFrame | ( | Tcl_Interp * | , | |
PlFrame * | , | |||
int | , | |||
const char ** | , | |||
int | ||||
) | [static] |
static int ConfigurePlFrame | ( | Tcl_Interp * | interp, | |
register PlFrame * | plFramePtr, | |||
int | argc, | |||
const char ** | argv, | |||
int | flags | |||
) | [static] |
static void CreateRband | ( | PlFrame * | plFramePtr | ) | [static] |
static void CreateXhairs | ( | PlFrame * | plFramePtr | ) | [static] |
static void DestroyPlFrame | ( | FreeProcArg | clientData | ) | [static] |
static void DestroyRband | ( | PlFrame * | plFramePtr | ) | [static] |
static void DestroyXhairs | ( | PlFrame * | plFramePtr | ) | [static] |
static void DisplayPlFrame | ( | ClientData | clientData | ) | [static] |
static int Draw | ( | Tcl_Interp * | , | |
PlFrame * | , | |||
int | , | |||
const char ** | ||||
) | [static] |
static int Draw | ( | Tcl_Interp * | interp, | |
register PlFrame * | plFramePtr, | |||
int | argc, | |||
const char ** | argv | |||
) | [static] |
static void DrawRband | ( | PlFrame * | plFramePtr, | |
int | x0, | |||
int | y0 | |||
) | [static] |
static void DrawXhairs | ( | PlFrame * | plFramePtr, | |
int | x0, | |||
int | y0 | |||
) | [static] |
static int Info | ( | Tcl_Interp * | , | |
PlFrame * | , | |||
int | , | |||
const char ** | ||||
) | [static] |
static int Info | ( | Tcl_Interp * | interp, | |
register PlFrame * | plFramePtr, | |||
int | argc, | |||
const char ** | argv | |||
) | [static] |
static void Install_cmap | ( | PlFrame * | plFramePtr | ) | [static] |
static int Openlink | ( | Tcl_Interp * | , | |
PlFrame * | , | |||
int | , | |||
const char ** | ||||
) | [static] |
static int Openlink | ( | Tcl_Interp * | interp, | |
register PlFrame * | plFramePtr, | |||
int | argc, | |||
const char ** | argv | |||
) | [static] |
static int Orient | ( | Tcl_Interp * | , | |
PlFrame * | , | |||
int | , | |||
const char ** | ||||
) | [static] |
static int Orient | ( | Tcl_Interp * | interp, | |
register PlFrame * | plFramePtr, | |||
int | argc, | |||
const char ** | argv | |||
) | [static] |
static int Page | ( | Tcl_Interp * | , | |
PlFrame * | , | |||
int | , | |||
const char ** | ||||
) | [static] |
static int Page | ( | Tcl_Interp * | interp, | |
register PlFrame * | plFramePtr, | |||
int | argc, | |||
const char ** | argv | |||
) | [static] |
int plFrameCmd | ( | ClientData | clientData, | |
Tcl_Interp * | interp, | |||
int | argc, | |||
const char ** | argv | |||
) |
static void PlFrameConfigureEH | ( | ClientData | , | |
XEvent * | ||||
) | [static] |
static void PlFrameConfigureEH | ( | ClientData | clientData, | |
register XEvent * | eventPtr | |||
) | [static] |
static void PlFrameEnterEH | ( | ClientData | clientData, | |
register XEvent * | eventPtr | |||
) | [static] |
static void PlFrameExposeEH | ( | ClientData | clientData, | |
register XEvent * | eventPtr | |||
) | [static] |
static void PlFrameExposeEH | ( | ClientData | , | |
XEvent * | ||||
) | [static] |
static void PlFrameInit | ( | ClientData | clientData | ) | [static] |
static void PlFrameKeyEH | ( | ClientData | clientData, | |
register XEvent * | eventPtr | |||
) | [static] |
static void PlFrameLeaveEH | ( | ClientData | clientData, | |
register XEvent * | eventPtr | |||
) | [static] |
static void PlFrameMotionEH | ( | ClientData | clientData, | |
register XEvent * | eventPtr | |||
) | [static] |
static int PlFrameWidgetCmd | ( | ClientData | clientData, | |
Tcl_Interp * | interp, | |||
int | argc, | |||
const char ** | argv | |||
) | [static] |
static int Print | ( | Tcl_Interp * | , | |
PlFrame * | , | |||
int | , | |||
const char ** | ||||
) | [static] |
static int Print | ( | Tcl_Interp * | interp, | |
register PlFrame * | plFramePtr, | |||
int | argc, | |||
const char ** | argv | |||
) | [static] |
static void process_bop | ( | void * | clientData, | |
int * | skip_driver_bop | |||
) | [static] |
static int process_data | ( | Tcl_Interp * | interp, | |
register PlFrame * | plFramePtr | |||
) | [static] |
static void process_eop | ( | void * | clientData, | |
int * | skip_driver_eop | |||
) | [static] |
static int ReadData | ( | ClientData | clientData, | |
int | mask | |||
) | [static] |
static int Redraw | ( | Tcl_Interp * | interp, | |
register PlFrame * | plFramePtr, | |||
int | argc, | |||
const char ** | argv | |||
) | [static] |
static int Redraw | ( | Tcl_Interp * | , | |
PlFrame * | , | |||
int | , | |||
const char ** | ||||
) | [static] |
static int report | ( | Tcl_Interp * | interp, | |
register PlFrame * | plFramePtr, | |||
int | argc, | |||
const char ** | argv | |||
) | [static] |
static int report | ( | Tcl_Interp * | , | |
PlFrame * | , | |||
int | , | |||
const char ** | ||||
) | [static] |
static int Save | ( | Tcl_Interp * | , | |
PlFrame * | , | |||
int | , | |||
const char ** | ||||
) | [static] |
static int Save | ( | Tcl_Interp * | interp, | |
register PlFrame * | plFramePtr, | |||
int | argc, | |||
const char ** | argv | |||
) | [static] |
static int scol0 | ( | Tcl_Interp * | interp, | |
register PlFrame * | plFramePtr, | |||
int | i, | |||
const char * | col, | |||
int * | p_changed | |||
) | [static] |
static int scol1 | ( | Tcl_Interp * | interp, | |
register PlFrame * | plFramePtr, | |||
int | i, | |||
const char * | col, | |||
const char * | pos, | |||
const char * | rev, | |||
int * | p_changed | |||
) | [static] |
static void UpdateHScrollbar | ( | register PlFrame * | plFramePtr | ) | [static] |
static void UpdateRband | ( | PlFrame * | plFramePtr | ) | [static] |
static void UpdateVScrollbar | ( | register PlFrame * | plFramePtr | ) | [static] |
static void UpdateXhairs | ( | PlFrame * | plFramePtr | ) | [static] |
static int View | ( | Tcl_Interp * | , | |
PlFrame * | , | |||
int | , | |||
const char ** | ||||
) | [static] |
static int View | ( | Tcl_Interp * | interp, | |
register PlFrame * | plFramePtr, | |||
int | argc, | |||
const char ** | argv | |||
) | [static] |
static int xScroll | ( | Tcl_Interp * | interp, | |
register PlFrame * | plFramePtr, | |||
int | argc, | |||
const char ** | argv | |||
) | [static] |
static int xScroll | ( | Tcl_Interp * | , | |
PlFrame * | , | |||
int | , | |||
const char ** | ||||
) | [static] |
static int yScroll | ( | Tcl_Interp * | , | |
PlFrame * | , | |||
int | , | |||
const char ** | ||||
) | [static] |
static int yScroll | ( | Tcl_Interp * | interp, | |
register PlFrame * | plFramePtr, | |||
int | argc, | |||
const char ** | argv | |||
) | [static] |
Tk_ConfigSpec configSpecs[] [static] |