#include <dlg_box.h>
Inheritance diagram for tdialogbox:

Public Member Functions | |
| tdialogbox () | |
| void | init (void) |
| void | buildgraphics (void) |
| virtual void | changecoordinates (void) |
| virtual void | run (void) |
| void | done (void) |
| virtual char | checkvalue (int id, void *p) |
| void | editfield (pbutton pb) |
| void | editfield (int id) |
| void | toggleswitch (pbutton pb) |
| virtual void | enablebutton (int id) |
| virtual void | disablebutton (int id) |
| virtual void | execbutton (pbutton pb, char mouse) |
| void | showbutton (int id) |
| void | hidebutton (int id) |
| void | setscrollspeed (char id, int speed) |
| void | rebuildtaborder (void) |
| void | showtabmark (int b) |
| virtual void | setclipping (void) |
| virtual void | paint (void) |
| virtual void | redrawall (void) |
| virtual void | redrawall2 (int xx1, int yy1, int xx2, int yy2) |
| virtual int | getcapabilities (void) |
| void | repaintdisplay (void) |
Public Attributes | |
| int | textcolor |
| int | starty |
| int | ms |
| void * | tp |
| char | imagesaved |
| const char * | title |
| int | windowstyle |
| ttaborder | taborder [100] |
| int | tabcount |
| int | markedtab |
| int | disablecolor |
| int | boxstatus |
Static Public Attributes | |
| static collategraphicoperations * | pcgo = NULL |
Protected Member Functions | |
| virtual void | redraw (void) |
| virtual void | setvirtualframebuf (void) |
| virtual void | copyvirtualframebuf (void) |
| void | newknopf (int xx1, int yy1, int xx2, int yy2) |
| void | knopfdruck (int xx1, int yy1, int xx2, int yy2) |
| void | knopf (int xx1, int yy1, int xx2, int yy2) |
| void | newknopfdruck4 (int xx1, int yy1, int xx2, int yy2) |
| void | newknopfdruck3 (int xx1, int yy1, int xx2, int yy2) |
| void | newknopfdruck2 (int xx1, int yy1, int xx2, int yy2) |
| void | newknopfdruck (int xx1, int yy1, int xx2, int yy2) |
| void | rahmen (bool invers, int x1, int y1, int x2, int y2) |
| void | rahmen (bool invers, tmouserect rect) |
| void | rahmen3 (const char *txt, int x1, int y1, int x2, int y2, int style) |
| void | bar (tmouserect rect, int color) |
| void | bar (int x1, int y1, int x2, int y2, int color) |
| virtual void | dispeditstring (char *st, int x1, int y1) |
| void | stredit (char *s, int x1, int y1, int wdth, int max) |
| virtual int | gettextwdth_stredit (char *txt, pfont font) |
| virtual void | lne (int x1, int y1, char *s, int position, char einfuegen) |
| void | intedit (int *st, int x1, int y1, int wdth, int min, int max) |
| void | paintsurface2 (int xx1, int yy1, int xx2, int yy2) |
| void | paintsurface (int xx1, int yy1, int xx2, int yy2) |
| virtual | ~tdialogbox () |
Protected Attributes | |
| int | virtualbufoffset |
| pdialogbox | next |
| pdialogbox | prev |
| int | dlg_mode |
| char | knopfsuccessful |
Static Protected Attributes | |
| static pdialogbox | first = NULL |
|
|
Definition at line 139 of file dlg_box.cpp. References activefontsettings, tfontsettings::background, black, boxstatus, tfontsettings::color, dlg_mode, first, tfontsettings::font, getcapabilities(), tfontsettings::markcolor, next, npush, prev, red, schriften, setEventRouting(), Schriften::smallarial, and virtualbufoffset. |
|
|
Definition at line 2509 of file dlg_box.cpp. References activefontsettings, boxstatus, dlg_mode, done(), first, next, npop, pcgo, prev, redrawall2(), repaintDisplay, setEventRouting(), tdlgengine::x1, tdlgengine::xsize, tdlgengine::y1, and tdlgengine::ysize. |
|
||||||||||||||||||||||||
|
Definition at line 540 of file dlg_box.cpp. References bar(). |
|
||||||||||||
|
|
|
Definition at line 354 of file dlg_box.cpp. |
|
||||||||||||
|
Reimplemented in ResizeMap, and MirrorMap. Definition at line 1642 of file dlg_box.cpp. Referenced by editfield(). |
|
|
Definition at line 259 of file dlg_box.cpp. References agmp, getmousestatus(), hgmp, tgraphmodeparameters::linearaddress, mousevisible(), ms, npop, npush, putspritetexture(), tdlgengine::x1, tdlgengine::xsize, tdlgengine::y1, and tdlgengine::ysize. Referenced by paint(). |
|
|
Definition at line 991 of file dlg_box.cpp. References activefontsettings, centertext, disablecolor, tdlgengine::firstbutton, itoa(), lefttext, line(), npop, npush, paintsurface2(), rebuildtaborder(), rectangle(), schriften, showtext2(), Schriften::smallarial, tdlgengine::x1, and tdlgengine::y1. Referenced by redraw(), and showbutton(). |
|
||||||||||||||||
|
Definition at line 1987 of file dlg_box.cpp. References showtext2(). |
|
|
|
Definition at line 1649 of file dlg_box.cpp. References editfield(), and tdlgengine::firstbutton. |
|
|
Definition at line 1660 of file dlg_box.cpp. References activefontsettings, tfontsettings::background, checkvalue(), tfontsettings::color, dblue, tfontsettings::font, intedit(), tfontsettings::length, schriften, Schriften::smallarial, stredit(), textcolor, tdlgengine::x1, and tdlgengine::y1. Referenced by editfield(), execbutton(), and tchoosezoomlevel::run(). |
|
|
||||||||||||
|
|
Reimplemented in tviewanytext, and EditAiParam. Definition at line 178 of file dlg_box.cpp. Referenced by tdialogbox(). |
|
||||||||||||
|
Definition at line 2218 of file dlg_box.cpp. References gettextwdth(). Referenced by stredit(). |
|
|
Definition at line 740 of file dlg_box.cpp. References tdlgengine::firstbutton, and rebuildtaborder(). |
|
|
||||||||||||||||||||||||||||
|
Definition at line 2250 of file dlg_box.cpp. References activefontsettings, ct_einf, ct_ende, ct_entf, ct_left, ct_pos1, ct_right, ct_stp, cto_einf, cto_ende, cto_enter, cto_entf, cto_esc, cto_invvalue, cto_left, cto_pos1, cto_right, cto_stp, dispeditstring(), displaymessage(), tfontsettings::font, getkeysyms(), gettextwdth(), tfont::height, tfontsettings::height, itoa(), tfontsettings::justify, keypress(), lefttext, lne(), mouseinrect(), mouseparams, releasetimeslice(), and tmousesettings::taste. Referenced by editfield(). |
|
||||||||||||||||||||
|
Definition at line 122 of file dlgraph.cpp. References paintsurface2(), and rahmen(). Referenced by redraw(). |
|
||||||||||||||||||||
|
Definition at line 134 of file dlgraph.cpp. References asc_free(), asc_malloc(), getimage(), imagesize(), knopfsuccessful, mouseparams, mousevisible(), putimage(), rahmen(), releasetimeslice(), tmousesettings::taste, tmousesettings::x, and tmousesettings::y. |
|
||||||||||||||||||||||||
|
Definition at line 2224 of file dlg_box.cpp. References activefontsettings, tfontsettings::font, gettextwdth(), tfont::height, and xorline(). |
|
||||||||||||||||||||
|
Definition at line 180 of file dlgraph.cpp. References paintsurface2(), and rahmen(). Referenced by enablebutton(). |
|
||||||||||||||||||||
|
Definition at line 302 of file dlgraph.cpp. References asc_free(), asc_malloc(), getimage(), imagesize(), knopfsuccessful, line(), mouseparams, mousevisible(), putimage(), releasetimeslice(), tmousesettings::taste, tmousesettings::x, and tmousesettings::y. Referenced by execbutton(). |
|
||||||||||||||||||||
|
Definition at line 194 of file dlgraph.cpp. References asc_free(), asc_malloc(), getimage(), imagesize(), knopfsuccessful, line(), mouseparams, mousevisible(), putimage(), releasetimeslice(), tmousesettings::taste, tmousesettings::x, and tmousesettings::y. |
|
||||||||||||||||||||
|
Definition at line 260 of file dlgraph.cpp. References asc_free(), asc_malloc(), getimage(), imagesize(), putimage(), and rahmen(). Referenced by execbutton(). |
|
||||||||||||||||||||
|
Definition at line 283 of file dlgraph.cpp. References asc_free(), asc_malloc(), getimage(), imagesize(), putimage(), and rahmen(). Referenced by execbutton(). |
|
|
Definition at line 290 of file dlg_box.cpp. References agmp, copyvirtualframebuf(), hgmp, next, redraw(), setclipping(), and setvirtualframebuf(). Referenced by buildgraphics(), redrawall(), redrawall2(), and run(). |
|
||||||||||||||||||||
|
Definition at line 2499 of file dlg_box.cpp. References paintsurface2(), tdlgengine::x1, and tdlgengine::y1. Referenced by enablebutton(). |
|
||||||||||||||||||||
|
Definition at line 2490 of file dlg_box.cpp. References bar(), dialogtexture, lightgray, and puttexture(). Referenced by disablebutton(), enablebutton(), execbutton(), knopf(), newknopf(), and paintsurface(). |
|
||||||||||||
|
Definition at line 116 of file dlgraph.cpp. References rahmen(), tmouserect::x1, tmouserect::x2, tmouserect::y1, and tmouserect::y2. |
|
||||||||||||||||||||||||
|
Definition at line 97 of file dlgraph.cpp. References darkgray, line(), and white. Referenced by thelpsystem::buildgraphics(), enablebutton(), execbutton(), tresearchinfo::init(), ttributepayments::init(), tmapgenerator::init(), tstringselect::init(), knopf(), knopfdruck(), newknopf(), newknopfdruck3(), newknopfdruck4(), rahmen(), redraw(), tviewanytext::redraw(), and tstringselect::resettextfield(). |
|
||||||||||||||||||||||||||||
|
Definition at line 1716 of file dlg_box.cpp. References activefontsettings, black, tfontsettings::font, gettextwdth(), tfont::height, tfontsettings::justify, lefttext, tfontsettings::length, line(), npop, npush, schriften, showtext2(), and Schriften::smallarial. Referenced by ttributepayments::init(). |
|
|
Definition at line 649 of file dlg_box.cpp. References tdlgengine::firstbutton, markedtab, showtabmark(), tabcount, taborder, tdlgengine::x1, and tdlgengine::y1. Referenced by buildgraphics(), disablebutton(), enablebutton(), hidebutton(), and showbutton(). |
|
|
Reimplemented in tviewanytext. Definition at line 1111 of file dlg_box.cpp. References txlattables::a, activefontsettings, actmap, GameMap::actplayer, tfontsettings::background, bar(), blue, centertext, tfontsettings::color, disablebutton(), dlg_3dtitle, dlg_in3d, dlg_notitle, dlg_wintitle, enablebutton(), tdlgengine::firstbutton, tfontsettings::font, tfontsettings::height, tfontsettings::justify, knopf(), Schriften::large, tfontsettings::length, rahmen(), schriften, showtext2(), Schriften::smallarial, starty, textcolor, title, white, windowstyle, tdlgengine::x1, xlattables, tdlgengine::xsize, tdlgengine::y1, and tdlgengine::ysize. Referenced by buildgraphics(), paint(), and tviewanytext::redraw(). |
|
|
Definition at line 222 of file dlg_box.cpp. References paint(), prev, redrawall(), and repaintDisplay. Referenced by redrawall(). |
|
||||||||||||||||||||
|
Definition at line 231 of file dlg_box.cpp. References paint(), prev, repaintDisplay, tdlgengine::x1, tdlgengine::xsize, tdlgengine::y1, and tdlgengine::ysize. Referenced by run(), and ~tdialogbox(). |
|
|
Definition at line 186 of file dlg_box.cpp. |
|
|
|
Definition at line 252 of file dlg_box.cpp. References bar(), next, setclipping(), tdlgengine::x1, tdlgengine::xsize, tdlgengine::y1, and tdlgengine::ysize. Referenced by paint(), and setclipping(). |
|
||||||||||||
|
Definition at line 812 of file dlg_box.cpp. References tdlgengine::firstbutton. Referenced by thelpsystem::init(), and tviewanytext::init(). |
|
|
Definition at line 245 of file dlg_box.cpp. References agmp, tvirtualscreenbuf::buf, hgmp, tgraphmodeparameters::linearaddress, tgraphmodeparameters::scanlinelength, and tgraphmodeparameters::windowstatus. Referenced by paint(). |
|
|
Implements tdlgengine. Definition at line 705 of file dlg_box.cpp. References disablebutton(), enablebutton(), tdlgengine::firstbutton, getmousestatus(), mousevisible(), and rebuildtaborder(). Referenced by execbutton(), and tstringselect::run(). |