CAPD DynSys Library  5.2.0
Krak

Files

file  appl-mac.c
 
file  atom.cpp
 
file  chain.cpp
 
file  color.cpp
 
file  coord3d.cpp
 
file  dos16.c
 
file  frame.cpp
 
file  frstring.cpp
 
file  item.cpp
 
file  job.cpp
 
file  kernel.cpp
 
file  linux.c
 
file  ms-dos.c
 
file  ms-dosch.c
 
file  ms-win95.c
 
file  noframe.cpp
 
file  primitiv.cpp
 
file  sun-os.c
 
file  sun.c
 
file  sun_v.c
 
file  unix-ch.c
 
file  unix_ch.c
 
file  usermove.cpp
 
file  wxWin.c
 

Namespaces

 capd
 

Classes

class  capd::krak::Frame
 

Macros

#define WHITE   0
 
#define BLACK   1
 
#define RED   2
 
#define GREEN   3
 
#define BLUE   4
 
#define YELLOW   5
 
#define MAGENTA   6
 
#define CYAN   7
 
#define ORANGE   8
 
#define VIOLET   9
 
#define PINE   10
 
#define BROWN   11
 
#define OLIVE   12
 
#define DARKBLUE   13
 
#define ORANGERED   14
 
#define BLUEGREEN   15
 
#define FRAME_FG   -1
 
#define FRAME_BG   -2
 
#define gout   rootFrame
 
#define main()   mainEntry(int,char**)
 
#define SetColor(c, r, g, b)   red_c[c]=r;green_c[c]=g;blue_c[c]=b;
 
#define CHECK   if (!frm) return;
 
#define CHECK2(x)   if (!frm) return (x);
 
#define JUMP_FRM
 
#define ALPHA   0.433
 
#define BETA   0.250
 
#define CHK_BOUND(c, f)
 
#define TOP   rootFrame << At(0,0)
 
#define _low_level_
 
#define SC(c, r, g, b)   red_a[c]=r;green_a[c]=g;blue_a[c]=b;
 
#define MYCOL(c)   (c+1)
 
#define MAKERGB(c)
 
#define TRANSLATE_COLOR(c)   ((use_palette) ? (PALETTEINDEX(c)) : (MAKERGB(c)))
 
#define SEPARATOR   ';'
 
#define SC(c, r, g, b)   red_a[c]=r;green_a[c]=g;blue_a[c]=b;
 
#define SC(c, r, g, b)   red_a[c]=r;green_a[c]=g;blue_a[c]=b;
 
#define SEEK_SET   0
 
#define MWLineTo   LineTo
 
#define TRANSLATE_COLOR(c)
 

Typedefs

typedef short int SINT
 
typedef int INT
 
typedef long DINT
 
typedef unsigned char BYTE
 
typedef unsigned short WORD
 
typedef unsigned long DWORD
 
typedef float REAL
 
typedef double DREAL
 

Enumerations

enum  capd::krak::FunctKeys {
  capd::krak::BSKey =8, capd::krak::TabKey, capd::krak::CRKey =13, capd::krak::PgUpKey,
  capd::krak::PgDnKey, capd::krak::EndKey, capd::krak::HomeKey, capd::krak::LeftKey,
  capd::krak::UpKey, capd::krak::RightKey, capd::krak::DownKey, capd::krak::InsKey,
  capd::krak::DelKey, capd::krak::EscKey =27, capd::krak::F1Key =89, capd::krak::F2Key,
  capd::krak::F3Key, capd::krak::F4Key, capd::krak::F5Key, capd::krak::F6Key,
  capd::krak::F7Key, capd::krak::F8Key, capd::krak::F9Key, capd::krak::DragKey =DRAG_KEY,
  capd::krak::ButtonKey =BUTTON_KEY, capd::krak::NoKey =NO_KEY, capd::krak::BSKey =8, capd::krak::TabKey,
  capd::krak::CRKey =13, capd::krak::PgUpKey, capd::krak::PgDnKey, capd::krak::EndKey,
  capd::krak::HomeKey, capd::krak::LeftKey, capd::krak::UpKey, capd::krak::RightKey,
  capd::krak::DownKey, capd::krak::InsKey, capd::krak::DelKey, capd::krak::EscKey =27,
  capd::krak::F1Key =89, capd::krak::F2Key, capd::krak::F3Key, capd::krak::F4Key,
  capd::krak::F5Key, capd::krak::F6Key, capd::krak::F7Key, capd::krak::F8Key,
  capd::krak::F9Key, capd::krak::DragKey =DRAG_KEY, capd::krak::ButtonKey =BUTTON_KEY, capd::krak::NoKey =NO_KEY
}
 

Functions

void capd::krak::OpenGraphics (int hrs, int vrs, int bgcol, int fgcol, int ltx, int lty)
 
void capd::krak::CloseGraphics (void)
 
void capd::krak::SetBgCol (int col)
 
void capd::krak::SetFgCol (int col)
 
void capd::krak::MWLineTo (int i, int j)
 
void capd::krak::MoveTo (int i, int j)
 
void capd::krak::PlotDot (int i, int j)
 
void capd::krak::Crcl (int i, int j, int r)
 
void capd::krak::DrawStrng (const char *txt)
 
void capd::krak::FillRct (capd::krak::Rct *r, int pattNr, int colNr)
 
void capd::krak::GetMouse (capd::krak::Pxl *pxl)
 
int capd::krak::Button (void)
 
double capd::krak::Clock (void)
 
long capd::krak::tickClock (void)
 
double capd::krak::RClock (void)
 
double capd::krak::tck2sec (long)
 
void capd::krak::Beep (int freq, int time)
 
char * capd::krak::datetime (void)
 
int capd::krak::GetKey (void)
 
 capd::krak::Frame::Frame (void)
 
 capd::krak::Frame::Frame (int lti, int ltj, int rbi, int rbj, int bgc=WHITE, int fgc=BLACK, int im=fontWdth/2, int jm=fontHght/2)
 
void capd::krak::Frame::setWorldCoord (double swx, double swy, double nex, double ney)
 
void capd::krak::Frame::Clear (void)
 
void capd::krak::Frame::Clear (int color)
 
void capd::krak::Frame::Bound (int color=BLACK)
 
void capd::krak::Frame::SetBgColor (int c)
 
void capd::krak::Frame::SetFgColor (int c)
 
void capd::krak::Frame::jump (int i, int j)
 
void capd::krak::Frame::draw (int i, int j, int color=FRAME_FG)
 
void capd::krak::Frame::drawText (const char *c, int i, int j, int color=FRAME_FG)
 
void capd::krak::Frame::dot (int i, int j, int color=FRAME_FG)
 
void capd::krak::Frame::circle (int i, int j, int r, int color=FRAME_FG)
 
void capd::krak::Frame::line (int i1, int j1, int i2, int j2, int color=FRAME_FG)
 
void capd::krak::Frame::box (int lti, int ltj, int rbi, int rbj, int color=FRAME_FG)
 
void capd::krak::Frame::boxFill (int lti, int ltj, int rbi, int rbj, int col, int pattern=SOLID_P)
 
void capd::krak::Frame::jump (double x, double y)
 
void capd::krak::Frame::draw (double x, double y, int color=FRAME_FG)
 
void capd::krak::Frame::drawText (const char *c, double x, double y, int color=FRAME_FG)
 
void capd::krak::Frame::dot (double x, double y, int color=FRAME_FG)
 
void capd::krak::Frame::circle (double x, double y, int r, int color=FRAME_FG)
 
void capd::krak::Frame::line (double x1, double y1, double x2, double y2, int color=FRAME_FG)
 
void capd::krak::Frame::box (double swx, double swy, double nex, double ney, int color=FRAME_FG)
 
void capd::krak::Frame::boxFill (double swx, double swy, double nex, double ney, int col, int pattern=SOLID_P)
 
void capd::krak::Frame::Xcrss (double x, double y, int size=1, int color=FRAME_FG)
 
int capd::krak::Frame::precision (int p)
 
Framecapd::krak::Frame::operator<< (char c)
 
Framecapd::krak::Frame::operator<< (int n)
 
Framecapd::krak::Frame::operator<< (long n)
 
Framecapd::krak::Frame::operator<< (double r)
 
Framecapd::krak::Frame::operator<< (const char *text)
 
Framecapd::krak::Frame::operator<< (const capd::krak::FgColor &c)
 
Framecapd::krak::Frame::operator<< (const capd::krak::BgColor &c)
 
Framecapd::krak::Frame::operator<< (capd::krak::Tab tab)
 
Framecapd::krak::Frame::operator>> (const capd::krak::At &at)
 
Framecapd::krak::Frame::operator>> (const capd::krak::FgColor &c)
 
Framecapd::krak::Frame::operator>> (const capd::krak::BgColor &c)
 
Framecapd::krak::Frame::operator>> (int &n)
 
Framecapd::krak::Frame::operator>> (long &n)
 
Framecapd::krak::Frame::operator>> (double &r)
 
capd::krak::Framecapd::krak::operator<< (capd::krak::Frame &f, const capd::krak::At &at)
 Moves the current position to the cell refered by at, like: More...
 
int capd::krak::button (void)
 
void capd::krak::delay (double t)
 
void capd::krak::closeGraphics (void)
 
void capd::krak::openGraphics (int hrs, int vrs, int bgcol, int fgcol, int ltx=100, int lty=100)
 
void capd::krak::clear (int color=WHITE)
 
void capd::krak::jump (int i, int j)
 
void capd::krak::draw (int i, int j, int color=FRAME_FG)
 
void capd::krak::drawText (const char *c, int i, int j, int color=FRAME_FG)
 
void capd::krak::dot (int i, int j, int color=FRAME_FG)
 
void capd::krak::circ (int pixelRow, int pixelColumn, int r, int color=FRAME_FG)
 
void capd::krak::circFill (int pixelRow, int pixelColumn, int r, int color=FRAME_FG, int pattern=SOLID_P)
 
void capd::krak::box (int lti, int ltj, int rbi, int rbj, int color=FRAME_FG)
 
void capd::krak::boxFill (int lti, int ltj, int rbi, int rbj, int color=FRAME_FG, int pattern=SOLID_P)
 
void capd::krak::polygon (int coords[], int nPoints, int color=FRAME_FG)
 
void capd::krak::polygonFill (int coords[], int nPoints, int color=FRAME_FG, int pattern=SOLID_P)
 
void capd::krak::arc (int leftTopPixelRow, int leftTopPixelColumn, int rightBottomPixelRow, int rightBottomPixelColumn, int begPixelRow, int begPixelColumn, int endPixelRow, int endPixelColumn, int color=FRAME_FG)
 
void capd::krak::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 capd::krak::ellipse (int leftTopPixelRow, int leftTopPixelColumn, int rightBottomPixelRow, int rightBottomPixelColumn, int color=FRAME_FG)
 
