Revision 1.3 2004/05/24 17:41:44 majo documentation
Revision 1.2 2004/02/23 20:08:01 majo all classes are with prefix FG* on now polygon functions uses FGPointArray from now class GuiEvent is renamed to FGEvent some by parameters overloaded methods was removed (class FGWindow) many other small changes
Revision 1.1.1.1 2004/01/22 16:25:08 majo initial release
Classes | |
| struct | FGFont |
| struct | FGPoint |
| The FGPoint class defines a point in the plane. More... | |
| class | FGSize |
| The FGSize class defines the size of a two-dimensional object. More... | |
| struct | FGCircle |
| struct | FGRect |
| The FGRect class defines a rectangle in the plane. More... | |
| struct | FGPointArray |
| The FGPointArray class provides an array of points. More... | |
| class | FGFontProperty |
| class | FGFontManager |
| struct | FGPattern |
| class | FGConnector |
| class | FGMutex |
| class | FGDrawBuffer |
| struct | FGMouseCursor |
| struct | FGPalette |
| class | FGInputDevice |
| class | FGScreen |
| class | FGDriver |
| struct | FGColorScheme |
| class | FGTimer |
| class | FGEvent |
| class | FGBaseGui |
| base objects for all graphics objects More... | |
| class | FGBitmap |
| Used for an image file manipulating (load/save of various formats is implemented). More... | |
| class | FGButtonGroup |
| class | FGControl |
| The predecessor for the all widgets. More... | |
| class | FGLabel |
| class | FGPanel |
| class | FGImage |
| class | FGText |
| class | FGPushButton |
| class | FGCheckBox |
| class | FGRadioButton |
| class | FGTwoStateButton |
| class | FGEditBox |
| class | FGProgressBar |
| class | FGBaseMenu |
| class | FGBaseMenuItem |
| class | FGSlider |
| class | FGSlideBarH |
| class | FGSlideBarV |
| class | FGControlContainer |
| class | FGWindow |
| class | FGApp |
| class | FGMenuWindow |
| class | FGDialog |
| struct | FGClosure |
| class | FGColor |
| The FGColor class provides colors based on RGB or HSV values. More... | |
| class | FG2Colors |
| class | FG3Colors |
| class | FG4Colors |
| class | FGRelatedColors |
| class | FGGradient |
| class | GLSurface |
| class | FGMatrix |
| The FGMatrix class specifies 2D transformations of a coordinate system. More... | |
| class | XUIComponent |
| class | XUIComposite |
| class | XUIControl |
| class | XUIText |
| class | XUIPushButton |
| class | XUIEditBox |
| class | XUICheckBox |
| class | XUISlideBar |
| class | XUIRadioButton |
| class | XUIListBox |
| class | XUIRadioGroup |
| class | XUIMenuItem |
| class | XUIPopupMenu |
| class | XUIMenu |
| class | XUIMenuBar |
| class | XUIWindow |
| class | XUIBuilder |
| class | listbox |
| class | FGListBoxTemplate |
| struct | id_string |
| class | FGListBox |
| struct | dirent |
| struct | DIR |
| class | FGBlockStyle |
| class | FGBlock |
| class | FGPaneContainer |
| class | FGPane |
| struct | mydirent |
| class | FGFileDialog |
| class | FGTextEditor |
| class | FGColorDialog |
| class | FGFontDialog |
| class | FGUpDown |
| class | FGWidgetContainer |
| class | FGRadioGroup |
| class | FGRadioGroupVertical |
| class | FGRadioGroupHorizontal |
| class | FGColorPicker |
Typedefs | |
| typedef unsigned char | FGPixel |
| typedef void(* | blitter_t )(FGPixel *, FGPixel *, int, int, int, int) |
| typedef void(* | blitter2_t )(FGPixel *, FGPixel *, int, int, int, int, unsigned) |
| typedef void(* | blitter_a_t )(FGPixel *, FGPixel *, int, int, int, int, int, unsigned ppop) |
| typedef int(* | shapper_t )(int, int, int, int, FGPixel ink, unsigned ppop) |
| typedef void(* | clipper_t )(int, int, int, int) |
| typedef void(* | plotter_t )(FGPixel *ptr, int x, int y, int ww, FGPixel ink, unsigned ppop) |
| typedef void(* | paletter_t )(unsigned, unsigned) |
| typedef int(* | mouser_t )(int, int, int, int &) |
| typedef int | FGCOORD |
| typedef unsigned int(* | TimerCall )(unsigned int) |
| typedef void(* | TimerProc )(int) |
| typedef void(* | GuiHwnd )(FGEvent *) |
| typedef int(* | MainHwnd )(FGEvent *) |
| typedef FGControl * | CallBack |
| typedef void(* | FGListBoxCallBack )(int flag, FGWindow *wnd, int x, int y, void *data, int index) |
| typedef void(* | FileDialogCallBack )(char *filename, FGFileDialog *) |
| typedef void(* | ColorDialogCallBack )(FGPixel color) |
| typedef void(* | FontDialogCallBack )(int f) |
| typedef void(* | ControlCall )(FGControl *) |
| typedef FGControlContainer::iterator | FGControlIterator |
| typedef std::list< FGControlContainer > | FGControlBox |
| typedef FGControlBox::iterator | FGControlBoxIterator |
| typedef std::list< FGWindow * > | FGWindowContainer |
| typedef FGWindowContainer::iterator | FGWindowIterator |
| typedef FGWindowContainer::reverse_iterator | FGWindowRIterator |
| typedef void(* | XUIEventHandler )(CallBack cb, void *user_data) |
| typedef void(* | XUIEnterHandlerText )(CallBack cb, const char *text, void *user_data) |
| typedef void(* | XUIEnterHandlerInteger )(CallBack cb, const int integer, void *user_data) |
| typedef void(* | XUIEnterHandlerDouble )(CallBack cb, const double integer, void *user_data) |
| typedef void(* | XUIWindowHandler )(FGEvent *event, void *user_data) |
| typedef std::list< FGClosure > | ClosureList |
| typedef ClosureList::iterator | ClosureIterator |
| typedef unsigned | PIXEL_ARGB |
| typedef std::list< XUIComponent * > | ComponentContainer |
| typedef ComponentContainer::iterator | ComponentIterator |
| typedef ComponentContainer::const_iterator | CComponentIterator |
| typedef std::vector< FGControl * > | FGCtrlContainer |
| typedef FGCtrlContainer::iterator | CPTR |
Enumerations | |
| enum | ENUM_PPOP { _GSET, _GXOR, _GAND, _GOR, _GPLUS, _GMINUS, _GNOT, _GREPLACE_GE16, _GTRANSPARENT, _GCOLORKEY, _GREPLACE_LE32, _GREPLACE_LE48, _GREPLACE_LE64, _GREPLACE_LE80, _GREPLACE_LESS } |
| enum | ENUM_VIDEOMODE { GTEXT, G320x200, G640x480, G800x600, G1024x768, G1280x1024, G1600x1200, GCUSTOM } |
| enum | ENUM_ROTATE_DIRECTION { ROTATE_90_CW, ROTATE_90_CCW, ROTATE_180, ROTATE_HORIZONTAL, ROTATE_VERTICAL } |
| enum | ENUM_EVENTS { NOEVENT, KEYEVENT, MOUSEEVENT, QUITEVENT, ACCELEVENT, TERMINATEEVENT, CLOSEEVENT, MOVEEVENT, CLICKRIGHTEVENT, CLICKLEFTEVENT, CLICKMIDDLEEVENT, DRAGLEFTEVENT, DRAGRIGHTEVENT, GETFOCUSEVENT, LOSTFOCUSEVENT, INITEVENT, BUTTONHOLDEVENT, WINDOWRESIZEEVENT, WINDOWMOVEEVENT, STARTDRAGLEFTEVENT, STARTDRAGRIGHTEVENT, REPAINTEVENT, NOTIFYEVENT, ICONIZEEVENT, CURSOROUTEVENT, DBLCLICKRIGHTEVENT, DBLCLICKLEFTEVENT, DBLCLICKMIDDLEEVENT, MOUSEWHEELEVENT, TABSWITCHEVENT, LASTEVENT } |
| enum | ENUM_FONTS { FONT0406, FONT0808, FONT0816, FONT1222, FONT1625, FONT2034, FONTSYS, FONTSYSMEDIUM, FONTSYSLIGHT, FONTLAST = (MAX_FONTS-1) } |
| enum | ENUM_BUFFERING { FG_DOUBLEBUFFER = 2, FG_TRIPLEBUFFER, FG_QUADBUFFER } |
| enum | ENUM_MUTEX_TYPE { fastMutEx = 1, recursiveMutEx } |
| enum | { BNORMAL = 7, BMASK = BNORMAL, BPUSHED = 3, BDISABLED = 5 } |
| enum | ENUM_OS { OSTYPE_LINUX = 1, OSTYPE_MSDOS, OSTYPE_WIN32, OSTYPE_QNX } |
| enum | MODAL_RETURN { mrNone = -1, mrOk = -2, mrCancel = -3, mrYes = -2, mrNo = -3, mrAll = -4, mrIgnore = -5, mrClose = -6, mrQuit = -7, mrRetry = -8, mrUnknown = -9 } |
Functions | |
| unsigned __fastcall | GetXRes (void) |
| unsigned __fastcall | GetYRes (void) |
| FGPixel *__fastcall | GetFrameBuffer (void) |
| int __fastcall | get_colordepth (void) |
| const char * | GetVer (void) |
| void __fastcall | set_transpcolor (FGPixel c) |
| static unsigned | comp_outcode (int x, int y, int clip_left, int clip_top, int clip_right, int clip_bottom) |
| static int | muldiv64 (int m1, int m2, int d) |
| static int | gl_regioncode (int x, int y, int __clipx1, int __clipy1, int __clipx2, int __clipy2) |
| int | ClipLine (int &x1, int &y1, int &x2, int &y2, int __clipx1, int __clipy1, int __clipx2, int __clipy2) |
| void | draw_point (int x, int y, FGPixel color, unsigned ppop) |
| static void __fastcall | _vsymetry2 (int xs, int ys, int x, int y, FGPixel ink, unsigned ppop) |
| void __fastcall | fill_circle (int xs, int ys, int r, FGPixel ink, unsigned ppop) |
| static void __fastcall | _vsymetry (int xs, int ys, int x, int y, FGPixel ink, unsigned ppop) |
| void __fastcall | draw_circle (int xs, int ys, int r, FGPixel ink, unsigned ppop) |
| void | RamToVideo (FGPixel *Image, int x, int y, int xm, int ym, int w, int h, int cx_max, int cy_max, int opcia, unsigned ppop) |
| void | VideoToRam (FGPixel *Image, int x, int y, int xm, int ym, int w, int h, int cx_max, int cy_max) |
| void | RamToRam (int x, int y, int step_src, int ymax, int xdst, int ydst, int step_dst, int ymaxdst, int w, int h, FGPixel *from, FGPixel *to, unsigned alpha, unsigned ppop) |
| int __fastcall | text_out (int x, int y, char *txt, FGPixel ink, FGPixel paper, unsigned ppop, int f) |
| void | fill_box (int x, int y, int w, int h, FGPixel ink, unsigned ppop) |
| void | draw_box (int x, int y, int w, int h, FGPixel ink, unsigned ppop) |
| void __fastcall | set_clip_rect (int w, int h, int x, int y) |
| void __fastcall | put_block (int x, int y, int w, int h, FGPixel *p, unsigned ppop) |
| void __fastcall | get_block (int x, int y, int w, int h, FGPixel *p) |
| unsigned int __fastcall | areasize (int w, int h) |
| void | clear_frame_buffer (FGPixel color) |
| void __fastcall | Snd (int a, int b) |
| void __fastcall | Puk (void) |
| void | XWaitRetrace (void) |
| void | XWaitPeriod (void) |
| int | gprintf (FGPixel ink, FGPixel paper, int x, int y, const char *format,...) |
| void | do_fill_polygon (const FGPointArray *poly, PolygonStruct *current, FGPixel ink, unsigned ppop) |
| void | do_polygon (const FGPointArray *poly, PolygonStruct *current, FGPixel ink, unsigned ppop) |
| void __fastcall | fill_convex (const FGPointArray *poly, FGPixel ink, unsigned ppop) |
| void __fastcall | draw_convex (const FGPointArray *poly, FGPixel ink, unsigned ppop) |
| void __fastcall | draw_ellipse (int x, int y, int rx, int ry, FGPixel ink, unsigned ppop) |
| void __fastcall | fill_ellipse (int x, int y, int rx, int ry, FGPixel ink, unsigned ppop) |
| static float __fastcall | bez_split (float mu, float x1, float x2) |
| static FGPoint __fastcall | bezval (float mu, FGPoint coor[4]) |
| void | calc_spline (FGPoint points[4], int npts, FGPoint output[]) |
| void __fastcall | draw_spline (FGPoint points[4], FGPixel ink, unsigned ppop) |
| int | stricmp (const char *s1, const char *s2) |
| int | strnicmp (const char *s1, const char *s2, size_t n) |
| char * | strupr (register char *s) |
| char * | strlwr (char *_s) |
| void | _palette (unsigned col, unsigned rgb) |
| void | set_palette_map (int cnt, int ind, int *pal) |
| unsigned int __fastcall | get_palette (unsigned int i) |
| void __fastcall | _set_fgl_palette (void) |
| void __fastcall | _set_default_palette (void) |
| void __fastcall | GetPaletteEntry (unsigned char *rc, unsigned char *gc, unsigned char *bc, int i) |
| void __fastcall | DeleteColor (int idx) |
| void __fastcall | SetColorFuzzy (int a) |
| int __fastcall | GetFreeColors (void) |
| void __fastcall | CreatePaletteEntry (int rc, int gc, int bc, int idx) |
| static FGPixel __fastcall | CreateColor2 (int r, int g, int b) |
| FGPixel __fastcall | CreateColor (int r, int g, int b, int ind) |
| void __fastcall | draw_arc (int x, int y, double ang1, double ang2, int r, FGPixel ink, unsigned ppop) |
| void | AlphaBlit (FGPixel *dst_data, FGPixel *src_data, int len, int alpha, unsigned ppop) |
| void | L1RamToVideoA (FGPixel *src, FGPixel *dst, int w, int h, int offsrc, int offdst, int alpha, unsigned ppop) |
| void | L1RamToRamA (FGPixel *src, FGPixel *dst, int w, int h, int offsrc, int offdst, int alpha, unsigned ppop) |
| void __fastcall | moveto (int x, int y) |
| int __fastcall | drawto_line (int x, int y, FGPixel ink, unsigned ppop) |
| unsigned long __fastcall | FGClock (void) |
| static void | __pline (plotter_t draw, int a1, int b1, int a2, int b2, FGPattern *pat, FGPixel ink, unsigned ppop) |
| int | __draw_line (int a1, int b1, int a2, int b2, FGPixel color, unsigned ppop) |
| void __fastcall | draw_pattern_line (int x1, int y1, int x2, int y2, FGPattern *p, unsigned ppop) |
| void __fastcall | drawto_pattern_line (int x2, int y2, FGPattern *p, unsigned ppop) |
| void __fastcall | draw_pattern_box (int x, int y, int a, int b, FGPattern *pat, unsigned ppop) |
| void | outpb (unsigned port, unsigned val) |
| void | outpw (unsigned port, unsigned val) |
| void | outpl (unsigned port, unsigned val) |
| unsigned char | inpb (unsigned port) |
| unsigned short | inpw (unsigned port) |
| unsigned int | inpl (unsigned port) |
| static void __fastcall | modify_point (FGPixel *ptr, FGPixel c, unsigned ppop) |
| void | FGmemset2 (FGPixel *to, FGPixel data, unsigned c, unsigned ppop) |
| void | FGmemcpy (FGPixel *to, FGPixel *from, unsigned c) |
| void | FGmemcpyd (FGPixel *to, FGPixel *from, unsigned c) |
| void | FGmemcpy2 (FGPixel *to, FGPixel *from, unsigned c, unsigned ppop) |
| void | L1RamToRam (FGPixel *from, FGPixel *to, int w, int h, int step_src, int step_dst) |
| void | L1RamToRamd (FGPixel *from, FGPixel *to, int w, int h, int step_src, int step_dst) |
| void | L1RamToRamPpop (FGPixel *from, FGPixel *to, int w, int h, int step_src, int step_dst, unsigned ppop) |
| void | L1Box (FGPixel *ptr, int w, int h, FGPixel color, int xoffset, unsigned ppop) |
| void | L1VideoToRam8 (FGPixel *from, FGPixel *to, int w, int h, int off1, int off2) |
| void | L1RamToVideo8 (FGPixel *from, FGPixel *to, int w, int h, int off1, int off2) |
| void | L1RamToVideo2 (FGPixel *from, FGPixel *to, int w, int h, int off1, int off2, unsigned ppop) |
| void | draw_hline (int x, int y, int len, FGPixel ink, unsigned ppop) |
| void | draw_vline (int x, int y, int len, FGPixel ink, unsigned ppop) |
| int | __fill_box (int x, int y, int w, int h, FGPixel ink, unsigned ppop) |
| void | __draw_point (FGPixel *ptr, int x, int y, int ww, FGPixel c, unsigned ppop) |
| int | get_point (int x, int y) |
| void | FGmemset (FGPixel *to, FGPixel data, unsigned c) |
| bool | operator== (const FGRect &r1, const FGRect &r2) |
| bool | operator!= (const FGRect &r1, const FGRect &r2) |
| bool | operator== (const FGSize &s1, const FGSize &s2) |
| bool | operator!= (const FGSize &s1, const FGSize &s2) |
| const FGSize | operator+ (const FGSize &s1, const FGSize &s2) |
| const FGSize | operator- (const FGSize &s1, const FGSize &s2) |
| const FGSize | operator * (const FGSize &s, int c) |
| const FGSize | operator * (int c, const FGSize &s) |
| const FGSize | operator * (const FGSize &s, double c) |
| const FGSize | operator * (double c, const FGSize &s) |
| const FGSize | operator/ (const FGSize &s, int c) |
| const FGSize | operator/ (const FGSize &s, double c) |
| void | delay (unsigned int) |
| int | draw_line (int x, int y, int x1, int y1, FGPixel color, unsigned ppop) |
| void | calc_spline (FGPoint points[], int npts, FGPoint output[]) |
| int | graph_set_mode (int mode) |
| int | graph_change_mode (int ww, int hh) |
| void | cleanup (void) |
| void | UpdateRect (int x, int y, int xm, int ym, int w, int h) |
| int | GetPriv (void) |
| static int | readColorMap (FILE *, int, unsigned char[GIF_MAXCOLORS][3]) |
| static int | GetDataBlock (FILE *, unsigned char *) |
| static void | readImage (FILE *, int, int, int, unsigned char *) |
| static void | read_RLE8_compressed_image (FILE *f, unsigned char *bmp, int w, int h) |
| static void | copy_gif_palette (unsigned char *to, unsigned char *data, int cnt) |
| static int | rle_read (FILE *fp, unsigned char *buffer, tga_info *info) |
| static void | flip_line (unsigned char *buffer, tga_info *info) |
| static void | read_line (FILE *fp, FGPixel *row, unsigned char *buffer, tga_info *info, unsigned *palette) |
| static int | ReadImage (FILE *fp, tga_info *info, char *filename, unsigned char *tga_cmap, FGPixel *data) |
| GIFStream * | GIFReadFP (FILE *fd) |
| GIFStream * | GIFRead (char *file) |
| static void | initLWZ (int input_code_size) |
| static int | nextCode (FILE *fd, int code_size) |
| static int | nextLWZ (FILE *fd) |
| static void | CartesFromPolar (float azimut, float range, int &coord_x, int &coord_y) |
| static void | __palette (unsigned col, unsigned rgb) |
| static void | GetModeSize (int mode) |
| FGDriver * | GetDriver (int priority) |
| void | RootResize (int, int) |
| static void | InitCRC (void) |
| static char * | skipstr (char *s) |
| static void | ClrScr (int ako) |
| static int | is_alted (int c) |
| static void | IErrorText (char *s, int flag) |
| void | IError (char *s, int flag) |
| unsigned int | CalculateCRC (unsigned StartCRC, void *Addr, unsigned Size) |
| static void | Yes_No (CallBack t) |
| static void | ShowEfect (int x1, int y1, int w1, int h1, int x2, int y2, int w2, int h2) |
| static FGMutex | closure_mutex (recursiveMutEx) |
| void | GetTempName (char *buffer, int size) |
| void | RegisterOnClickSignal (const char *signal_name, XUIEventHandler fnc, void *user_data) |
| void | RegisterOnEnterSignal (const char *signal_name, XUIEnterHandlerText fnc, void *user_data) |
| void | RegisterOnEnterSignal (const char *signal_name, XUIEnterHandlerInteger fnc, void *user_data) |
| void | RegisterOnEnterSignal (const char *signal_name, XUIEnterHandlerDouble fnc, void *user_data) |
| void | RegisterControl (FGControl *ctrl, XUIEventHandler fnc, void *user_data) |
| void | RegisterWindowHandler (const char *handler_name, XUIWindowHandler fnc, void *user_data) |
| bool | ChangeSignalData (const char *signal_name, void *func, void *user_data) |
| bool | DeregisterSignal (const char *signal_name, void *func) |
| bool | DeregisterSignal (const char *signal_name, void *func, void *data) |
| void | CallClosure (const char *event_name, CallBack cb) |
| void | CallClosure (const char *event_name, CallBack cb, int value) |
| void | CallClosure (const char *event_name, FGEvent *event) |
| void | CallClosureDebug () |
| static int | FGround (double value) |
| DIR * | opendir (const char *dirname) |
| void | rewinddir (DIR *dir) |
| dirent * | readdir (DIR *dir) |
| int | closedir (DIR *dir) |
| void | HandleAlarm (int sig) |
| int | __MouseDraw (int x, int y, int a, int &mouseflag) |
| static int | sort_name (void const *a, void const *b) |
| static int | sort_type (void const *a, void const *b) |
Variables | |
| static FGPixel | __p1 [2] |
| static FGPixel | __p2 [9] |
| static FGPixel | __p3 [15] |
| static FGPixel | __p4 [8] |
| FGPattern | PatternDot (__p1, 2, 1) |
| FGPattern | PatternSlashDot (__p2, 9, 1) |
| FGPattern | PatternSlashDotSlash (__p3, 15, 1) |
| FGPattern | PatternSlash (__p4, 8, 1) |
| shapper_t | vector_draw_line = 0 |
| clipper_t | vector_clip_rect = 0 |
| shapper_t | vector_fill_box = 0 |
| plotter_t | vector_draw_point = 0 |
| paletter_t | vector_palette = 0 |
| blitter_t | vector_blit_copy = L1RamToVideo8 |
| blitter2_t | vector_blit_op = L1RamToVideo2 |
| blitter_a_t | vector_blit_a = L1RamToVideoA |
| int | clip_x_min = 0 |
| int | clip_y_min = 0 |
| int | clip_x_max = 1 |
| int | clip_y_max = 1 |
| FGPixel * | videobase = 0 |
| int | X_width = 1 |
| int | Y_width = 1 |
| int | X_virtual = 1 |
| int | Y_virtual = 1 |
| int | sound_enabled = true |
| unsigned int long | _fgl_palette [256] |
| FGPalette | ColorsArray [256] |
| int | bpp = sizeof(FGPixel) |
| char | __fgl_version [] = FG_VERSION |
| edge | edge_array [128+2] |
| scan | scan_array [128+8] |
| FGFontManager | fontman |
| static FGMutex | TextMutex |
| static int | colorsFree = 256 |
| static int | startFree |
| static int | range |
| const unsigned | BITBLIT_COPY = 0x0000 |
| const unsigned | BITBLIT_WITH_OPERATOR = 0x0200 |
| const unsigned | BITBLIT_WITH_ALPHA = 0x0400 |
| const unsigned | BITBLIT_WITH_CLIPPING = 0x1000 |
| const unsigned | BITBLIT_WITH_DECREMENT = 0x2000 |
| const FGPixel | CBLACK = 0 |
| const FGPixel | CDARK = 1 |
| const FGPixel | CGRAYED = 2 |
| const FGPixel | CGRAY1 = 3 |
| const FGPixel | CGRAY2 = 4 |
| const FGPixel | CGRAY3 = 5 |
| const FGPixel | CBLUE = 6 |
| const FGPixel | CBLUELIGHT = 7 |
| const FGPixel | CGREEN = 8 |
| const FGPixel | CGREENLIGHT = 9 |
| const FGPixel | CRED = 10 |
| const FGPixel | CREDLIGHT = 11 |
| const FGPixel | CBROWN = 12 |
| const FGPixel | CYELLOW = 13 |
| const FGPixel | CWHITED = 14 |
| const FGPixel | CWHITE = 15 |
| const unsigned | UNDEFINED_COLOR = unsigned(0xffffffffU) |
| const unsigned | DEFAULT_COLOR_KEY = unsigned(0x12345678U) |
| const unsigned | DEFAULT_ALPHA_VALUE = unsigned(0) |
| FGDriver * | __fg_driver = 0 |
| const FGMouseCursor | IDC_NORMAL_SMALL |
| const FGMouseCursor | IDC_NORMAL_LARGE |
| const FGMouseCursor * | idc_normal |
| static jmp_buf | setjmp_buffer |
| static unsigned char | magic [18] |
| static int | ZeroDataBlock = FALSE |
| static int | curbit |
| static int | lastbit |
| static int | get_done |
| static int | last_byte |
| static int | return_clear |
| static int | stack [(1<< (MAX_LWZ_BITS))*2] |
| static int * | sp |
| static int | code_size |
| static int | set_code_size |
| static int | max_code |
| static int | max_code_size |
| static int | clear_code |
| static int | end_code |
| static int | firsttime = 1 |
| FGScreen | FGFrameBuffer |
| static int | __fg_font_tab [5][2] |
| FGApp * | cApp |
| ConfigInterface * | cCfg |
| FGInternalState | fgstate |
| WindowDatabase * | entryPoint |
| static FGWindow * | _Note_Ptr |
| static FGWindow * | close_adept |
| static unsigned int | CRCTab [256] |
| static int | alty [26] |
| static FGColorScheme | _FGCS |
| FGColorScheme * | CScheme = &_FGCS |
| static ClosureList | closures |
| const unsigned | WFRAMED = 0x0001 |
| const unsigned | WTITLED = 0x0002 |
| const unsigned | WMODAL = 0x0004 |
| const unsigned | WNOTIFY = 0x0008 |
| const unsigned | WHIDEN = 0x0010 |
| const unsigned | WUNMOVED = 0x0020 |
| const unsigned | WMENU = 0x0040 |
| const unsigned | WNOPICTO = 0x0080 |
| const unsigned | WBITMAP = 0x0100 |
| const unsigned | WCLICKABLE = 0x0200 |
| const unsigned | WDIRTY = 0x0400 |
| const unsigned | WUSESELECTEDCONTROL = 0x0800 |
| const unsigned | WLOCKED = 0x1000 |
| const unsigned | WTRIGGER = 0x2000 |
| const unsigned | WLASTFOCUS = 0x4000 |
| const unsigned | WSIZEABLE = 0x8000 |
| const unsigned | WUSELAST = 0x00010000 |
| const unsigned | WMINIMIZE = 0x00020000 |
| const unsigned | WSTATUSBAR = 0x00040000 |
| const unsigned | WGLCONTEXT = 0x00100000 |
| const unsigned | WNOTEBOOK = 0x00200000 |
| const unsigned | WBACK = 0x00400000 |
| const unsigned | WCENTRED = 0x00800000 |
| const unsigned | WESCAPE = 0x01000000 |
| const unsigned | WALIGNED = 0x02000000 |
| const unsigned | WFASTMOVE = 0x04000000 |
| const unsigned | WTOP = 0x08000000 |
| const unsigned | WNOICON = 0x10000000 |
| const unsigned | WNODRAWFROMCONSTRUCTOR = 0x20000000 |
| const unsigned | WICONWINDOWTYPE = 0x40000000 |
| const unsigned | WMENUWINDOWTYPE = 0x80000000 |
| const unsigned | WSTANDARD = (WTITLED|WFRAMED) |
| const unsigned | APP_WINDOWDATABASE = 1 |
| const unsigned | APP_CFG = 2 |
| const unsigned | APP_ENABLEALTX = 4 |
| const unsigned | APP_MAGNIFIER = 8 |
| const unsigned | APP_ROOTWINDOW = 16 |
| const unsigned | APP_ENABLEEFECTS = 0x20 |
| const unsigned | APP_ALL = 0x1F |
| const unsigned | APP_LOCALDIR = 0x80000000 |
| bool | qt_old_transformations = TRUE |
| const double | deg2rad = 0.017453292519943295769 |
| static FGBlockStyle | default_style |
| static TimerCall | alarm_callback = NULL |
| static unsigned int | alarm_interval |
| static struct timeval | start |
| static FGPixel | m_save [MSZ *MSZ] |
| mouser_t | vector_mouse_cursor = __MouseDraw |
| fgl::KeyPair | keys [] |
| const unsigned | FDIALOG_OPEN = 1 |
| const unsigned | FDIALOG_SAVE = 2 |
| const unsigned | FDIALOG_MODAL = 4 |
| const unsigned | FDIALOG_SAVEDIR = 8 |
| const unsigned | FDIALOG_MULTISELECT = 16 |
| const unsigned | FONT_DIALOG_FIXED = 1 |
| const unsigned | FONT_DIALOG_VARIABLE = 2 |
| const unsigned | FONT_DIALOG_ALL = (FONT_DIALOG_FIXED | FONT_DIALOG_VARIABLE) |
|
|
ABGR components |
|
||||||||||||||||||||||||||||
|
internal for draw circle to the screen
|
|
||||||||||||||||||||||||||||
|
internal for fill circle in VRAM
|
|
||||||||||||||||
|
Calculates a weighted average between x1 and x2. |
|
||||||||||||
|
Calculates a point on a bezier curve. |
|
||||||||||||||||
|
Calculates a series of npts values along a bezier spline, storing them in the output x and y arrays. The bezier curve is specified by the four x/y control points in the points array: points[0] and points[1] contain the coordinates of the first control point, points[2] and points[3] are the second point, etc. Control points 0 and 3 are the ends of the spline, and points 1 and 2 are guides. The curve probably won't pass through points 1 and 2, but they affect the shape of the curve between points 0 and 3 (the lines p0-p1 and p2-p3 are tangents to the spline). The easiest way to think of it is that the curve starts at p0, heading in the direction of p1, but curves round so that it arrives at p3 from the direction of p2. In addition to their role as graphics primitives, spline curves can be useful for constructing smooth paths around a series of control points. |
|
||||||||||||
|
|
|
||||||||||||||||
|
|
|
||||||||||||
|
|
|
|
|
|
||||||||||||||||||||
|
SCANCNVX.C ---- scan fill a convex polygon Copyright (c) 1995 Csaba Biegl, 820 Stirrup Dr, Nashville, TN 37221 [e-mail: csaba@vuse.vanderbilt.edu] See "doc/copying.cb" for details. |
|
|
first of all, try X11 if not disabled one then try DGA if not disabled one then try FRAMEBUFFER if not disabled then try SVGA/VESA as last chance |
|
||||||||||||
|
internal for print error message
|
|
||||||||||||||||||||||||||||
|
fill box in buffer without drawmode
|
|
||||||||||||||||||||||||||||
|
copy block from video to RAM
|
|
|
sound efect
|
|
||||||||||||
|
generate a HZ tone for b msec
|
|
|
for drawing sync
|
|
|
Initial value:
{
{4,8},
{8,12},
{8,18},
{12,25},
{16,34},
}
|
|
|
Initial value:
{0, 1}
|
|
|
Initial value:
{1, 0, 0, 1, 1, 1, 1, 0, 0}
|
|
|
Initial value:
{0, 0, 1, 1, 1, 1, 0, 0, 1, 0, 0, 1, 1, 1, 1}
|
|
|
Initial value:
{0, 0, 0, 0, 1, 1, 1, 1}
|
|
|
current palette [ABGR]
|
|
|
Initial value: {
ALT_A,ALT_B,ALT_C,ALT_D,ALT_E,ALT_F,ALT_G,ALT_H,
ALT_I,ALT_J,ALT_K,ALT_L,ALT_M,ALT_N,ALT_O,ALT_P,
ALT_Q,ALT_R,ALT_S,ALT_T,ALT_U,ALT_V,ALT_W,ALT_X,
ALT_Y,ALT_Z }
|
|
|
current bytes per pixel - for future
|
|
|
clipping co-ordinates
|
|
|
clipping co-ordinates
|
|
|
clipping co-ordinates
|
|
|
clipping co-ordinates
|
|
|
Key to string mapping. |
|
|
Initial value:
{
0x54, 0x52, 0x55, 0x45, 0x56, 0x49, 0x53, 0x49, 0x4f,
0x4e, 0x2d, 0x58, 0x46, 0x49, 0x4c, 0x45, 0x2e, 0x0
}
|
|
|
bitblit copy
|
|
|
draw clipped to screen recty - HW helper = 0;
|
|
|
draw clipped to screen line
|
|
|
draw clipped to screen plot
|
|
|
draw clipped to screen box
|
|
|
set 8 bit palette (shift needed for 6-bit palette)
|
|
|
offset VRAM in VideoSegment (non-zero in LINUX only)
|
|
|
size of the screen
|
|
|
size of the screen
|
|
|
size of the screen
|
|
|
size of the screen
|
1.4.0