CAPD DynSys Library  5.2.0
wxWin.c File Reference
#include <wx/wx.h>
#include <wx/socket.h>
#include <wx/datetime.h>
#include <wx/colordlg.h>
#include <wx/imagpng.h>
#include <wx/imagjpeg.h>
#include <wx/imagtiff.h>
#include <math.h>
#include <cstdlib>
#include <stdexcept>

Classes

class  capd::krak::wxWin::Buffer
 
class  capd::krak::wxWin::KrakFrame
 
class  capd::krak::wxWin::KrakApp
 
class  capd::krak::wxWin::KrakThread
 

Namespaces

 capd
 
 capd::krak
 
 capd::krak::wxWin
 

Macros

#define MWLineTo   LineTo
 
#define TRANSLATE_COLOR(c)
 

Enumerations

enum  {
  capd::krak::wxWin::ID_Quit = 2000, capd::krak::wxWin::ID_SaveBMP, capd::krak::wxWin::ID_SavePNG, capd::krak::wxWin::ID_SaveJPG,
  capd::krak::wxWin::ID_SaveTIF, capd::krak::wxWin::ID_FixedSize, capd::krak::wxWin::ID_Info, capd::krak::wxWin::ID_UpdateKey,
  capd::krak::wxWin::ID_UpdateDraw, capd::krak::wxWin::ID_Refresh, capd::krak::wxWin::ID_InitialSize, capd::krak::wxWin::ID_Clear,
  capd::krak::wxWin::ID_Misbehave, capd::krak::wxWin::ID_About
}
 

Functions

int mainEntry (int argc, char *argv[]) __attribute__((weak))
 
void capd::krak::set_pat (void)
 
void capd::krak::free_pat (void)
 
void capd::krak::wxWin::paintAddedAreas (wxDC &dc, wxBrush &brush, wxCoord prevWidth, wxCoord prevHeight, wxCoord newWidth, wxCoord newHeight)
 
void capd::krak::wxWin::yield ()
 
void capd::krak::wxWin::drawingFinished ()
 
void capd::krak::wxWin::keyWasChecked ()
 
int capd::krak::GetKey (void)
 
void capd::krak::GetMouse (capd::krak::Pxl *pxl)
 
int capd::krak::Button (void)
 
void capd::krak::Beep (int freq, int time)
 
void capd::krak::PlotDot (wxDC &dc, wxPen &pen, int i, int j)
 
void capd::krak::PlotDot (int i, int j)
 
void capd::krak::MoveTo (int i, int j)
 
void capd::krak::MWLineTo (wxDC &dc, wxPen &pen, int i, int j)
 
void capd::krak::MWLineTo (int i, int j)
 
void capd::krak::Crcl (wxDC &dc, wxPen &pen, int i, int j, int r)
 
void capd::krak::Crcl (int i, int j, int r)
 
void capd::krak::FillRct (wxDC &dc, Rct *r, int pattNr, int colNr)
 
void capd::krak::FillRct (capd::krak::Rct *r, int pattNr, int colNr)
 
double capd::krak::getAngle (int x, int y)
 
void capd::krak::FillChord (wxDC &dc, int ltj, int lti, int rbj, int rbi, double start, double end, int pattNr, int colNr)
 
void capd::krak::FillChord (int ltj, int lti, int rbj, int rbi, int bj, int bi, int ej, int ei, int pattNr, int colNr)
 
void capd::krak::Arc (wxDC &dc, wxPen &pen, int ltj, int lti, int rbj, int rbi, double start, double end)
 
void capd::krak::Arc (int ltj, int lti, int rbj, int rbi, int bj, int bi, int ej, int ei, int colNr)
 
void capd::krak::FillRgn (wxDC &dc, int n, wxPoint points[], int pattNr, int colNr)
 
void capd::krak::FillRgn (int *r, int lPoints, int pattNr, int colNr)
 
void capd::krak::SetBgCol (int col)
 
void capd::krak::SetFgCol (int col)
 
int capd::krak::DrawStrng (wxDC &dc, wxFont &font, const char *txt)
 
void capd::krak::DrawStrng (const char *txt)
 
void capd::krak::SetTextSize (int)
 
int capd::krak::GetTextSize (void)
 
char * capd::krak::datetime (void)
 
void capd::krak::OpenGraphics (int hrs, int vrs, int bgcol, int fgcol, int ltx, int lty)
 
void capd::krak::CloseGraphics (void)
 
long capd::krak::tickClock (void)
 
double capd::krak::Clock (void)
 
double capd::krak::tck2sec (long)
 
long capd::krak::tckClock (void)
 

Variables

const wxChar * capd::krak::wxWin::defaultStatusText
 
KrakFrame * capd::krak::wxWin::krakFrame = (KrakFrame *) NULL
 
KrakThread * capd::krak::wxWin::krakThread = (KrakThread *) NULL
 

Detailed Description

Author
Pawel Pilarczyk