void capd::krak::ellipseFill (int leftTopPixelRow, int leftTopPixelColumn, int rightBottomPixelRow, int rightBottomPixelColumn, int color=FRAME_FG, int pattern=SOLID_P)
 
void capd::krak::keyAndMouse (int &key, int &row, int &col)
 
void capd::krak::mouse (int &row, int &col)
 
void capd::krak::setWorldCoord (double leftBottomX, double leftBottomY, double rightTopX, double rightTopY)
 
void capd::krak::jump (double x, double y)
 
void capd::krak::draw (double x, double y, int color=FRAME_FG)
 
void capd::krak::drawText (const char *c, double x, double y, int color=FRAME_FG)
 
void capd::krak::dot (double x, double y, int color=FRAME_FG)
 
void capd::krak::circ (double x, double y, double r, int color=FRAME_FG)
 
void capd::krak::circFill (double x, double y, double r, int color=FRAME_FG, int pattern=SOLID_P)
 
void capd::krak::box (double leftBottomX, double leftBottomY, double rightTopX, double rightTopY, int color=FRAME_FG)
 
void capd::krak::boxFill (double leftBottomX, double leftBottomY, double rightTopX, double rightTopY, int color=FRAME_FG, int pattern=SOLID_P)
 
void capd::krak::polygon (double coords[], int nPoints, int color=FRAME_FG)
 
void capd::krak::polygonFill (double coords[], int nPoints, int color=FRAME_FG, int pattern=SOLID_P)
 
void capd::krak::arc (double leftBottomX, double leftBottomY, double rightTopX, double rightTopY, double begX, double begY, double endX, double endY, int color=FRAME_FG)
 
void capd::krak::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 capd::krak::ellipse (double swx, double swy, double nex, double ney, int color=FRAME_FG)
 
void capd::krak::ellipseFill (double swx, double swy, double nex, double ney, int color=FRAME_FG, int pattern=SOLID_P)
 
void capd::krak::keyAndMouse (int &key, double &x, double &y)
 
void capd::krak::mouse (double x, double y)
 
void capd::krak::waitButton (void)
 
void capd::krak::setTextSize (int size)
 
int capd::krak::getTextSize (void)
 
void capd::krak::setBackgroundColor (int color)
 
void capd::krak::setForegroundColor (int color)
 
void ShowCursor (void)
 
void InitMouse ()
 
void HideCursor ()
 
void GetPos (int *i, int *j)
 
int GetButtons ()
 
void SetFgCol (int col)
 
void set_col () begin SC(WHITE
 
void SC (BLACK, 0.0, 0.0, 0.0)
 
 SC (RED, 1.0, 0.0, 0.0)
 
 SC (GREEN, 0.0, 1.0, 0.0)
 
 SC (BLUE, 0.0, 0.0, 1.0)
 
 SC (YELLOW, 1.0, 1.0, 0.0)
 
 SC (MAGENTA, 1.0, 0.0, 1.0)
 
 SC (CYAN, 0.0, 1.0, 1.0)
 
 SC (ORANGE, 1.0, 0.7, 0.0)
 
 SC (VIOLET, 0.6, 0.0, 0.6)
 
 SC (PINE, 0.0, 0.5, 0.0)
 
 SC (BROWN, 0.6, 0.0, 0.0)
 
 SC (OLIVE, 0.6, 0.6, 0.0)
 
 SC (DARKBLUE, 0.0, 0.0, 0.6)
 
 SC (ORANGERED, 1.0, 0.5, 0.5)
 
 SC (BLUEGREEN, 0.5, 1.0, 0.8)
 
int mainEntry (int argc, char *argv[]) __attribute__((weak))
 
void EmptyMQueue (void)
 
int PASCAL WinMain (HINSTANCE hI, HINSTANCE hPI, LPSTR lpszCmd, int nCS)
 
long FAR PASCAL _export WndProc (HWND hwnd, WORD message, WORD wParam, LONG lParam)
 
void set_pat ()
 
void free_pat ()
 
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)
 
void OpenGraphics (INT hres, INT vres, INT bg_col, INT fg_col, INT ltx, INT lty)
 
void CloseGraphics (void)
 
void SetBgCol (INT col)
 
void PlotDot (INT i, INT j)
 
void MoveTo (INT i, INT j)
 
void LineTo (INT i, INT j)
 
void Crcl (INT i, INT j, INT r)
 
void FillRct (RCT *r, INT pattern, INT color)
 
void DrawStrng (const char *txt)
 
int Button (void)
 
void GetMouse (PXL *pt)
 
DREAL Clock (void)
 
DREAL RClock (void)
 
void Beep (INT freq, INT t)
 
char * datetime (void)
 
int GetKey (void)
 
void capd::krak::hlink::empty (void)
 
linkcapd::krak::hlink::getfirst (void)
 
linkcapd::krak::hlink::getlast (void)
 
linkcapd::krak::hlink::first (void)
 
linkcapd::krak::hlink::last (void)
 
void capd::krak::hlink::putfirst (link &a_link)
 
void capd::krak::hlink::putrand (link &a_link)
 
void capd::krak::hlink::putlast (link &a_link)
 
void capd::krak::hlink::show (capd::krak::Frame &frm)
 
int capd::krak::hlink::len (void)
 
void capd::krak::hlink::cut (int pos, hlink &head2)
 
void capd::krak::hlink::merge (hlink *head2)
 
void capd::krak::hlink::sort (int l)
 
 capd::krak::Coord3D::Coord3D (capd::krak::Frame *_frm=NULL)
 Creates a new Coord3D object. More...
 
capd::krak::Framecapd::krak::Coord3D::setFrame (capd::krak::Frame *f)
 Sets the frame of the object to _frm . More...
 
double capd::krak::Coord3D::setScale (double s)
 Sets the scale of the system to scale . More...
 
int capd::krak::Coord3D::setFgColor (int fc)
 Sets the foreground color of the attached frame to color . More...
 
int capd::krak::Coord3D::fgColor ()
 Returns the foreground color of the attached frame. More...
 
int capd::krak::Coord3D::setBgColor (int bc)
 Sets the background color of the attached frame to color . More...
 
int capd::krak::Coord3D::bgColor ()
 Returns the background color of the attached frame. More...
 
virtual void capd::krak::Coord3D::clear ()
 Clears the attached frame. More...
 
