|
| void | errorExit (const char *,...) |
| |
| void | set_colors (void) |
| |
| template<class type > |
| capd::krak::Frame & | operator<< (capd::krak::Frame &f, const type &x) |
| |
| capd::krak::Frame & | operator<< (capd::krak::Frame &f, const capd::krak::At &at) |
| | Moves the current position to the cell refered by at, like: More...
|
| |
| capd::krak::frstring & | operator<< (capd::krak::frstring &out, capd::krak::Tab &t) |
| |
| int | frstrlen (const capd::krak::frstring &a_string) |
| |
| capd::krak::frstring | deitem (capd::krak::frstring &s) |
| |
| capd::krak::frstring | deitem_intitem (capd::krak::frstring &s) |
| |
| capd::krak::frstring | double2string (double number) |
| |
| capd::krak::frstring | byte2hex (unsigned char c) |
| |
| capd::krak::frstring | halfbyte2hex (unsigned char c) |
| |
| capd::krak::frstring | double2hex (double number) |
| |
| void | skipto (std::istream &in, capd::krak::frstring &s) |
| |
| int | confirm (capd::krak::Frame &jobfrm, const char *prompt, const char *yes, const char *no) |
| |
| void | job_restore_window (void) |
| |
| template<class OBJECT > |
| capd::krak::view_job & | operator<< (capd::krak::view_job &s, OBJECT &o) |
| |
| void | OpenGraphics (int hrs, int vrs, int bgcol, int fgcol, int ltx, int lty) |
| |
| void | CloseGraphics (void) |
| |
| void | SetBgCol (int col) |
| |
| void | SetFgCol (int col) |
| |
| void | MWLineTo (int i, int j) |
| |
| void | MoveTo (int i, int j) |
| |
| void | PlotDot (int i, int j) |
| |
| void | Crcl (int i, int j, int r) |
| |
| void | DrawStrng (const char *txt) |
| |
| void | FillRct (capd::krak::Rct *r, int pattNr, int colNr) |
| |
| void | GetMouse (capd::krak::Pxl *pxl) |
| |
| int | Button (void) |
| |
| double | Clock (void) |
| |
| long | tickClock (void) |
| |
| double | RClock (void) |
| |
| double | tck2sec (long) |
| |
| void | Beep (int freq, int time) |
| |
| char * | datetime (void) |
| |
| int | GetKey (void) |
| |
| int | button (void) |
| |
| void | delay (double t) |
| |
| void | closeGraphics (void) |
| |
| void | openGraphics (int hrs, int vrs, int bgcol, int fgcol, int ltx=100, int lty=100) |
| |
| void | clear (int color=WHITE) |
| |
| void | jump (int i, int j) |
| |
| void | draw (int i, int j, int color=FRAME_FG) |
| |
| void | drawText (const char *c, int i, int j, int color=FRAME_FG) |
| |
| void | dot (int i, int j, int color=FRAME_FG) |
| |
| void | circ (int pixelRow, int pixelColumn, int r, int color=FRAME_FG) |
| |
| void | circFill (int pixelRow, int pixelColumn, int r, int color=FRAME_FG, int pattern=SOLID_P) |
| |
| void | box (int lti, int ltj, int rbi, int rbj, int color=FRAME_FG) |
| |
| void | boxFill (int lti, int ltj, int rbi, int rbj, int color=FRAME_FG, int pattern=SOLID_P) |
| |
| void | polygon (int coords[], int nPoints, int color=FRAME_FG) |
| |
| void | polygonFill (int coords[], int nPoints, int color=FRAME_FG, int pattern=SOLID_P) |
| |
| void | arc (int leftTopPixelRow, int leftTopPixelColumn, int rightBottomPixelRow, int rightBottomPixelColumn, int begPixelRow, int begPixelColumn, int endPixelRow, int endPixelColumn, int color=FRAME_FG) |
| |
| void | arcFill (int leftTopPixelRow, int leftTopPixelColumn, int rightBottomPixelRow, int rightBottomPixelColumn, int begPixelRow, int begPixelColumn, int endPixelRow, int endPixelColumn, int color=FRAME_FG, int pattern=SOLID_P) |
| |
| void | ellipse (int leftTopPixelRow, int leftTopPixelColumn, int rightBottomPixelRow, int rightBottomPixelColumn, int color=FRAME_FG) |
| |
| void | ellipseFill (int leftTopPixelRow, int leftTopPixelColumn, int rightBottomPixelRow, int rightBottomPixelColumn, int color=FRAME_FG, int pattern=SOLID_P) |
| |
| void | keyAndMouse (int &key, int &row, int &col) |
| |
| void | mouse (int &row, int &col) |
| |
| void | setWorldCoord (double leftBottomX, double leftBottomY, double rightTopX, double rightTopY) |
| |
| void | jump (double x, double y) |
| |
| void | draw (double x, double y, int color=FRAME_FG) |
| |
| void | drawText (const char *c, double x, double y, int color=FRAME_FG) |
| |
| void | dot (double x, double y, int color=FRAME_FG) |
| |
| void | circ (double x, double y, double r, int color=FRAME_FG) |
| |
| void | circFill (double x, double y, double r, int color=FRAME_FG, int pattern=SOLID_P) |
| |
| void | box (double leftBottomX, double leftBottomY, double rightTopX, double rightTopY, int color=FRAME_FG) |
| |
| void | boxFill (double leftBottomX, double leftBottomY, double rightTopX, double rightTopY, int color=FRAME_FG, int pattern=SOLID_P) |
| |
| void | polygon (double coords[], int nPoints, int color=FRAME_FG) |
| |
| void | polygonFill (double coords[], int nPoints, int color=FRAME_FG, int pattern=SOLID_P) |
| |
| void | arc (double leftBottomX, double leftBottomY, double rightTopX, double rightTopY, double begX, double begY, double endX, double endY, int color=FRAME_FG) |
| |
| void | arcFill (double leftBottomX, double leftBottomY, double rightTopX, double rightTopY, double begX, double begY, double endX, double endY, int color=FRAME_FG, int pattern=SOLID_P) |
| |
| void | ellipse (double swx, double swy, double nex, double ney, int color=FRAME_FG) |
| |
| void | ellipseFill (double swx, double swy, double nex, double ney, int color=FRAME_FG, int pattern=SOLID_P) |
| |
| void | keyAndMouse (int &key, double &x, double &y) |
| |
| void | mouse (double x, double y) |
| |
| void | waitButton (void) |
| |
| void | setTextSize (int size) |
| |
| int | getTextSize (void) |
| |
| void | setBackgroundColor (int color) |
| |
| void | setForegroundColor (int color) |
| |
| void | FillChord (int ltj, int lti, int rbj, int rbi, int bj, int bi, int ej, int ei, int pattNr, int colNr) |
| |
| void | Arc (int ltj, int lti, int rbj, int rbi, int bj, int bi, int ej, int ei, int colNr) |
| |
| void | FillRgn (int *r, int lPoints, int pattNr, int colNr) |
| |
| void | SetTextSize (int) |
| |
| int | GetTextSize (void) |
| |
| void | waitBt (void) |
| |
| void | waitMouseBt (void) |
| |
| void | warning (const char *fmt,...) |
| |
| void | moveTo (double x, double y) |
| |
| void | lineTo (double x, double y) |
| |
| void | plotDot (double x, double y) |
| |
| void | Segment (int i0, int j0, int i1, int j1) |
| |
| void | Rctngl (int lti, int ltj, int rbi, int rbj) |
| |
| void | DrawRct (RCT *r) |
| |
| void | Square (int i, int j, int size) |
| |
| void | Cross (int i, int j, int size) |
| |
| void | Diamond (int i, int j, int size) |
| |
| void | Xcross (int i, int j, int size) |
| |
| int | linear (int x, int x0, int y0, int x1, int y1) |
| |
| void | SetRct (RCT *r, int lti, int ltj, int rbi, int rbj) |
| |
| unsigned long | EstimFreeMem (void) |
| |
| double | tr_cubic (double t) |
| |
| void | set_col (void) |
| |
| void | set_pat (void) |
| |
| void | free_pat (void) |
| |
| void | MarkPt3D (Frame *frm, double u, double v, double rb_col) |
| |
| void | DrawTxtg (Frame *frm, const char *buf) |
| |
| void | DrawTxtc (Frame *frm, const char *buf) |
| |
| void | Rctngl_at (Frame *frm, int lti, int ltj, int rbi, int rbj) |
| |
| void | outchar (Frame *frm, int row, int col, const char *ch) |
| |
| void | gprintf (Frame *frm, const char *fmt,...) |
| |
| void | gprintf_at (Frame *frm, int row, int col, const char *fmt,...) |
| |
| void | gcprintf (const char *fmt,...) |
| |
| void | gcprintf_at (int row, int col, const char *fmt,...) |
| |
| void | drawFrm (Frame *frmPtr) |
| |
| void | scaleFrm (Frame *frmPtr) |
| |
| void | clrFrm (Frame *frmPtr) |
| |
| void | selFrm (Frame *frmPtr) |
| |
| void | initFrm (Frame *frmPtr, int arglti, int argltj, int argrbi, int argrbj, int bgc=WHITE, int fgc=BLACK, int im=fontHght/2, int jm=fontWdth/2) |
| |
| void | dscrFrm (Frame *frm, double swx, double swy, double nex, double ney) |
| |
| Frame * | openRelFrm (Frame *prntFrm, int lti, int ltj, int rbi, int rbj) |
| |
| Frame * | openTRelFrm (Frame *prntFrm, int, int, int, int) |
| |
| Frame * | opdsRelFrm (Frame *prntFrm, int lti, int ltj, int rbi, int rbj, double swx, double swy, double nex, double ney) |
| |
| void | clseFrm (Frame *frm) |
| |
| void | Clear (Frame *frm, int color) |
| |
| void | redrawCtrlFrm (void) |
| |
| void | openCtrlFrm (int lti, int ltj, int rbi, int rbj) |
| |
| int | sc_i (double x) |
| |
| int | sc_j (double y) |
| |
| double | x_sc (int i) |
| |
| double | y_sc (int j) |
| |
| int | MouseInFrm (Frame *f) |
| |
| int | in_cFrm (double x, double y) |
| |
| int | inscr (int i, int j) |
| |
| int | inchar (void) |
| |
| void | getline (Frame *frm, int row, int col, char *txt) |
| |
| void | testExit (void) |
| |
| void | testPause (void) |
| |
| double | time_meter (void) |
| |
| long | tick_meter (void) |
| |
| void | bp (void) |
| |
| void | stop (void) |
| |
| void | struct_copy (void *from, void *to, int size) |
| |
| double | DREALmin (int count, double x) |
| |
| void | openDbgFrm (int lti, int ltj, int rbi, int rbj) |
| |
| void | vv (int i, double r) |
| |
| void | ww (int i, double r) |
| |
| void | qq (int b) |
| |
| void | pp (void) |
| |
| void | default_restore_window (void) |
| |
| void | pause (int i, int j, frstring s) |
| |
| void | SetUserMove (UserMove &um) |
| |
| int | GetUserMove (capd::krak::UserMove &um) |
| | Waits for user action and retuns it in (um) More...
|
| |
| void | WaitUserMove (capd::krak::UserMove &um, capd::krak::Rct &r, int bgColor, int fgColor, double freq) |
| | Makes the rectangle r blink with the prescribed frequency and the prescribed colors until a user action returned in um. More...
|
| |
| void | WaitUserMove (capd::krak::UserMove &um) |
| | Waits for user action and retuns it in um. More...
|
| |
| template<class type > |
| Frame & | operator<< (Frame &f, const type &x) |
| |
| void | vgprintf_at (capd::krak::Frame *frm, int row, int col, const char *fmt, std::va_list args) |
| |
| void | LineTo (int, int) |
| |
| void | getText (capd::krak::Frame &frm, capd::krak::frstring &text) |
| | Read a string from the keybord. More...
|
| |
| std::ostream & | operator<< (std::ostream &stream, ::capd::krak::frstring a_string) |
| |
| capd::krak::frstring | operator^ (const capd::krak::frstring &first_string, const capd::krak::frstring &second_string) |
| |
| capd::krak::frstring | operator^ (const char *t, const capd::krak::frstring &s) |
| |
| capd::krak::frstring | operator^ (const capd::krak::frstring &s, const char *t) |
| |
| int | operator+ (int an_int, capd::krak::frstring &s) |
| |
| void | getstring (std::istream &in, capd::krak::frstring &a_string, int len) |
| |
| void | gettoken (std::istream &in, capd::krak::frstring &a_string) |
| |
| void | get_to_eol (std::istream &in, capd::krak::frstring &a_string) |
| |
| void | get_line (std::istream &in, capd::krak::frstring &a_string) |
| |
| capd::krak::frstring | normalize (capd::krak::frstring &in) |
| |
| void | getitem (capd::krak::frstring &in, frstring &s) |
| |
| void | getitem (std::istream &in, frstring &s) |
| |
| double | string2double (const capd::krak::frstring &s) |
| |
| double | string2double (const capd::krak::frstring &s, int &k) |
| |
| int | string2int (capd::krak::frstring &s) |
| |
| capd::krak::frstring & | operator>> (capd::krak::frstring &in, char &c) |
| |
| capd::krak::frstring & | operator>> (capd::krak::frstring &in, int &n) |
| |
| capd::krak::frstring & | operator>> (capd::krak::frstring &in, double &d) |
| |
| capd::krak::frstring & | operator<< (capd::krak::frstring &out, char c) |
| |
| capd::krak::frstring & | operator<< (capd::krak::frstring &out, int n) |
| |
| capd::krak::frstring & | operator<< (capd::krak::frstring &out, double d) |
| |
| capd::krak::frstring & | operator<< (capd::krak::frstring &out, capd::krak::frstring f) |
| |
| capd::krak::view_job & | operator<< (capd::krak::view_job &v, capd::krak::frstring f) |
| |
| capd::krak::view_job & | operator<< (capd::krak::view_job &v, capd::krak::Tab &t) |
| |
| void | opengfxwndw (int wn, int hsr, int vsr, int bgcolor, int fgcolor, int argc, char **argv) |
| |
| void | handleExpose (void(*expose)()) |
| |
| void | handleResize (void(*resize)()) |
| |
| void | eventloop (void(*expose)(), void(*resize)(), void(*buttonpress)()) |
| |
| void | handleEvents (void) |
| |
| long | tckClock (void) |
| |
| void | restore_window_settings (HWND hwnd, HDC hdc) |
| |
| void | restore_window_attributes (HWND hwnd, HDC hdc) |
| |
| void | outchar (capd::krak::Frame *frm, INT row, INT col, char ch) |
| |
| void | PlotDot (wxDC &dc, wxPen &pen, int i, int j) |
| |
| void | MWLineTo (wxDC &dc, wxPen &pen, int i, int j) |
| |
| void | Crcl (wxDC &dc, wxPen &pen, int i, int j, int r) |
| |
| void | FillRct (wxDC &dc, Rct *r, int pattNr, int colNr) |
| |
| double | getAngle (int x, int y) |
| |
| void | FillChord (wxDC &dc, int ltj, int lti, int rbj, int rbi, double start, double end, int pattNr, int colNr) |
| |
| void | Arc (wxDC &dc, wxPen &pen, int ltj, int lti, int rbj, int rbi, double start, double end) |
| |
| void | FillRgn (wxDC &dc, int n, wxPoint points[], int pattNr, int colNr) |
| |
| int | DrawStrng (wxDC &dc, wxFont &font, const char *txt) |
| |
|
| void(* | restore_window )(void) |
| |
| int | fontHght =F_HGHT |
| |
| int | fontWdth =F_WDTH |
| |
| Frame | rootFrame |
| |
| Frame * | rootFrm =NULL |
| |
| PATTWORD * | patt_pntr [] |
| |
| capd::krak::Frame * | cFrm =NULL |
| |
| char | colorname [24][24] |
| |
| int | gray [] |
| |
| int | c_bgcol |
| |
| int | c_fgcol |
| |
| float | red_c [MAX_PALETTE] |
| |
| float | green_c [MAX_PALETTE] |
| |
| float | blue_c [MAX_PALETTE] |
| |
| int | isgraphic =1 |
| |
| int | top_marg_size =0 |
| |
| int | buttonState =0 |
| |
| int | lastKey =NO_KEY |
| |
| unsigned int | bttn_mask |
| |
| struct timeval | tp |
| |
| int | what_restore |
| |
| capd::krak::Frame * | statFrm =NULL |
| |
| capd::krak::Frame * | goFrm =NULL |
| |
| capd::krak::Frame * | stopFrm =NULL |
| |
| capd::krak::Frame * | exitFrm =NULL |
| |
| capd::krak::Frame * | ctrlFrm =NULL |
| |
| int | graphics_selected |
| |
| int | Hrs |
| |
| int | Vrs |
| |
| double | scr_ratio |
| |
| PATTWORD | empty_p [] ={0,0,0,0, 0,0,0,0} |
| |
| PATTWORD | solid_p [] ={0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF} |
| |
| PATTWORD | hline_p [] ={0,0xFF,0,0xFF,0,0xFF,0,0xFF} |
| |
| PATTWORD | vline_p [] ={0x55,0x55,0x55,0x55, 0x55,0x55,0x55,0x55} |
| |
| PATTWORD | dhline_p [] ={0,0,0xFF,0xFF,0,0,0xFF,0xFF} |
| |
| PATTWORD | dvline_p [] ={0x33,0x33,0x33,0x33,0x33,0x33,0x33,0x33} |
| |
| PATTWORD | dot_p [] ={0xAA,0x55,0xAA,0x55,0xAA,0x55,0xAA,0x55} |
| |
| PATTWORD | ddot_p [] ={0xCC,0xCC,0x33,0x33,0xCC,0xCC,0x33,0x33} |
| |
| PATTWORD | dust_p [] ={0x88,0,0,0,0x88,0,0,0} |
| |
| PATTWORD | ddust_p [] ={0,0,0x0C,0x0C,0,0,0,0} |
| |
| PATTWORD | slash_p [] ={0x88,0x11,0x22,0x44,0x88,0x11,0x22,0x44} |
| |
| PATTWORD | islash_p [] ={0x11,0x88,0x44,0x22,0x11,0x88,0x44,0x22} |
| |
| PATTWORD | whdline_p [] ={0xEE,0,0,0,0x77,0,0,0} |
| |
| PATTWORD | dwhdline_p [] ={0xF0,0xF0,0,0,0,0,0,0} |
| |
| PATTWORD | hash_p [] ={0xFF,0x55,0xFF,0x55,0xFF,0x55,0xFF,0x55} |
| |
| PATTWORD | dhash_p [] ={0xFF,0xFF,0x33,0x33,0xFF,0xFF,0x33,0x33} |
| |
| PATTWORD | whash_p [] ={0xEE,0x11,0x11,0x11,0xEE,0x11,0x11,0x11} |
| |
| PATTWORD | dwhash_p [] ={0xF3,0xF3,0x33,0x33,0x33,0x33,0x33,0x33} |
| |
| PATTWORD | wvline_p [] ={0x11,0x11,0x11,0x11,0x11,0x11,0x11,0x11} |
| |
| PATTWORD | vdot_p [] ={0xAA,0xAA,0x55,0x55,0xAA,0xAA,0x55,0x55} |
| |
| XColor | exact_defs [MAX_PALETTE] |
| |
| Pixmap | stipple [30] |
| |
| GC | drawgc |
| |
| unsigned long | fg_pixel |
| |
| unsigned long | bg_pixel |
| |
| unsigned long | valuemask = 0 |
| |
| XGCValues | values |
| |
| Window | win |
| |
| unsigned int | WX = 0 |
| |
| unsigned int | WY = 0 |
| |
| unsigned int | border_width = 4 |
| |
| XSizeHints | size_hints |
| |
| XEvent | report |
| |
| XFontStruct * | font_info |
| |
| char * | display_name = NULL |
| |
| Region | region |
| |
| XRectangle | rectangle |
| |
| Display * | display |
| |
| int | screen |
| |
| char * | fontname = "9x15" |
| |
| int | default_depth |
| |
| Colormap | default_cmap |
| |
| long unsigned int | plane_masks [1] |
| |
| XVisualInfo | visual_info |
| |
| int | Class |
| |
| long unsigned int | colors [MAX_PALETTE] |
| |
| int | color_no |
| |
| int | c_ipstn =0 |
| |
| int | c_jpstn =0 |
| |
| long | event_mask |
| |