void capd::krak::Coord3D::setCenter (int i, int j)
 Sets the center (i.e. More...
 
virtual void capd::krak::Coord3D::jump (const Point3D &pt)
 Jumps to the point pt . More...
 
virtual void capd::krak::Coord3D::jump (double x, double y, double z)
 Jumps to the point (_x, _y , _z ) . More...
 
virtual void capd::krak::Coord3D::dot (double x, double y, double z, int color=FRAME_FG)
 Draws a dot at the position (x, y , z) . More...
 
virtual void capd::krak::Coord3D::lineTo (double x, double y, double z, int color=FRAME_FG)
 Draws a line from the current position the position (x), y , z . More...
 
virtual void capd::krak::Coord3D::line (double x1, double y1, double z1, double x2, double y2, double z2, int color=FRAME_FG)
 Draws a line from the point (x1, y1 , z1 ) to (x2 , y2 , z2 ) . More...
 
virtual void capd::krak::Coord3D::box (double x1, double y1, double z1, double x2, double y2, double z2, int color=FRAME_FG)
 Draws a box with a corner in (x1, y1 , z1 ) and and in (x2, y2 , z2). More...
 
virtual void capd::krak::Coord3D::Xcrss (double x, double y, double z, int size=1, int color=FRAME_FG)
 Draw a cross with in the point (x), y , z and and in (x2), y2 , z2 . More...
 
 capd::krak::IsomCoord3D::IsomCoord3D (capd::krak::Frame *frm=NULL, int orient=0)
 Creates a IsomCoord3D object. More...
 
virtual void capd::krak::IsomCoord3D::map (double x, double y, double z, int *i, int *j)
 Maps the 3D coordinates of the point (x), y , z to the frame pixel coordinates. More...
 
virtual int capd::krak::IsomCoord3D::orientation ()
 Returns the orientation of the system. More...
 
virtual int capd::krak::IsomCoord3D::setOrientation (int i)
 Sets the orientation of the system. More...
 
virtual void capd::krak::IsomCoord3D::drawAxis ()
 Draws the axis of the system. More...
 
void capd::krak::Frame::initFrm (int arglti, int argltj, int argrbi, int argrbj, int bgc=WHITE, int fgc=BLACK, int im=fontHght/2, int jm=fontWdth/2)
 
void capd::krak::Frame::Locate (Frame &prntFrm, int lti, int ltj, int rbi, int rbj)
 Moves the left top corner to (arglti, argltj) and the left botton corner to (argrbi, argrbj) where the coordinates are given in percentage. More...
 
void capd::krak::Frame::Locate (Frame &prntFrm, capd::krak::At &lt, capd::krak::At &rb)
 Moves the left top corner to lt and the left botton corner to rb where the coordinates are given in text cells. More...
 
 capd::krak::Frame::Frame (Frame &prntFrm, int lti, int ltj, int rbi, int rbj, int bgc=WHITE, int fgc=BLACK, int im=fontHght/2, int jm=fontWdth/2)
 Generates a new frame as a subframe of prntFrm with left top corner (lti,ltj),right bottom corner at (rbi,rbj), where the coordinates are given in percentage of the horizontal and vertical size of the parent frame. More...
 
 capd::krak::Frame::Frame (const Frame &prntFrm, const capd::krak::At &lt, const capd::krak::At &rb, int bgc=WHITE, int fgc=BLACK, int im=fontWdth/2, int jm=fontHght/2)
 Generates a new frame as a subframe of prntFrm with left top corner lt, right bottom corner at rb, where the coordinates are given in columns and rows of the parent frame. More...
 
 capd::krak::Frame::Frame (Frame &prntFrm, int lti, int ltj, int rbi, int rbj, double swx, double swy, double nex, double ney, int bgc=WHITE, int fgc=BLACK, int im=fontHght/2, int jm=fontWdth/2)
 Generates a new frame as a subframe of prntFrm and sets the world coordinates and colors. More...
 
Framecapd::krak::Frame::operator<< (const capd::krak::colstring &a_colstring)
 Print a color text on the frame. More...
 
Framecapd::krak::Frame::operator<< (const capd::krak::frstring &a_string)
 Outputs the string a_string on the frame. More...
 
Framecapd::krak::Frame::operator>> (capd::krak::frstring &a_string)
 Reads a string from the keyboard. More...
 
int capd::krak::Frame::Edit (At at, int no_col, capd::krak::frstring &s)
 A more sophisticated version of getText. More...
 
 capd::krak::frstring::frstring (const char *init_string)
 
 capd::krak::frstring::frstring (void)
 
 capd::krak::frstring::frstring (const frstring &from)
 
frstringcapd::krak::frstring::operator= (double a_double)
 
int capd::krak::frstring::operator+ (frstring &second_string)
 
int capd::krak::frstring::operator+ (int an_int)
 
frstringcapd::krak::frstring::operator= (const frstring &second_string)
 
frstringcapd::krak::frstring::operator= (const char *c)
 
int capd::krak::frstring::operator== (const frstring &second_string)
 
int capd::krak::frstring::operator<= (frstring &second_string)
 
int capd::krak::frstring::operator>= (frstring &second_string)
 
int capd::krak::frstring::operator< (frstring &second_string)
 
int capd::krak::frstring::operator> (frstring &second_string)
 
frstring capd::krak::frstring::operator[] (int last)
 
frstring capd::krak::frstring::operator() (int first) const
 
frstring capd::krak::frstring::operator() (int first, int last) const
 
void capd::krak::frstring::insert (int pos, char c)
 
void capd::krak::frstring::remove (int pos)
 
void capd::krak::frstring::split (int ncol)
 
virtual void capd::krak::frstring::resize (int len)
 
virtual void capd::krak::frstring::put (std::ostream &out)
 
frstring capd::krak::frstring::getFirstItem (void)
 
frstring capd::krak::frstring::extractFirstItem (void)
 
frstring capd::krak::frstring::operator++ (void)
 
frstring capd::krak::frstring::operator++ (int)
 
frstring capd::krak::frstring::operator-- (void)
 
frstring capd::krak::frstring::rmqm (void)
 
 capd::krak::flexstring::flexstring (const char *init_string)
 
 capd::krak::flexstring::flexstring (void)
 
 capd::krak::flexstring::flexstring (const frstring &from)
 
virtual capd::krak::flexstring::~flexstring (void)
 
virtual void capd::krak::flexstring::resize (int len)
 
flexstringcapd::krak::flexstring::operator= (double d)
 
flexstringcapd::krak::flexstring::operator= (frstring &second_string)
 
 capd::krak::colstring::colstring (void)
 
 capd::krak::colstring::colstring (int bgc, int fgc, const char *init_string)
 
 capd::krak::colstring::colstring (int bgc, int fgc, const frstring &from)
 
recordcapd::krak::record::framecopy (void)
 
recordcapd::krak::record::novalcopy (void)
 
capd::krak::varcapd::krak::record::operator[] (capd::krak::frstring &s)
 
void capd::krak::record::update (void)
 
 capd::krak::job::job (void)
 
static jobcapd::krak::job::userSelectedJob (capd::krak::UserMove &um)
 
jobcapd::krak::job::selectJob (capd::krak::UserMove &um)
 
int capd::krak::job::exists (job *jobPt)
 
int capd::krak::job::exists (int type)
 
static void capd::krak::job::mainLoop (void)
 
virtual void capd::krak::job::launch (job *prnt=rootJob)
 
virtual void capd::krak::job::terminate (void)
 
virtual void capd::krak::job::repaint (void)
 
int capd::krak::confirm (capd::krak::Frame &jobfrm, const char *prompt, const char *yes, const char *no)
 
virtual Stat capd::krak::basic_job::process (capd::krak::UserMove &um)
 
virtual void capd::krak::basic_job::own_repaint (void)
 
virtual void capd::krak::sel_job::launch (job *prnt=rootJob)
 
virtual void capd::krak::sel_job::own_repaint (void)
 
virtual int capd::krak::sel_job::MakeSelection (capd::krak::UserMove &um)
 
void capd::krak::sel_job::testUpDown (capd::krak::UserMove &um)
 
virtual capd::krak::Stat capd::krak::sel_job::process (capd::krak::UserMove &um)
 
virtual capd::krak::Stat capd::krak::view_job::process (capd::krak::UserMove &um)
 
virtual void capd::krak::view_job::own_repaint (void)
 
void capd::krak::view_job::open (int read=0)
 
virtual capd::krak::Stat capd::krak::menu_job::process (capd::krak::UserMove &um)
 
virtual void capd::krak::del_ins_job::own_repaint (void)
 
virtual capd::krak::Stat capd::krak::del_ins_job::process (capd::krak::UserMove &um)
 
virtual void capd::krak::ed_rec_job::own_repaint (void)
 
virtual capd::krak::Stat capd::krak::ed_rec_job::process (capd::krak::UserMove &um)
 
unsigned long capd::krak::EstimFreeMem (void)
 
void capd::krak::DrawTxtg (Frame *frm, const char *buf)
 
void capd::krak::DrawTxtc (Frame *frm, const char *buf)
 
void capd::krak::Rctngl_at (Frame *frm, int lti, int ltj, int rbi, int rbj)
 
void capd::krak::gprintf (Frame *frm, const char *fmt,...)
 
void capd::krak::gprintf_at (Frame *frm, int row, int col, const char *fmt,...)
 
void capd::krak::vgprintf_at (capd::krak::Frame *frm, int row, int col, const char *fmt, std::va_list args)
 
void capd::krak::gcprintf (const char *fmt,...)
 
void capd::krak::gcprintf_at (int row, int col, const char *fmt,...)
 
void capd::krak::waitMouseBt (void)
 
void capd::krak::waitBt (void)
 
void capd::krak::errorExit (const char *,...)
 
void capd::krak::warning (const char *fmt,...)
 
void capd::krak::moveTo (double x, double y)
 
void capd::krak::lineTo (double x, double y)
 
void capd::krak::plotDot (double x, double y)
 
void capd::krak::Segment (int i0, int j0, int i1, int j1)
 
void capd::krak::Rctngl (int lti, int ltj, int rbi, int rbj)
 
void capd::krak::DrawRct (RCT *r)
 
void capd::krak::Square (int i, int j, int size)
 
void capd::krak::Cross (int i, int j, int size)
 
void capd::krak::Diamond (int i, int j, int size)
 
void capd::krak::Xcross (int i, int j, int size)
 
void capd::krak::MarkPt3D (Frame *frm, double u, double v, double rb_col)
 
int capd::krak::linear (int x, int x0, int y0, int x1, int y1)
 
void capd::krak::SetRct (RCT *r, int lti, int ltj, int rbi, int rbj)
 
void capd::krak::drawFrm (Frame *frmPtr)
 
void capd::krak::scaleFrm (Frame *frmPtr)
 
void capd::krak::clrFrm (Frame *frmPtr)
 
void capd::krak::selFrm (Frame *frmPtr)
 
void capd::krak::dscrFrm (Frame *frm, double swx, double swy, double nex, double ney)
 
void capd::krak::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)
 
Framecapd::krak::openRelFrm (Frame *prntFrm, int lti, int ltj, int rbi, int rbj)
 
Framecapd::krak::openTRelFrm (Frame *prntFrm, int, int, int, int)
 
Framecapd::krak::opdsRelFrm (Frame *prntFrm, int lti, int ltj, int rbi, int rbj, double swx, double swy, double nex, double ney)
 
void capd::krak::clseFrm (Frame *frm)
 
void capd::krak::Clear (Frame *frm, int color)
 
void capd::krak::redrawCtrlFrm (void)
 
void capd::krak::openCtrlFrm (int lti, int ltj, int rbi, int rbj)
 
int capd::krak::sc_i (double x)
 
int capd::krak::sc_j (double y)
 
double capd::krak::x_sc (int i)
 
double capd::krak::y_sc (int j)
 
int capd::krak::MouseInFrm (Frame *f)
 
int capd::krak::in_cFrm (double x, double y)
 
int capd::krak::inscr (int i, int j)
 
int capd::krak::inchar (void)
 
void capd::krak::getline (Frame *frm, int row, int col, char *txt)
 
void capd::krak::testExit (void)
 
void capd::krak::testPause (void)
 
double capd::krak::time_meter (void)
 
long capd::krak::tick_meter (void)
 
void capd::krak::bp (void)
 
void capd::krak::stop (void)
 
void capd::krak::struct_copy (void *from, void *to, int size)
 
void capd::krak::openDbgFrm (int lti, int ltj, int rbi, int rbj)
 
void capd::krak::vv (int i, double r)
 
void capd::krak::ww (int i, double r)
 
void capd::krak::qq (int b)
 
void capd::krak::pp (void)
 
void capd::krak::default_restore_window (void)
 
 capd::krak::UserMove::UserMove (void)
 

Variables

int capd::krak::Frame::ltj
 
int capd::krak::Frame::lti
 
int capd::krak::Frame::rbj
 
int capd::krak::Frame::rbi
 
int capd::krak::Frame::cj
 
int capd::krak::Frame::ci
 
int capd::krak::Frame::imarg
 
int capd::krak::Frame::jmarg
 
double capd::krak::Frame::swx
 
double capd::krak::Frame::swy
 
double capd::krak::Frame::nex
 
double capd::krak::Frame::ney
 
int capd::krak::Frame::cRow
 
int capd::krak::Frame::cCol
 
int capd::krak::Frame::lRow
 
int capd::krak::Frame::lCol
 
int capd::krak::Frame::bgColor
 
int capd::krak::Frame::fgColor
 
int capd::krak::Frame::prec
 
Frame capd::krak::rootFrame
 
Framecapd::krak::rootFrm =NULL
 
int off0
 
int off1 =40
 
int off2 =45
 
int off3 =15
 
int off4 =15
 
int off5 =30
 
int off6 =30
 
int off7 =25
 
int no_launched_jobs = 0
 
int pos = 0
 
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
 
const 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
 
FRAME * cFrm
 
INT fontwdth
 
INT fontHght
 
INT c_fgcol
 
INT c_bgcol
 
 end
 
int use_palette
 
char emptytext [] =""
 
int nCmdShow
 
HDC hdc
 
WORD ioff
 
WORD joff
 
WORD ncol
 
DWORD ijoff
 
POINT off
 
HWND hwnd
 
HINSTANCE hInstance
 
HINSTANCE hPrevInstance
 
LOGBRUSH lb
 
HBRUSH nullhbr
 
HBRUSH hbrOld
 
HPALETTE hpal =NULL
 
HPALETTE hPalPrevious
 
LOGPALETTE * plgpl
 
HGDIOBJ hfont
 
HGDIOBJ hfontOld
 
PLOGFONT plf
 
HBITMAP hbmp_pat [MAX_PATTERN_NO]
 
capd::krak::FramedbgFrm
 
capd::krak::FramebrkFrm
 
capd::krak::FramevalFrm
 
capd::krak::FramestopFrm
 
INT fontWdth
 
INT fontHght
 
INT isgraphic
 
float red_c []
 
float green_c []
 
float blue_c []
 
int top_marg_size =0
 
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
 
int c_bgcol
 
int c_fgcol
 
long event_mask
 
int buttonState =0
 
int lastKey =NO_KEY
 
struct timeval tp
 
FRAME * cFrm
 
FRAME * rootFrm
 
INT fontwdth
 
INT fontHght
 
VIRTMON VirtMon
 
FILE * mon_file
 
int mon_done
 
int mon_freq
 

Friends

Framecapd::krak::Frame::operator<< (Frame &f, const capd::krak::At &at)
 Moves the current position to the cell refered by at, like: More...
 

Detailed Description

Macro Definition Documentation

◆ _low_level_

#define _low_level_

◆ ALPHA

#define ALPHA   0.433

◆ BETA

#define BETA   0.250

◆ BLACK

#define BLACK   1

◆ BLUE

#define BLUE   4

◆ BLUEGREEN

#define BLUEGREEN   15

◆ BROWN

#define BROWN   11

◆ CHECK

#define CHECK   if (!frm) return;

◆ CHECK2

#define CHECK2 (   x)    if (!frm) return (x);

◆ CHK_BOUND

#define CHK_BOUND (   c,
 
)
Value:
if (c<=frm->lt##f) \
{ \
ai=frm->lt##f; \
ls=0; \
} else \
if (c>=frm->rb##f) \
{ \
ai=frm->rb##f; \
rs=0; \
} else ai=c;

◆ CYAN

#define CYAN   7

◆ DARKBLUE

#define DARKBLUE   13

◆ FRAME_BG

#define FRAME_BG   -2

◆ FRAME_FG

#define FRAME_FG   -1

◆ gout

#define gout   rootFrame

◆ GREEN

#define GREEN   3

◆ JUMP_FRM

#define JUMP_FRM
Value:
{ \
CHECK \
int i, j; \
map(cpos.x, cpos.y, cpos.z, &i, &j); \
frm->jump(i, j); \
}

◆ MAGENTA

#define MAGENTA   6

◆ main

#define main ( )    mainEntry(int,char**)

◆ MAKERGB

#define MAKERGB (   c)
Value:
RGB(\
((BYTE)(255*red_c[c%MAX_COLOR_NO])),\
((BYTE)(255*green_c[c%MAX_COLOR_NO])),\
((BYTE)(255*blue_c[c%MAX_COLOR_NO])))

◆ MWLineTo

#define MWLineTo   LineTo

◆ MYCOL

#define MYCOL (   c)    (c+1)

◆ OLIVE

#define OLIVE   12

◆ ORANGE

#define ORANGE   8

◆ ORANGERED

#define ORANGERED   14

◆ PINE

#define PINE   10

◆ RED

#define RED   2

◆ SC [1/3]

#define SC (   c,
  r,
  g,
 
)    red_a[c]=r;green_a[c]=g;blue_a[c]=b;

◆ SC [2/3]

#define SC (   c,
  r,
  g,
 
)    red_a[c]=r;green_a[c]=g;blue_a[c]=b;

◆ SC [3/3]

#define SC (   c,
  r,
  g,
 
)    red_a[c]=r;green_a[c]=g;blue_a[c]=b;

◆ SEEK_SET

#define SEEK_SET   0

◆ SEPARATOR

#define SEPARATOR   ';'

◆ SetColor

#define SetColor (   c,
  r,
  g,
 
)    red_c[c]=r;green_c[c]=g;blue_c[c]=b;

◆ TOP

#define TOP   rootFrame << At(0,0)

◆ TRANSLATE_COLOR [1/2]

#define TRANSLATE_COLOR (   c)    ((use_palette) ? (PALETTEINDEX(c)) : (MAKERGB(c)))

◆ TRANSLATE_COLOR [2/2]

#define TRANSLATE_COLOR (   c)
Value:
(wxColor (\
(int) (255 * red_c [c % MAX_COLOR_NO]), \
(int) (255 * green_c [c % MAX_COLOR_NO]), \
(int) (255 * blue_c [c % MAX_COLOR_NO])))

◆ VIOLET

#define VIOLET   9

◆ WHITE

#define WHITE   0

◆ YELLOW

#define YELLOW   5

Typedef Documentation

◆ BYTE

typedef unsigned char BYTE

◆ DINT

typedef long DINT

◆ DREAL

typedef double DREAL

◆ DWORD

typedef unsigned long DWORD

◆ INT

typedef int INT

◆ REAL

typedef float REAL

◆ SINT

typedef short int SINT

◆ WORD

typedef unsigned short WORD

Enumeration Type Documentation

◆ FunctKeys

Enumerator
BSKey 
TabKey 
CRKey 
PgUpKey 
PgDnKey 
EndKey 
HomeKey 
LeftKey 
UpKey 
RightKey 
DownKey 
InsKey 
DelKey 
EscKey 
F1Key 
F2Key 
F3Key 
F4Key 
F5Key 
F6Key 
F7Key 
F8Key 
F9Key 
DragKey 
ButtonKey 
NoKey 
BSKey 
TabKey 
CRKey 
PgUpKey 
PgDnKey 
EndKey 
HomeKey 
LeftKey 
UpKey 
RightKey 
DownKey 
InsKey 
DelKey 
EscKey 
F1Key 
F2Key 
F3Key 
F4Key 
F5Key 
F6Key 
F7Key 
F8Key 
F9Key 
DragKey 
ButtonKey 
NoKey 

Function Documentation

◆ arc() [1/2]

void capd::krak::arc ( double  leftBottomX,
double  leftBottomY,
double  rightTopX,
double  rightTopY,
double  begX,
double  begY,
double  endX,
double  endY,
int  color = FRAME_FG 
)

◆ arc() [2/2]

void capd::krak::arc ( int  leftTopPixelRow,
int  leftTopPixelColumn,
int  rightBottomPixelRow,
int  rightBottomPixelColumn,
int  begPixelRow,
int  begPixelColumn,
int  endPixelRow,
int  endPixelColumn,
int  color = FRAME_FG 
)

◆ arcFill() [1/2]

void capd::krak::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 
)

◆ arcFill() [2/2]

void capd::krak::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 
)

◆ Beep() [1/2]

void Beep ( INT  freq,
INT  t 
)

◆ Beep() [2/2]

void capd::krak::Beep ( int  freq,
int  time 
)

◆ bgColor()

int capd::krak::Coord3D::bgColor ( )

Returns the background color of the attached frame.

Put here for convenience.

◆ Bound()

void capd::krak::Frame::Bound ( int  color = BLACK)

◆ box() [1/5]

void capd::krak::box ( double  leftBottomX,
double  leftBottomY,
double  rightTopX,
double  rightTopY,
int  color = FRAME_FG 
)

◆ box() [2/5]

void capd::krak::Frame::box ( double  swx,
double  swy,
double  nex,
double  ney,
int  color = FRAME_FG 
)
virtual

Implements capd::krak::IFrame.

◆ box() [3/5]

void capd::krak::Coord3D::box ( double  x1,
double  y1,
double  z1,
double  x2,
double  y2,
double  z2,
int  color = FRAME_FG 
)
virtual

Draws a box with a corner in (x1, y1 , z1 ) and and in (x2, y2 , z2).

The edges are parallel to the axis. The current position is moved to (x2, y2 , z2 ).

Parameters
colorThe color of the box. If it is FRAME_FG then the current foreground color is used

◆ box() [4/5]

void capd::krak::Frame::box ( int  lti,
int  ltj,
int  rbi,
int  rbj,
int  color = FRAME_FG 
)
virtual

Implements capd::krak::IFrame.

◆ box() [5/5]

void capd::krak::box ( int  lti,
int  ltj,
int  rbi,
int  rbj,
int  color = FRAME_FG 
)

◆ boxFill() [1/4]

void capd::krak::boxFill ( double  leftBottomX,
double  leftBottomY,
double  rightTopX,
double  rightTopY,
int  color = FRAME_FG,
int  pattern = SOLID_P 
)

◆ boxFill() [2/4]

void capd::krak::Frame::boxFill ( double  swx,
double  swy,
double  nex,
double  ney,
int  col,
int  pattern = SOLID_P 
)
virtual

Implements capd::krak::IFrame.

◆ boxFill() [3/4]

void capd::krak::Frame::boxFill ( int  lti,
int  ltj,
int  rbi,
int  rbj,
int  col,
int  pattern = SOLID_P 
)
virtual

Implements capd::krak::IFrame.

◆ boxFill() [4/4]

void capd::krak::boxFill ( int  lti,
int  ltj,
int  rbi,
int  rbj,
int  color = FRAME_FG,
int  pattern = SOLID_P 
)

◆ bp()

void capd::krak::bp ( void  )

◆ button()

int capd::krak::button ( void  )
inline

◆ Button() [1/2]

int Button ( void  )

◆ Button() [2/2]

int capd::krak::Button ( void  )

◆ circ() [1/2]

void capd::krak::circ ( double  x,
double  y,
double  r,
int  color = FRAME_FG 
)

◆ circ() [2/2]

void capd::krak::circ ( int  pixelRow,
int  pixelColumn,
int  r,
int  color = FRAME_FG 
)

◆ circFill() [1/2]

void capd::krak::circFill ( double  x,
double  y,
double  r,
int  color = FRAME_FG,
int  pattern = SOLID_P 
)

◆ circFill() [2/2]

void capd::krak::circFill ( int  pixelRow,
int  pixelColumn,
int  r,
int  color = FRAME_FG,
int  pattern = SOLID_P 
)

◆ circle() [1/2]

void capd::krak::Frame::circle ( double  x,
double  y,
int  r,
int  color = FRAME_FG 
)
virtual

Implements capd::krak::IFrame.

◆ circle() [2/2]

void capd::krak::Frame::circle ( int  i,
int  j,
int  r,
int  color = FRAME_FG 
)

◆ clear() [1/2]

void capd::krak::Coord3D::clear ( )
virtual

Clears the attached frame.

Put here for convenience.

◆ Clear() [1/3]

void capd::krak::Clear ( Frame frm,
int  color 
)

◆ Clear() [2/3]

void capd::krak::Frame::Clear ( int  color)

◆ clear() [2/2]

void capd::krak::clear ( int  color = WHITE)

◆ Clear() [3/3]

void capd::krak::Frame::Clear ( void  )

◆ Clock() [1/2]

DREAL Clock ( void  )

◆ Clock() [2/2]

double capd::krak::Clock ( void  )

◆ closeGraphics()

void capd::krak::closeGraphics ( void  )

◆ CloseGraphics() [1/2]

void CloseGraphics ( void  )

◆ CloseGraphics() [2/2]

void capd::krak::CloseGraphics ( void  )

◆ clrFrm()

void capd::krak::clrFrm ( Frame frmPtr)

◆ clseFrm()

void capd::krak::clseFrm ( Frame frm)

◆ colstring() [1/3]

capd::krak::colstring::colstring ( int  bgc,
int  fgc,
const char *  init_string 
)

◆ colstring() [2/3]

capd::krak::colstring::colstring ( int  bgc,
int  fgc,
const frstring from 
)

◆ colstring() [3/3]

capd::krak::colstring::colstring ( void  )

◆ confirm()

int capd::krak::confirm ( capd::krak::Frame jobfrm,
const char *  prompt,
const char *  yes,
const char *  no 
)

◆ Coord3D()

capd::krak::Coord3D::Coord3D ( capd::krak::Frame _frm = NULL)

Creates a new Coord3D object.

Parameters
_frmthe frame to which the coordinates are attached.

◆ Crcl() [1/2]

void Crcl ( INT  i,
INT  j,
INT  r 
)

◆ Crcl() [2/2]

void capd::krak::Crcl ( int  i,
int  j,
int  r 
)

◆ Cross()

void capd::krak::Cross ( int  i,
int  j,
int  size 
)

◆ cut()

void capd::krak::hlink::cut ( int  pos,
hlink head2 
)

◆ datetime() [1/2]

char* datetime ( void  )

◆ datetime() [2/2]

char * capd::krak::datetime ( void  )

◆ default_restore_window()

void capd::krak::default_restore_window ( void  )

◆ delay()

void capd::krak::delay ( double  t)

◆ Diamond()

void capd::krak::Diamond ( int  i,
int  j,
int  size 
)

◆ dot() [1/5]

void capd::krak::Coord3D::dot ( double  x,
double  y,
double  z,
int  color = FRAME_FG 
)
virtual

Draws a dot at the position (x, y , z) .

The current position is unaffected.

Parameters
colorThe color of the dot. If it is FRAME_FG then the current foreground color is used

◆ dot() [2/5]

void capd::krak::Frame::dot ( double  x,
double  y,
int  color = FRAME_FG 
)
virtual

Implements capd::krak::IFrame.

◆ dot() [3/5]

void capd::krak::dot ( double  x,
double  y,
int  color = FRAME_FG 
)

◆ dot() [4/5]

void capd::krak::Frame::dot ( int  i,
int  j,
int  color = FRAME_FG 
)

◆ dot() [5/5]

void capd::krak::dot ( int  i,
int  j,
int  color = FRAME_FG 
)

◆ draw() [1/4]

void capd::krak::Frame::draw ( double  x,
double  y,
int  color = FRAME_FG 
)
virtual

Implements capd::krak::IFrame.

◆ draw() [2/4]

void capd::krak::draw ( double  x,
double  y,
int  color = FRAME_FG 
)

◆ draw() [3/4]

void capd::krak::Frame::draw ( int  i,
int  j,
int  color = FRAME_FG 
)
virtual

Implements capd::krak::IFrame.

◆ draw() [4/4]

void capd::krak::draw ( int  i,
int  j,
int  color = FRAME_FG 
)

◆ drawAxis()

void capd::krak::IsomCoord3D::drawAxis ( )
virtual

Draws the axis of the system.

Implements capd::krak::Coord3D.

◆ drawFrm()

void capd::krak::drawFrm ( Frame frmPtr)

◆ DrawRct()

void capd::krak::DrawRct ( RCT r)

◆ DrawStrng() [1/2]

void DrawStrng ( const char *  txt)

◆ DrawStrng() [2/2]

void capd::krak::DrawStrng ( const char *  txt)

◆ drawText() [1/4]

void capd::krak::Frame::drawText ( const char *  c,
double  x,
double  y,
int  color = FRAME_FG 
)
virtual

Implements capd::krak::IFrame.

◆ drawText() [2/4]

void capd::krak::drawText ( const char *  c,
double  x,
double  y,
int  color = FRAME_FG 
)

◆ drawText() [3/4]

void capd::krak::Frame::drawText ( const char *  c,
int  i,
int  j,
int  color = FRAME_FG 
)

◆ drawText() [4/4]

void capd::krak::drawText ( const char *  c,
int  i,
int  j,
int  color = FRAME_FG 
)

◆ DrawTxtc()

void capd::krak::DrawTxtc ( Frame frm,
const char *  buf 
)

◆ DrawTxtg()

void capd::krak::DrawTxtg ( Frame frm,
const char *  buf 
)

◆ dscrFrm()

void capd::krak::dscrFrm ( Frame frm,
double  swx,
double  swy,
double  nex,
double  ney 
)

◆ Edit()

int capd::krak::Frame::Edit ( At  at,
int  no_col,
capd::krak::frstring s 
)

A more sophisticated version of getText.

Reads a text from the keybord and allows the user to use arrows backspace and delete. Returns the key used to end the edition (eg. Enter, Escape)

Parameters
atThe position of the begining of the edition
no_colThe number of columns used for the edition
sThe string. Then calling it contains the text that should appear in the edition. The result string in also returned here.

◆ ellipse() [1/2]

void capd::krak::ellipse ( double  swx,
double  swy,
double  nex,
double  ney,
int  color = FRAME_FG 
)

◆ ellipse() [2/2]

void capd::krak::ellipse ( int  leftTopPixelRow,
int  leftTopPixelColumn,
int  rightBottomPixelRow,
int  rightBottomPixelColumn,
int  color = FRAME_FG 
)

◆ ellipseFill() [1/2]

void capd::krak::ellipseFill ( double  swx,
double  swy,
double  nex,
double  ney,
int  color = FRAME_FG,
int  pattern = SOLID_P 
)

◆ ellipseFill() [2/2]

void capd::krak::ellipseFill ( int  leftTopPixelRow,
int  leftTopPixelColumn,
int  rightBottomPixelRow,
int  rightBottomPixelColumn,
int  color = FRAME_FG,
int  pattern = SOLID_P 
)

◆ empty()

void capd::krak::hlink::empty ( void  )

◆ EmptyMQueue()

void EmptyMQueue ( void  )

◆ errorExit()

void capd::krak::errorExit ( const char *  fmt,
  ... 
)

◆ EstimFreeMem()

DWORD capd::krak::EstimFreeMem ( void  )

◆ eventloop()

void eventloop ( void(*)()  expose,
void(*)()  resize,
void(*)()  buttonpress 
)

◆ exists() [1/2]

int capd::krak::job::exists ( int  type)

◆ exists() [2/2]

int capd::krak::job::exists ( job jobPt)

◆ extractFirstItem()

capd::krak::frstring capd::krak::frstring::extractFirstItem ( void  )

◆ fgColor()

int capd::krak::Coord3D::fgColor ( )

Returns the foreground color of the attached frame.

Put here for convenience.

◆ FillRct() [1/2]

void capd::krak::FillRct ( capd::krak::Rct r,
int  pattNr,
int  colNr 
)

◆ FillRct() [2/2]

void FillRct ( RCT *  r,
INT  pattern,
INT  color 
)

◆ first()

capd::krak::link * capd::krak::hlink::first ( void  )

◆ flexstring() [1/3]

capd::krak::flexstring::flexstring ( const char *  init_string)

◆ flexstring() [2/3]

capd::krak::flexstring::flexstring ( const frstring from)

◆ flexstring() [3/3]

capd::krak::flexstring::flexstring ( void  )

◆ Frame() [1/5]

capd::krak::Frame::Frame ( const Frame prntFrm,
const capd::krak::At lt,
const capd::krak::At rb,
int  bgc = WHITE,
int  fgc = BLACK,
int  im = fontWdth/2,
int  jm = fontHght/2 
)

Generates a new frame as a subframe of prntFrm with left top corner lt, right bottom corner at rb, where the coordinates are given in columns and rows of the parent frame.

Parameters
bgcBackground color
jgcForeground color
im,jmMargins

◆ Frame() [2/5]

capd::krak::Frame::Frame ( Frame prntFrm,
int  the_lti,
int  the_ltj,
int  the_rbi,
int  the_rbj,
double  the_swx,
double  the_swy,
double  the_nex,
double  the_ney,
int  the_bgc = WHITE,
int  the_fgc = BLACK,
int  the_im = fontHght/2,
int  the_jm = fontWdth/2 
)

Generates a new frame as a subframe of prntFrm and sets the world coordinates and colors.

Parameters
the_lti,the_ltjThe coordinates of the left top corner in percentage of the parent frame
the_rbi,the_rbjThe coordinates of the right botton corner in percentage of the parent frame
the_swx,the_swy,the_nex,the_neyThe world coordinates. Check setWorldCoord for details
the_bgc,the_fgcThe background and foreground color
the_im,the_jmThe margins for text in device coordinates

◆ Frame() [3/5]

capd::krak::Frame::Frame ( Frame prntFrm,
int  arglti,
int  argltj,
int  argrbi,
int  argrbj,
int  bgc = WHITE,
int  fgc = BLACK,
int  im = fontHght/2,
int  jm = fontWdth/2 
)

Generates a new frame as a subframe of prntFrm with left top corner (lti,ltj),right bottom corner at (rbi,rbj), where the coordinates are given in percentage of the horizontal and vertical size of the parent frame.

Parameters
bgcBackground color
jgcForeground color
im,jmMargins

◆ Frame() [4/5]

capd::krak::Frame::Frame ( int  lti,
int  ltj,
int  rbi,
int  rbj,
int  bgc = WHITE,
int  fgc = BLACK,
int  im = fontWdth/2,
int  jm = fontHght/2 
)

◆ Frame() [5/5]

capd::krak::Frame::Frame ( void  )

◆ framecopy()

capd::krak::record * capd::krak::record::framecopy ( void  )

◆ free_pat()

void free_pat ( )

◆ frstring() [1/3]

capd::krak::frstring::frstring ( const char *  init_string)

◆ frstring() [2/3]

capd::krak::frstring::frstring ( const frstring from)

◆ frstring() [3/3]

capd::krak::frstring::frstring ( void  )

◆ gcprintf()

void capd::krak::gcprintf ( const char *  fmt,
  ... 
)

◆ gcprintf_at()

void capd::krak::gcprintf_at ( int  row,
int  col,
const char *  fmt,
  ... 
)

◆ GetButtons()

int GetButtons ( )

◆ getfirst()

capd::krak::link * capd::krak::hlink::getfirst ( void  )

◆ getFirstItem()

capd::krak::frstring capd::krak::frstring::getFirstItem ( void  )

◆ GetKey() [1/2]

int GetKey ( void  )

◆ GetKey() [2/2]

int capd::krak::GetKey ( void  )

◆ getlast()

capd::krak::link * capd::krak::hlink::getlast ( void  )

◆ getline()

void capd::krak::getline ( Frame frm,
int  row,
int  col,
char *  txt 
)

◆ GetMouse() [1/2]

void capd::krak::GetMouse ( capd::krak::Pxl pxl)

◆ GetMouse() [2/2]

void GetMouse ( PXL *  pt)

◆ GetPos()

void GetPos ( int i,
int j 
)

◆ getTextSize()

int capd::krak::getTextSize ( void  )

◆ gprintf()

void capd::krak::gprintf ( Frame frm,
const char *  fmt,
  ... 
)

◆ gprintf_at()

void capd::krak::gprintf_at ( Frame frm,
int  row,
int  col,
const char *  fmt,
  ... 
)

◆ handleEvents()

void handleEvents ( void  )

◆ handleExpose()

void handleExpose ( void(*)()  expose)

◆ handleResize()

void handleResize ( void(*)()  resize)

◆ HideCursor()

void HideCursor ( )

◆ in_cFrm()

INT capd::krak::in_cFrm ( double  x,
double  y 
)

◆ inchar()

int capd::krak::inchar ( void  )

◆ initFrm() [1/2]

void capd::krak::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 
)

◆ initFrm() [2/2]

void capd::krak::Frame::initFrm ( int  arglti,
int  argltj,
int  argrbi,
int  argrbj,
int  bgc = WHITE,
int  fgc = BLACK,
int  im = fontHght/2,
int  jm = fontWdth/2 
)

◆ InitMouse()

void InitMouse ( )

◆ inscr()

INT capd::krak::inscr ( int  i,
int  j 
)

◆ insert()

void capd::krak::frstring::insert ( int  pos,
char  c 
)

◆ IsomCoord3D()

capd::krak::IsomCoord3D::IsomCoord3D ( capd::krak::Frame frm = NULL,
int  orient = 0 
)

Creates a IsomCoord3D object.

◆ job()

capd::krak::job::job ( void  )

◆ jump() [1/6]

void capd::krak::Coord3D::jump ( const Point3D pt)
virtual

Jumps to the point pt .

Changes also the current position of the attached frame.

◆ jump() [2/6]

void capd::krak::Frame::jump ( double  x,
double  y 
)
virtual

Implements capd::krak::IFrame.

◆ jump() [3/6]

void capd::krak::jump ( double  x,
double  y 
)

◆ jump() [4/6]

void capd::krak::Coord3D::jump ( double  _x,
double  _y,
double  _z 
)
virtual

Jumps to the point (_x, _y , _z ) .

Changes also the current position of the attached frame.

◆ jump() [5/6]

void capd::krak::Frame::jump ( int  i,
int  j 
)
virtual

Implements capd::krak::IFrame.

◆ jump() [6/6]

void capd::krak::jump ( int  i,
int  j 
)

◆ keyAndMouse() [1/2]

void capd::krak::keyAndMouse ( int key,
double x,
double y 
)

◆ keyAndMouse() [2/2]

void capd::krak::keyAndMouse ( int key,
int row,
int col 
)

◆ last()

capd::krak::link * capd::krak::hlink::last ( void  )

◆ launch() [1/2]

void capd::krak::job::launch ( job prnt = rootJob)
virtual

Reimplemented in capd::krak::sel_job.

◆ launch() [2/2]

void capd::krak::sel_job::launch ( job prnt = rootJob)
virtual

Reimplemented from capd::krak::job.

◆ len()

int capd::krak::hlink::len ( void  )

◆ line() [1/3]

void capd::krak::Frame::line ( double  x1,
double  y1,
double  x2,
double  y2,
int  color = FRAME_FG 
)
virtual

Implements capd::krak::IFrame.

◆ line() [2/3]

void capd::krak::Coord3D::line ( double  x1,
double  y1,
double  z1,
double  x2,
double  y2,
double  z2,
int  color = FRAME_FG 
)
virtual

Draws a line from the point (x1, y1 , z1 ) to (x2 , y2 , z2 ) .

The current position is moved the end of the line.

Parameters
colorThe color of the line. If it is FRAME_FG then the current foreground color is used

◆ line() [3/3]

void capd::krak::Frame::line ( int  i1,
int  j1,
int  i2,
int  j2,
int  color = FRAME_FG 
)
virtual

Implements capd::krak::IFrame.

◆ linear()

INT capd::krak::linear ( int  x,
int  x0,
int  y0,
int  x1,
int  y1 
)

◆ lineTo() [1/2]

void capd::krak::lineTo ( double  x,
double  y 
)

◆ lineTo() [2/2]

void capd::krak::Coord3D::lineTo ( double  x,
double  y,
double  z,
int  color = FRAME_FG 
)
virtual

Draws a line from the current position the position (x), y , z .

The current position is moved the end of the line.

Parameters
colorThe color of the line. If it is FRAME_FG then the current foreground color is used

◆ LineTo()

void LineTo ( INT  i,
INT  j 
)

◆ Locate() [1/2]

void capd::krak::Frame::Locate ( Frame prntFrm,
capd::krak::At lt,
capd::krak::At rb 
)

Moves the left top corner to lt and the left botton corner to rb where the coordinates are given in text cells.

This function in used internally by some constructors

◆ Locate() [2/2]

void capd::krak::Frame::Locate ( Frame prntFrm,
int  arglti,
int  argltj,
int  argrbi,
int  argrbj 
)

Moves the left top corner to (arglti, argltj) and the left botton corner to (argrbi, argrbj) where the coordinates are given in percentage.

This function in used internally by some constructors

◆ mainEntry()

int mainEntry ( int  argc,
char *  argv[] 
)

◆ mainLoop()

void capd::krak::job::mainLoop ( void  )
static

◆ MakeSelection()

int capd::krak::sel_job::MakeSelection ( capd::krak::UserMove um)
virtual

◆ map()

void capd::krak::IsomCoord3D::map ( double  x,
double  y,
double  z,
int i,
int j 
)
virtual

Maps the 3D coordinates of the point (x), y , z to the frame pixel coordinates.

@seealso Coord3D::map

Implements capd::krak::Coord3D.

◆ MarkPt3D()

void capd::krak::MarkPt3D ( Frame frm,
double  u,
double  v,
double  rb_col 
)

◆ merge()

void capd::krak::hlink::merge ( hlink head2)

◆ mouse() [1/2]

void capd::krak::mouse ( double  x,
double  y 
)

◆ mouse() [2/2]

void capd::krak::mouse ( int row,
int col 
)

◆ MouseInFrm()

INT capd::krak::MouseInFrm ( Frame f)

◆ moveTo()

void capd::krak::moveTo ( double  x,
double  y 
)

◆ MoveTo() [1/2]

void MoveTo ( INT  i,
INT  j 
)

◆ MoveTo() [2/2]

void capd::krak::MoveTo ( int  i,
int  j 
)

◆ MWLineTo()

void capd::krak::MWLineTo ( int  i,
int  j 
)

◆ novalcopy()

capd::krak::record * capd::krak::record::novalcopy ( void  )

◆ opdsRelFrm()

capd::krak::Frame * capd::krak::opdsRelFrm ( Frame prntFrm,
int  lti,
int  ltj,
int  rbi,
int  rbj,
double  swx,
double  swy,
double  nex,
double  ney 
)

◆ open()

void capd::krak::view_job::open ( int  read = 0)

◆ openCtrlFrm()

void capd::krak::openCtrlFrm ( int  lti,
int  ltj,
int  rbi,
int  rbj 
)

◆ openDbgFrm()

void capd::krak::openDbgFrm ( int  lti,
int  ltj,
int  rbi,
int  rbj 
)

◆ opengfxwndw()

void opengfxwndw ( int  wn,
int  hsr,
int  vsr,
int  bgcolor,
int  fgcolor,
int  argc,
char **  argv 
)

◆ OpenGraphics() [1/2]

void OpenGraphics ( INT  hres,
INT  vres,
INT  bg_col,
INT  fg_col,
INT  ltx,
INT  lty 
)

◆ OpenGraphics() [2/2]

void capd::krak::OpenGraphics ( int  hrs,
int  vrs,
int  bgcol,
int  fgcol,
int  ltx,
int  lty 
)

◆ openGraphics()

void capd::krak::openGraphics ( int  hrs,
int  vrs,
int  bgcol,
int  fgcol,
int  ltx = 100,
int  lty = 100 
)

◆ openRelFrm()

capd::krak::Frame * capd::krak::openRelFrm ( Frame prntFrm,
int  lti,
int  ltj,
int  rbi,
int  rbj 
)

◆ openTRelFrm()

capd::krak::Frame * capd::krak::openTRelFrm ( Frame prntFrm,
int  frow,
int  fcol,
int  lrow,
int  lcol 
)

◆ operator()() [1/2]

capd::krak::frstring capd::krak::frstring::operator() ( int  first) const

◆ operator()() [2/2]

capd::krak::frstring capd::krak::frstring::operator() ( int  first,
int  last 
) const

◆ operator+() [1/2]

int capd::krak::frstring::operator+ ( frstring second_string)

◆ operator+() [2/2]

int capd::krak::frstring::operator+ ( int  an_int)

◆ operator++() [1/2]

capd::krak::frstring capd::krak::frstring::operator++ ( int  )

◆ operator++() [2/2]

capd::krak::frstring capd::krak::frstring::operator++ ( void  )

◆ operator--()

capd::krak::frstring capd::krak::frstring::operator-- ( void  )

◆ operator<()

int capd::krak::frstring::operator< ( frstring second_string)

◆ operator<<() [1/11]

Frame & capd::krak::operator<< ( capd::krak::Frame f,
const capd::krak::At at 
)
inline

Moves the current position to the cell refered by at, like:

Moves the current position to the cell refered by at , like:

frm<<At(30,30)<<"AAAAA";

◆ operator<<() [2/11]

Frame& capd::krak::Frame::operator<< ( capd::krak::Tab  tab)

◆ operator<<() [3/11]

Frame& capd::krak::Frame::operator<< ( char  c)

◆ operator<<() [4/11]

Frame& capd::krak::Frame::operator<< ( const capd::krak::BgColor c)

◆ operator<<() [5/11]

capd::krak::Frame & capd::krak::Frame::operator<< ( const capd::krak::colstring a_colstring)

Print a color text on the frame.

The current color isn't changed by that function

◆ operator<<() [6/11]

Frame& capd::krak::Frame::operator<< ( const capd::krak::FgColor c)

◆ operator<<() [7/11]

capd::krak::Frame & capd::krak::Frame::operator<< ( const capd::krak::frstring a_string)

Outputs the string a_string on the frame.

◆ operator<<() [8/11]

Frame& capd::krak::Frame::operator<< ( const char *  text)

◆ operator<<() [9/11]

Frame& capd::krak::Frame::operator<< ( double  r)

◆ operator<<() [10/11]

Frame& capd::krak::Frame::operator<< ( int  n)

◆ operator<<() [11/11]

Frame& capd::krak::Frame::operator<< ( long  n)

◆ operator<=()

int capd::krak::frstring::operator<= ( frstring second_string)

◆ operator=() [1/5]

capd::krak::frstring & capd::krak::frstring::operator= ( const char *  c)

◆ operator=() [2/5]

capd::krak::frstring & capd::krak::frstring::operator= ( const frstring second_string)

◆ operator=() [3/5]

capd::krak::frstring & capd::krak::frstring::operator= ( double  a_double)

◆ operator=() [4/5]

capd::krak::flexstring & capd::krak::flexstring::operator= ( double  d)

◆ operator=() [5/5]

capd::krak::flexstring & capd::krak::flexstring::operator= ( frstring second_string)

◆ operator==()

int capd::krak::frstring::operator== ( const frstring second_string)

◆ operator>()

int capd::krak::frstring::operator> ( frstring second_string)

◆ operator>=()

int capd::krak::frstring::operator>= ( frstring second_string)

◆ operator>>() [1/7]

capd::krak::Frame & capd::krak::Frame::operator>> ( capd::krak::frstring a_string)

Reads a string from the keyboard.

The same, as getText.

◆ operator>>() [2/7]

Frame& capd::krak::Frame::operator>> ( const capd::krak::At at)

◆ operator>>() [3/7]

Frame& capd::krak::Frame::operator>> ( const capd::krak::BgColor c)

◆ operator>>() [4/7]

Frame& capd::krak::Frame::operator>> ( const capd::krak::FgColor c)

◆ operator>>() [5/7]

Frame& capd::krak::Frame::operator>> ( double r)

◆ operator>>() [6/7]

Frame& capd::krak::Frame::operator>> ( int n)

◆ operator>>() [7/7]

Frame& capd::krak::Frame::operator>> ( long &  n)

◆ operator[]() [1/2]

capd::krak::var & capd::krak::record::operator[] ( capd::krak::frstring s)

◆ operator[]() [2/2]

capd::krak::frstring capd::krak::frstring::operator[] ( int  last)

◆ orientation()

int capd::krak::IsomCoord3D::orientation ( )
virtual

Returns the orientation of the system.

0the z) axis is down (default
1the z axis is up

◆ own_repaint() [1/5]

void capd::krak::basic_job::own_repaint ( void  )
virtual

◆ own_repaint() [2/5]

void capd::krak::sel_job::own_repaint ( void  )
virtual

◆ own_repaint() [3/5]

void capd::krak::view_job::own_repaint ( void  )
virtual

Reimplemented from capd::krak::sel_job.

◆ own_repaint() [4/5]

void capd::krak::del_ins_job::own_repaint ( void  )
virtual

Reimplemented from capd::krak::sel_job.

◆ own_repaint() [5/5]

void capd::krak::ed_rec_job::own_repaint ( void  )
virtual

Reimplemented from capd::krak::sel_job.

◆ plotDot()

void capd::krak::plotDot ( double  x,
double  y 
)

◆ PlotDot() [1/2]

void PlotDot ( INT  i,
INT  j 
)

◆ PlotDot() [2/2]

void capd::krak::PlotDot ( int  i,
int  j 
)

◆ polygon() [1/2]

void capd::krak::polygon ( double  coords[],
int  nPoints,
int  color = FRAME_FG 
)

◆ polygon() [2/2]

void capd::krak::polygon ( int  coords[],
int  nPoints,
int  color = FRAME_FG 
)

◆ polygonFill() [1/2]

void capd::krak::polygonFill ( double  coords[],
int  nPoints,
int  color = FRAME_FG,
int  pattern = SOLID_P 
)

◆ polygonFill() [2/2]

void capd::krak::polygonFill ( int  coords[],
int  nPoints,
int  color = FRAME_FG,
int  pattern = SOLID_P 
)

◆ pp()

void capd::krak::pp ( void  )

◆ precision()

int capd::krak::Frame::precision ( int  p)
inline

◆ process() [1/6]

int capd::krak::basic_job::process ( capd::krak::UserMove um)
virtual

◆ process() [2/6]

int capd::krak::sel_job::process ( capd::krak::UserMove um)
virtual

◆ process() [3/6]

int capd::krak::menu_job::process ( capd::krak::UserMove um)
virtual

Reimplemented from capd::krak::sel_job.

◆ process() [4/6]

int capd::krak::view_job::process ( capd::krak::UserMove um)
virtual

Reimplemented from capd::krak::sel_job.

◆ process() [5/6]

int capd::krak::del_ins_job::process ( capd::krak::UserMove um)
virtual

Reimplemented from capd::krak::sel_job.

◆ process() [6/6]

int capd::krak::ed_rec_job::process ( capd::krak::UserMove um)
virtual

Reimplemented from capd::krak::sel_job.

◆ put()

void capd::krak::frstring::put ( std::ostream &  out)
virtual

Reimplemented from capd::krak::atom.

Reimplemented in capd::krak::field, capd::krak::var, and capd::krak::item.

◆ putfirst()

void capd::krak::hlink::putfirst ( link a_link)

◆ putlast()

void capd::krak::hlink::putlast ( link a_link)

◆ putrand()

void capd::krak::hlink::putrand ( link a_link)

◆ qq()

void capd::krak::qq ( int  b)

◆ RClock() [1/2]

DREAL RClock ( void  )

◆ RClock() [2/2]

double capd::krak::RClock ( void  )

◆ Rctngl()

void capd::krak::Rctngl ( int  lti,
int  ltj,
int  rbi,
int  rbj 
)

◆ Rctngl_at()

void capd::krak::Rctngl_at ( Frame frm,
int  lti,
int  ltj,
int  rbi,
int  rbj 
)

◆ redrawCtrlFrm()

void capd::krak::redrawCtrlFrm ( void  )

◆ remove()

void capd::krak::frstring::remove ( int  pos)

◆ repaint()

void capd::krak::job::repaint ( void  )
virtual

◆ resize() [1/2]

void capd::krak::frstring::resize ( int  len)
virtual

Reimplemented in capd::krak::flexstring.

◆ resize() [2/2]

void capd::krak::flexstring::resize ( int  len)
virtual

Reimplemented from capd::krak::frstring.

◆ rmqm()

capd::krak::frstring capd::krak::frstring::rmqm ( void  )

◆ SC() [1/15]

void SC ( BLACK  ,
0.  0,
0.  0,
0.  0 
)

◆ SC() [2/15]

SC ( BLUE  ,
0.  0,
0.  0,
1.  0 
)

◆ SC() [3/15]

SC ( BLUEGREEN  ,
0.  5,
1.  0,
0.  8 
)

◆ SC() [4/15]

SC ( BROWN  ,
0.  6,
0.  0,
0.  0 
)

◆ SC() [5/15]

SC ( CYAN  ,
0.  0,
1.  0,
1.  0 
)

◆ SC() [6/15]

SC ( DARKBLUE  ,
0.  0,
0.  0,
0.  6 
)

◆ SC() [7/15]

SC ( GREEN  ,
0.  0,
1.  0,
0.  0 
)

◆ SC() [8/15]

SC ( MAGENTA  ,
1.  0,
0.  0,
1.  0 
)

◆ SC() [9/15]

SC ( OLIVE  ,
0.  6,
0.  6,
0.  0 
)

◆ SC() [10/15]

SC ( ORANGE  ,
1.  0,
0.  7,
0.  0 
)

◆ SC() [11/15]

SC ( ORANGERED  ,
1.  0,
0.  5,
0.  5 
)

◆ SC() [12/15]

SC ( PINE  ,
0.  0,
0.  5,
0.  0 
)

◆ SC() [13/15]

SC ( RED  ,
1.  0,
0.  0,
0.  0 
)

◆ SC() [14/15]

SC ( VIOLET  ,
0.  6,
0.  0,
0.  6 
)

◆ SC() [15/15]

SC ( YELLOW  ,
1.  0,
1.  0,
0.  0 
)

◆ sc_i()

INT capd::krak::sc_i ( double  x)

◆ sc_j()

INT capd::krak::sc_j ( double  y)

◆ scaleFrm()

void capd::krak::scaleFrm ( Frame frmPtr)

◆ Segment()

void capd::krak::Segment ( int  i0,
int  j0,
int  i1,
int  j1 
)

◆ selectJob()

capd::krak::job * capd::krak::job::selectJob ( capd::krak::UserMove um)

◆ selFrm()

void capd::krak::selFrm ( Frame frmPtr)

◆ set_col()

void set_col ( )

◆ set_pat()

void set_pat ( )

◆ setBackgroundColor()

void capd::krak::setBackgroundColor ( int  color)

◆ SetBgCol() [1/2]

void SetBgCol ( INT  col)

◆ SetBgCol() [2/2]

void capd::krak::SetBgCol ( int  col)

◆ setBgColor()

int capd::krak::Coord3D::setBgColor ( int  color)

Sets the background color of the attached frame to color .

Put here for convenience.

◆ SetBgColor()

void capd::krak::Frame::SetBgColor ( int  c)

◆ setCenter()

void capd::krak::Coord3D::setCenter ( int  i,
int  j 
)

Sets the center (i.e.

the position of the ogrin of the coordinate system) to (i), j ) (in pixel coordinates

◆ SetFgCol() [1/2]

void SetFgCol ( int  col)

◆ SetFgCol() [2/2]

void capd::krak::SetFgCol ( int  col)

◆ SetFgColor()

void capd::krak::Frame::SetFgColor ( int  c)

◆ setFgColor()

int capd::krak::Coord3D::setFgColor ( int  color)

Sets the foreground color of the attached frame to color .

Put here for convenience.

◆ setForegroundColor()

void capd::krak::setForegroundColor ( int  color)

◆ setFrame()

capd::krak::Frame * capd::krak::Coord3D::setFrame ( capd::krak::Frame _frm)

Sets the frame of the object to _frm .

If the frame was NULL, the center position is set to the center of the frame. The funcition returns the previous frame. @seealso setCenter

◆ setOrientation()

int capd::krak::IsomCoord3D::setOrientation ( int  i)
virtual

Sets the orientation of the system.

Note: you should use this function before drawing anything or redraw the screen.

0the z) axis is down (default
1the z axis is up

◆ SetRct()

void capd::krak::SetRct ( RCT r,
int  lti,
int  ltj,
int  rbi,
int  rbj 
)

◆ setScale()

double capd::krak::Coord3D::setScale ( double  s)

Sets the scale of the system to scale .

◆ setTextSize()

void capd::krak::setTextSize ( int  size)

◆ setWorldCoord() [1/2]

void capd::krak::setWorldCoord ( double  leftBottomX,
double  leftBottomY,
double  rightTopX,
double  rightTopY 
)

◆ setWorldCoord() [2/2]

void capd::krak::Frame::setWorldCoord ( double  swx,
double  swy,
double  nex,
double  ney 
)
virtual

Implements capd::krak::IFrame.

◆ show()

void capd::krak::hlink::show ( capd::krak::Frame frm)

◆ ShowCursor()

void ShowCursor ( void  )

◆ sort()

void capd::krak::hlink::sort ( int  l)

◆ split()

void capd::krak::frstring::split ( int  ncol)

◆ Square()

void capd::krak::Square ( int  i,
int  j,
int  size 
)

◆ stop()

void capd::krak::stop ( void  )

◆ struct_copy()

void capd::krak::struct_copy ( void *  from,
void *  to,
int  size 
)

◆ tck2sec()

double capd::krak::tck2sec ( long  tck)

◆ terminate()

void capd::krak::job::terminate ( void  )
virtual

◆ testExit()

void capd::krak::testExit ( void  )

◆ testPause()

void capd::krak::testPause ( void  )

◆ testUpDown()

void capd::krak::sel_job::testUpDown ( capd::krak::UserMove um)

◆ tick_meter()

long capd::krak::tick_meter ( void  )

◆ tickClock()

long capd::krak::tickClock ( void  )

◆ time_meter()

DREAL capd::krak::time_meter ( void  )

◆ update()

void capd::krak::record::update ( void  )

◆ UserMove()

capd::krak::UserMove::UserMove ( void  )

◆ userSelectedJob()

capd::krak::job * capd::krak::job::userSelectedJob ( capd::krak::UserMove um)
static

◆ vgprintf_at()

void capd::krak::vgprintf_at ( capd::krak::Frame frm,
int  row,
int  col,
const char *  fmt,
std::va_list  args 
)

◆ vv()

void capd::krak::vv ( int  i,
double  r 
)

◆ waitBt()

void capd::krak::waitBt ( void  )

◆ waitButton()

void capd::krak::waitButton ( void  )

◆ waitMouseBt()

void capd::krak::waitMouseBt ( void  )

◆ warning()

void capd::krak::warning ( const char *  fmt,
  ... 
)

◆ WinMain()

int PASCAL WinMain ( HINSTANCE  hI,
HINSTANCE  hPI,
LPSTR  lpszCmd,
int  nCS 
)

◆ WndProc()

long FAR PASCAL _export WndProc ( HWND  hwnd,
WORD  message,
WORD  wParam,
LONG  lParam 
)

◆ ww()

void capd::krak::ww ( int  i,
double  r 
)

◆ x_sc()

DREAL capd::krak::x_sc ( int  i)

◆ Xcross()

void capd::krak::Xcross ( int  i,
int  j,
int  size 
)

◆ Xcrss() [1/2]

void capd::krak::Coord3D::Xcrss ( double  x,
double  y,
double  z,
int  size = 1,
int  color = FRAME_FG 
)
virtual

Draw a cross with in the point (x), y , z and and in (x2), y2 , z2 .

The edges are parallel to the axis. The current position is moved to (x2), y2 , z2 .

Parameters
colorThe color of the cross. If it is FRAME_FG then the current foreground color is used

◆ Xcrss() [2/2]

void capd::krak::Frame::Xcrss ( double  x,
double  y,
int  size = 1,
int  color = FRAME_FG 
)
virtual

Implements capd::krak::IFrame.

◆ y_sc()

DREAL capd::krak::y_sc ( int  j)

◆ ~flexstring()

capd::krak::flexstring::~flexstring ( void  )
virtual

Variable Documentation

◆ bg_pixel [1/2]

unsigned long bg_pixel

◆ bg_pixel [2/2]

unsigned long bg_pixel

◆ bgColor

int capd::krak::Frame::bgColor

◆ blue_c

float blue_c[]

◆ border_width [1/2]

unsigned int border_width = 4

◆ border_width [2/2]

unsigned int border_width = 4

◆ brkFrm

◆ buttonState

int buttonState =0

◆ c_bgcol [1/2]

INT c_bgcol

◆ c_bgcol [2/2]

int c_bgcol

◆ c_fgcol [1/2]

INT c_fgcol

◆ c_fgcol [2/2]

int c_fgcol

◆ c_ipstn [1/2]

int c_ipstn =0

◆ c_ipstn [2/2]

int c_ipstn =0

◆ c_jpstn [1/2]

int c_jpstn =0

◆ c_jpstn [2/2]

int c_jpstn =0

◆ cCol

int capd::krak::Frame::cCol

◆ cFrm [1/2]

FRAME* cFrm

◆ cFrm [2/2]

FRAME* cFrm

◆ ci

int capd::krak::Frame::ci

◆ cj

int capd::krak::Frame::cj

◆ Class [1/2]

int Class

◆ Class [2/2]

int Class

◆ color_no [1/2]

int color_no

◆ color_no [2/2]

int color_no

◆ colors [1/2]

long unsigned int colors[MAX_PALETTE]

◆ colors [2/2]

long unsigned int colors[MAX_PALETTE]

◆ cRow

int capd::krak::Frame::cRow

◆ dbgFrm

◆ default_cmap [1/2]

Colormap default_cmap

◆ default_cmap [2/2]

Colormap default_cmap

◆ default_depth [1/2]

int default_depth

◆ default_depth [2/2]

int default_depth

◆ display [1/2]

Display* display

◆ display [2/2]

Display* display

◆ display_name [1/2]

char* display_name = NULL

◆ display_name [2/2]

char* display_name = NULL

◆ drawgc [1/2]

GC drawgc

◆ drawgc [2/2]

GC drawgc

◆ emptytext

char emptytext[] =""

◆ end

end

◆ event_mask [1/2]

long event_mask
Initial value:
= ExposureMask | KeyPressMask | ButtonPressMask |
ButtonReleaseMask | ButtonMotionMask | PointerMotionHintMask |
StructureNotifyMask

◆ event_mask [2/2]

long event_mask
Initial value:
= ExposureMask | KeyPressMask | ButtonPressMask |
ButtonReleaseMask | ButtonMotionMask | PointerMotionHintMask |
StructureNotifyMask

◆ exact_defs [1/2]

XColor exact_defs[MAX_PALETTE]

◆ exact_defs [2/2]

XColor exact_defs[MAX_PALETTE]

◆ fg_pixel [1/2]

unsigned long fg_pixel

◆ fg_pixel [2/2]

unsigned long fg_pixel

◆ fgColor

int capd::krak::Frame::fgColor

◆ font_info [1/2]

XFontStruct* font_info

◆ font_info [2/2]

XFontStruct* font_info

◆ fontHght [1/3]

INT fontHght

◆ fontHght [2/3]

INT fontHght

◆ fontHght [3/3]

INT fontHght

◆ fontname [1/2]

char* fontname = "9x15"

◆ fontname [2/2]

const char* fontname = "9x15"

◆ fontwdth [1/2]

INT fontwdth

◆ fontWdth

INT fontWdth

◆ fontwdth [2/2]

INT fontwdth

◆ green_c

float green_c[]

◆ hbmp_pat

HBITMAP hbmp_pat[MAX_PATTERN_NO]

◆ hbrOld

HBRUSH hbrOld

◆ hdc

HDC hdc

◆ hfont

HGDIOBJ hfont

◆ hfontOld

HGDIOBJ hfontOld

◆ hInstance

HINSTANCE hInstance

◆ hpal

HPALETTE hpal =NULL

◆ hPalPrevious

HPALETTE hPalPrevious

◆ hPrevInstance

HINSTANCE hPrevInstance

◆ hwnd

HWND hwnd

◆ ijoff

DWORD ijoff

◆ imarg

int capd::krak::Frame::imarg

◆ ioff

WORD ioff

◆ isgraphic

INT isgraphic

◆ jmarg

int capd::krak::Frame::jmarg

◆ joff

WORD joff

◆ lastKey

int lastKey =NO_KEY

◆ lb

LOGBRUSH lb

◆ lCol

int capd::krak::Frame::lCol

◆ lRow

int capd::krak::Frame::lRow

◆ lti

int capd::krak::Frame::lti

◆ ltj

int capd::krak::Frame::ltj

◆ mon_done

int mon_done

◆ mon_file

FILE* mon_file

◆ mon_freq

int mon_freq

◆ nCmdShow

int nCmdShow

◆ ncol

WORD ncol

◆ nex

double capd::krak::Frame::nex

◆ ney

double capd::krak::Frame::ney

◆ no_launched_jobs

int no_launched_jobs = 0

◆ nullhbr

HBRUSH nullhbr

◆ off

POINT off

◆ off0

int off0

◆ off1

int off1 =40

◆ off2

int off2 =45

◆ off3

int off3 =15

◆ off4

int off4 =15

◆ off5

int off5 =30

◆ off6

int off6 =30

◆ off7

int off7 =25

◆ plane_masks [1/2]

long unsigned int plane_masks[1]

◆ plane_masks [2/2]

long unsigned int plane_masks[1]

◆ plf

PLOGFONT plf

◆ plgpl

LOGPALETTE* plgpl

◆ pos

int pos = 0

◆ prec

int capd::krak::Frame::prec

◆ rbi

int capd::krak::Frame::rbi

◆ rbj

int capd::krak::Frame::rbj

◆ rectangle [1/2]

XRectangle rectangle

◆ rectangle [2/2]

XRectangle rectangle

◆ red_c

float red_c[]

◆ region [1/2]

Region region

◆ region [2/2]

Region region

◆ report [1/2]

XEvent report

◆ report [2/2]

XEvent report

◆ rootFrame

Frame capd::krak::rootFrame

◆ rootFrm [1/2]

FRAME * rootFrm

◆ rootFrm [2/2]

capd::krak::Frame * capd::krak::rootFrm =NULL

◆ screen [1/2]

int screen

◆ screen [2/2]

int screen

◆ size_hints [1/2]

XSizeHints size_hints

◆ size_hints [2/2]

XSizeHints size_hints

◆ stipple [1/2]

Pixmap stipple[30]

◆ stipple [2/2]

Pixmap stipple[30]

◆ stopFrm

◆ swx

double capd::krak::Frame::swx

◆ swy

double capd::krak::Frame::swy

◆ top_marg_size

int top_marg_size =0

◆ tp

struct timeval tp

◆ use_palette

int use_palette

◆ valFrm

◆ valuemask [1/2]

unsigned long valuemask = 0

◆ valuemask [2/2]

unsigned long valuemask = 0

◆ values [1/2]

XGCValues values

◆ values [2/2]

XGCValues values

◆ VirtMon

VIRTMON VirtMon

◆ visual_info [1/2]

XVisualInfo visual_info

◆ visual_info [2/2]

XVisualInfo visual_info

◆ win [1/2]

Window win

◆ win [2/2]

Window win

◆ WX [1/2]

unsigned int WX = 0

◆ WX [2/2]

unsigned int WX = 0

◆ WY [1/2]

unsigned int WY = 0

◆ WY [2/2]

unsigned int WY = 0

Friends

◆ operator<<

Frame& operator<< ( Frame f,
const capd::krak::At at 
)
friend

Moves the current position to the cell refered by at, like:

Moves the current position to the cell refered by at , like:

frm<<At(30,30)<<"AAAAA";
BYTE
unsigned char BYTE
Definition: primitiv.cpp:21
green_c
float green_c[]
Definition: sun.c:32
red_c
float red_c[]
Definition: color.cpp:32
blue_c
float blue_c[]
Definition: sun.c:32