#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 |
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 |
Definition at line 154 of file dlg_box.h.
| tdialogbox::tdialogbox | ( | ) |
Definition at line 141 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.
| tdialogbox::~tdialogbox | ( | ) | [protected, virtual] |
Definition at line 2511 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.
| void tdialogbox::init | ( | void | ) |
Reimplemented in tbi3preferences, ResizeMap, tchoosezoomlevel, MultilineEdit, tgetid, StringEdit, tstringselect, tmapgenerator, tplayerchange, BuildingValues, EditAiParam, UnitPropertyEditor, tres, tminestrength, EditArchivalInformation, MirrorMap, tputresourcesdlg, ttributepayments, tresearchinfo, tchoosetechlevel, and tplayerselall.
Definition at line 314 of file dlg_box.cpp.
References activefontsettings, actmap, GameMap::actplayer, boxstatus, darkgray, disablecolor, dlg_3dtitle, dlg_in3d, dlg_mode, tdlgengine::firstbutton, getplayercolor(), tfontsettings::height, imagesaved, tfontsettings::length, markedtab, npush, starty, tabcount, taborder, textcolor, title, windowstyle, tdlgengine::x1, tdlgengine::xsize, tdlgengine::y1, and tdlgengine::ysize.
Referenced by tplayerselall::init(), tgiveunitawaydlg::init(), tchoosetechlevel::init(), tresearchinfo::init(), ttributepayments::init(), MirrorMap::init(), EditArchivalInformation::init(), tminestrength::init(), tres::init(), UnitPropertyEditor::init(), EditAiParam::init(), BuildingValues::init(), tplayerchange::init(), tputresourcesdlg::init(), tmapgenerator::init(), StringEdit::init(), tgetid::init(), tstringselect::init(), tviewtextquery::init(), thelpsystem::init(), tdisplaymessage::init(), MultilineEdit::init(), tchoosezoomlevel::init(), ResizeMap::init(), tbi3preferences::init(), tviewanytext::init(), and tchoice_dlg::init().
| void tdialogbox::buildgraphics | ( | void | ) |
Reimplemented in thelpsystem.
Definition at line 1180 of file dlg_box.cpp.
References activefontsettings, agmp, boxstatus, tfontsettings::color, dlg_mode, dlg_notitle, dlg_wintitle, getimage(), getmousestatus(), imagesaved, imagesize(), malloc(), mousevisible(), ms, paint(), pcgo, rebuildtaborder(), redraw(), tgraphmodeparameters::resolutionx, tgraphmodeparameters::resolutiony, textcolor, tp, windowstyle, tdlgengine::x1, tdlgengine::xsize, tdlgengine::y1, and tdlgengine::ysize.
Referenced by thelpsystem::buildgraphics(), tplayerselall::init(), tgiveunitawaydlg::init(), tchoosetechlevel::init(), tresearchinfo::init(), ttributepayments::init(), MirrorMap::init(), EditArchivalInformation::init(), tminestrength::init(), tres::init(), UnitPropertyEditor::init(), EditAiParam::init(), BuildingValues::init(), tplayerchange::init(), tputresourcesdlg::init(), tmapgenerator::init(), StringEdit::init(), tgetid::init(), tstringselect::init(), MultilineEdit::init(), tchoosezoomlevel::init(), ResizeMap::init(), tbi3preferences::init(), tviewanytext::init(), and tchoice_dlg::init().
| void tdialogbox::changecoordinates | ( | void | ) | [virtual] |
Definition at line 356 of file dlg_box.cpp.
| void tdialogbox::run | ( | void | ) | [virtual] |
Reimplemented in tchoice_dlg, tbi3preferences, ResizeMap, tchoosezoomlevel, tviewanytext, tmessagedlg, MultilineEdit, tdisplaymessage, thelpsystem, tgetid, ChooseString, StringEdit, tstringselect, tmapgenerator, tplayerchange, BuildingValues, StringSelector, EditAiParam, UnitPropertyEditor, tres, tminestrength, EditArchivalInformation, MirrorMap, tputresourcesdlg, ttributepayments, tresearchinfo, tchoosetechlevel, tplayerselall, and PlayListSelector.
Definition at line 1477 of file dlg_box.cpp.
References tdlgengine::tbutton::active, agmp, ct_invvalue, ct_shift_tab, ct_tab, cto_invvalue, dlg_mode, execbutton(), tdlgengine::firstbutton, getkeysyms(), getmousestatus(), tdlgengine::tbutton::id, tdlgengine::tbutton::key, tdlgengine::tbutton::keynum, keypress(), tdlgengine::tbutton::markedkey, tdlgengine::tbutton::markedkeynum, markedtab, mouseparams, mousevisible(), tdlgengine::tbutton::next, paint(), pcgo, prev, tdlgengine::prntkey, redrawall2(), releasetimeslice(), repaintDisplay, tgraphmodeparameters::resolutionx, tgraphmodeparameters::resolutiony, showtabmark(), tdlgengine::tbutton::status, tabcount, taborder, tmousesettings::taste, tdlgengine::taste, tmousesettings::x, tdlgengine::tbutton::x1, tdlgengine::x1, tdlgengine::tbutton::x2, xorrectangle(), tdlgengine::xsize, tmousesettings::y, tdlgengine::tbutton::y1, tdlgengine::y1, tdlgengine::tbutton::y2, and tdlgengine::ysize.
Referenced by tplayerselall::run(), tgiveunitawaydlg::run(), tchoosetechlevel::run(), tresearchinfo::run(), ttributepayments::run(), MirrorMap::run(), EditArchivalInformation::run(), tminestrength::run(), tres::run(), UnitPropertyEditor::run(), EditAiParam::run(), BuildingValues::run(), tplayerchange::run(), tputresourcesdlg::run(), tmapgenerator::run(), StringEdit::run(), tgetid::run(), tstringselect::run(), thelpsystem::run(), tdisplaymessage::run(), tmessagedlg::run(), tchoosezoomlevel::run(), ResizeMap::run(), tbi3preferences::run(), tviewanytext::run(), and tchoice_dlg::run().
| void tdialogbox::done | ( | void | ) |
Reimplemented in thelpsystem, and tstringselect.
Definition at line 1235 of file dlg_box.cpp.
References activefontsettings, boxstatus, first, tdlgengine::firstbutton, getmousestatus(), imagesaved, mousevisible(), ms, tdlgengine::tbutton::next, npop, putimage(), repaintDisplay, tp, tdlgengine::x1, and tdlgengine::y1.
Referenced by bi3preferences(), EditArchivalInformation::buttonpressed(), changebuildingvalues(), changeminestrength(), changeresource(), changeunitvalues(), choosetechlevel(), choosezoomlevel(), displaymessage(), tstringselect::done(), thelpsystem::done(), editArchivalInformation(), editjournal(), editString(), execaction(), executeUserAction(), getid(), giveunitaway(), legacy_choice_dlg(), tloadBImap::LoadFromFile(), mapgenerator(), mirrorMap(), playerchange(), playerselall(), removemessage(), researchinfo(), resizemap(), UnitTypeTransformation::run(), settributepayments(), viewjournal(), viewVisibilityStatistics(), and ~tdialogbox().
| char tdialogbox::checkvalue | ( | int | id, | |
| void * | p | |||
| ) | [virtual] |
Reimplemented in ResizeMap, and MirrorMap.
Definition at line 1644 of file dlg_box.cpp.
Referenced by editfield().
| void tdialogbox::editfield | ( | pbutton | pb | ) |
Definition at line 1662 of file dlg_box.cpp.
References activefontsettings, tdlgengine::tbutton::art, tfontsettings::background, checkvalue(), tfontsettings::color, tdlgengine::tbutton::data, dblue, tfontsettings::font, tdlgengine::tbutton::id, tfontsettings::length, tdlgengine::tbutton::max, schriften, Schriften::smallarial, stredit(), textcolor, tdlgengine::x1, tdlgengine::tbutton::x1, tdlgengine::tbutton::x2, tdlgengine::tbutton::y1, and tdlgengine::y1.
Referenced by editfield(), execbutton(), and tchoosezoomlevel::run().
| void tdialogbox::editfield | ( | int | id | ) |
Definition at line 1651 of file dlg_box.cpp.
References editfield(), tdlgengine::firstbutton, and tdlgengine::tbutton::id.
| void tdialogbox::toggleswitch | ( | pbutton | pb | ) |
Definition at line 1618 of file dlg_box.cpp.
References tdlgengine::buttonpressed(), tdlgengine::tbutton::data, tdlgengine::tbutton::id, line(), tdlgengine::tbutton::max, tdlgengine::tbutton::min, tdlgengine::tbutton::style, tdlgengine::tbutton::x1, tdlgengine::x1, tdlgengine::tbutton::y1, tdlgengine::y1, and tdlgengine::tbutton::y2.
Referenced by execbutton().
| void tdialogbox::enablebutton | ( | int | id | ) | [virtual] |
Definition at line 860 of file dlg_box.cpp.
References tdlgengine::tbutton::active, activefontsettings, tdlgengine::tbutton::art, tfontsettings::background, bar(), centertext, tfontsettings::color, tdlgengine::tbutton::data, tdlgengine::tbutton::data2, tdlgengine::tbutton::entries, tdlgengine::tbutton::entrynum, fatalError(), tdlgengine::firstbutton, tfontsettings::font, tfont::height, tdlgengine::tbutton::id, itoa(), tfontsettings::justify, lefttext, tfontsettings::length, lightgray, line(), tfontsettings::markcolor, tdlgengine::tbutton::max, max(), tdlgengine::tbutton::min, newknopf(), tdlgengine::tbutton::next, npop, npush, collategraphicoperations::off(), collategraphicoperations::on(), paintsurface(), paintsurface2(), rahmen(), rebuildtaborder(), schriften, showtext2(), showtext3(), Schriften::smallarial, tdlgengine::tbutton::style, tdlgengine::tbutton::text, textcolor, tdlgengine::tbutton::x1, tdlgengine::x1, tdlgengine::tbutton::x2, tdlgengine::tbutton::y1, tdlgengine::y1, and tdlgengine::tbutton::y2.
Referenced by tputresourcesdlg::buttonpressed(), tmapgenerator::buttonpressed(), execbutton(), UnitPropertyEditor::init(), redraw(), thelpsystem::repaintscrollbar(), tviewanytext::repaintscrollbar(), and showbutton().
| void tdialogbox::disablebutton | ( | int | id | ) | [virtual] |
Definition at line 993 of file dlg_box.cpp.
References tdlgengine::tbutton::active, activefontsettings, tdlgengine::tbutton::art, centertext, tfontsettings::color, tdlgengine::tbutton::data, tdlgengine::tbutton::data2, disablecolor, tdlgengine::firstbutton, tfontsettings::font, tfont::height, tdlgengine::tbutton::id, itoa(), tfontsettings::justify, lefttext, tfontsettings::length, line(), tdlgengine::tbutton::max, tdlgengine::tbutton::min, tdlgengine::tbutton::next, npop, npush, paintsurface2(), rebuildtaborder(), rectangle(), schriften, showtext2(), Schriften::smallarial, tdlgengine::tbutton::style, tdlgengine::tbutton::text, tdlgengine::x1, tdlgengine::tbutton::x1, tdlgengine::tbutton::x2, tdlgengine::tbutton::y1, tdlgengine::y1, and tdlgengine::tbutton::y2.
Referenced by redraw(), and showbutton().
| void tdialogbox::execbutton | ( | pbutton | pb, | |
| char | mouse | |||
| ) | [virtual] |
Definition at line 1266 of file dlg_box.cpp.
References activefontsettings, agmp, tdlgengine::tbutton::art, tfontsettings::background, bar(), black, tdlgengine::buttonpressed(), tfontsettings::color, tdlgengine::tbutton::data, tdlgengine::tbutton::data2, editfield(), enablebutton(), tdlgengine::tbutton::entries, tdlgengine::tbutton::entrynum, first, tfontsettings::font, getimage(), getmousestatus(), tdlgengine::tbutton::id, imagesize(), tfontsettings::justify, knopfsuccessful, lefttext, tfontsettings::length, lightgray, malloc(), tdlgengine::tbutton::max, min(), mouseinrect(), mouseparams, mousevisible(), newknopfdruck(), newknopfdruck3(), newknopfdruck4(), tdlgengine::tbutton::newpressed, collategraphicoperations::off(), paintsurface2(), tdlgengine::tbutton::pressed, putimage(), rahmen(), rectangle(), releasetimeslice(), tgraphmodeparameters::resolutiony, schriften, tdlgengine::tbutton::scrollspeed, showbutton(), showtext2(), Schriften::smallarial, starty, tdlgengine::tbutton::style, tmousesettings::taste, textcolor, ticker, toggleswitch(), tmousesettings::x, tdlgengine::tbutton::x1, tdlgengine::x1, tdlgengine::tbutton::x2, tmousesettings::y, tdlgengine::tbutton::y1, tdlgengine::y1, and tdlgengine::tbutton::y2.
Referenced by StringEdit::run(), tgetid::run(), and run().
| void tdialogbox::showbutton | ( | int | id | ) | [virtual] |
Implements tdlgengine.
Definition at line 707 of file dlg_box.cpp.
References tdlgengine::tbutton::active, tdlgengine::tbutton::art, disablebutton(), enablebutton(), tdlgengine::firstbutton, getmousestatus(), tdlgengine::tbutton::id, mousevisible(), tdlgengine::tbutton::next, tdlgengine::tbutton::pressed, rebuildtaborder(), and tdlgengine::tbutton::status.
Referenced by execbutton(), and tstringselect::run().
| void tdialogbox::hidebutton | ( | int | id | ) |
Definition at line 742 of file dlg_box.cpp.
References tdlgengine::tbutton::art, tdlgengine::firstbutton, tdlgengine::tbutton::id, tdlgengine::tbutton::next, rebuildtaborder(), and tdlgengine::tbutton::status.
| void tdialogbox::setscrollspeed | ( | char | id, | |
| int | speed | |||
| ) |
Definition at line 814 of file dlg_box.cpp.
References tdlgengine::tbutton::art, tdlgengine::firstbutton, tdlgengine::tbutton::id, tdlgengine::tbutton::next, and tdlgengine::tbutton::scrollspeed.
Referenced by thelpsystem::init(), and tviewanytext::init().
| void tdialogbox::rebuildtaborder | ( | void | ) |
Definition at line 651 of file dlg_box.cpp.
References tdlgengine::tbutton::active, tdlgengine::tbutton::art, tdlgengine::firstbutton, tdlgengine::tbutton::id, markedtab, tdlgengine::tbutton::next, showtabmark(), tdlgengine::tbutton::status, tabcount, taborder, tdlgengine::x1, tdlgengine::tbutton::x1, tdlgengine::tbutton::x2, tdlgengine::y1, tdlgengine::tbutton::y1, and tdlgengine::tbutton::y2.
Referenced by buildgraphics(), disablebutton(), enablebutton(), hidebutton(), and showbutton().
| void tdialogbox::showtabmark | ( | int | b | ) |
Definition at line 1470 of file dlg_box.cpp.
References taborder, tdlgengine::x1, xorrectangle(), and tdlgengine::y1.
Referenced by rebuildtaborder(), and run().
| void tdialogbox::setclipping | ( | void | ) | [virtual] |
Definition at line 254 of file dlg_box.cpp.
References bar(), next, setclipping(), tdlgengine::x1, tdlgengine::xsize, tdlgengine::y1, and tdlgengine::ysize.
Referenced by paint(), and setclipping().
| void tdialogbox::paint | ( | void | ) | [virtual] |
Definition at line 292 of file dlg_box.cpp.
References agmp, copyvirtualframebuf(), hgmp, next, redraw(), setclipping(), and setvirtualframebuf().
Referenced by buildgraphics(), redrawall(), redrawall2(), and run().
| void tdialogbox::redrawall | ( | void | ) | [virtual] |
Definition at line 224 of file dlg_box.cpp.
References paint(), prev, redrawall(), and repaintDisplay.
Referenced by redrawall().
| void tdialogbox::redrawall2 | ( | int | xx1, | |
| int | yy1, | |||
| int | xx2, | |||
| int | yy2 | |||
| ) | [virtual] |
Definition at line 233 of file dlg_box.cpp.
References paint(), prev, repaintDisplay, tdlgengine::x1, tdlgengine::xsize, tdlgengine::y1, and tdlgengine::ysize.
Referenced by run(), and ~tdialogbox().
| int tdialogbox::getcapabilities | ( | void | ) | [virtual] |
Reimplemented in tviewanytext, and EditAiParam.
Definition at line 180 of file dlg_box.cpp.
Referenced by tdialogbox().
| void tdialogbox::repaintdisplay | ( | void | ) |
Definition at line 188 of file dlg_box.cpp.
| void tdialogbox::redraw | ( | void | ) | [protected, virtual] |
Reimplemented in tviewanytext.
Definition at line 1113 of file dlg_box.cpp.
References txlattables::a, tdlgengine::tbutton::active, 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, tdlgengine::tbutton::id, tfontsettings::justify, knopf(), Schriften::large, tfontsettings::length, tdlgengine::tbutton::next, rahmen(), schriften, showtext2(), Schriften::smallarial, starty, tdlgengine::tbutton::status, textcolor, title, white, windowstyle, tdlgengine::x1, xlattables, tdlgengine::xsize, tdlgengine::y1, and tdlgengine::ysize.
Referenced by buildgraphics(), paint(), and tviewanytext::redraw().
| void tdialogbox::setvirtualframebuf | ( | void | ) | [protected, virtual] |
Definition at line 247 of file dlg_box.cpp.
References agmp, tvirtualscreenbuf::buf, hgmp, tgraphmodeparameters::linearaddress, tgraphmodeparameters::scanlinelength, virtualscreenbuf, and tgraphmodeparameters::windowstatus.
Referenced by paint().
| void tdialogbox::copyvirtualframebuf | ( | void | ) | [protected, virtual] |
Definition at line 261 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().
| void tdialogbox::newknopf | ( | int | xx1, | |
| int | yy1, | |||
| int | xx2, | |||
| int | yy2 | |||
| ) | [protected] |
Definition at line 180 of file dlgraph.cpp.
References paintsurface2(), and rahmen().
Referenced by enablebutton().
| void tdialogbox::knopfdruck | ( | int | xx1, | |
| int | yy1, | |||
| int | xx2, | |||
| int | yy2 | |||
| ) | [protected] |
Definition at line 134 of file dlgraph.cpp.
References getimage(), imagesize(), knopfsuccessful, malloc(), mouseparams, mousevisible(), putimage(), rahmen(), releasetimeslice(), tmousesettings::taste, tmousesettings::x, and tmousesettings::y.
| void tdialogbox::knopf | ( | int | xx1, | |
| int | yy1, | |||
| int | xx2, | |||
| int | yy2 | |||
| ) | [protected] |
Definition at line 122 of file dlgraph.cpp.
References paintsurface2(), and rahmen().
Referenced by redraw().
| void tdialogbox::newknopfdruck4 | ( | int | xx1, | |
| int | yy1, | |||
| int | xx2, | |||
| int | yy2 | |||
| ) | [protected] |
Definition at line 283 of file dlgraph.cpp.
References getimage(), imagesize(), malloc(), putimage(), and rahmen().
Referenced by execbutton().
| void tdialogbox::newknopfdruck3 | ( | int | xx1, | |
| int | yy1, | |||
| int | xx2, | |||
| int | yy2 | |||
| ) | [protected] |
Definition at line 260 of file dlgraph.cpp.
References getimage(), imagesize(), malloc(), putimage(), and rahmen().
Referenced by execbutton().
| void tdialogbox::newknopfdruck2 | ( | int | xx1, | |
| int | yy1, | |||
| int | xx2, | |||
| int | yy2 | |||
| ) | [protected] |
Definition at line 194 of file dlgraph.cpp.
References getimage(), imagesize(), knopfsuccessful, line(), malloc(), mouseparams, mousevisible(), putimage(), releasetimeslice(), tmousesettings::taste, tmousesettings::x, and tmousesettings::y.
| void tdialogbox::newknopfdruck | ( | int | xx1, | |
| int | yy1, | |||
| int | xx2, | |||
| int | yy2 | |||
| ) | [protected] |
Definition at line 302 of file dlgraph.cpp.
References getimage(), imagesize(), knopfsuccessful, line(), malloc(), mouseparams, mousevisible(), putimage(), releasetimeslice(), tmousesettings::taste, tmousesettings::x, and tmousesettings::y.
Referenced by execbutton().
| void tdialogbox::rahmen | ( | bool | invers, | |
| int | x1, | |||
| int | y1, | |||
| int | x2, | |||
| int | y2 | |||
| ) | [protected] |
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().
| void tdialogbox::rahmen | ( | bool | invers, | |
| tmouserect | rect | |||
| ) | [protected] |
Definition at line 116 of file dlgraph.cpp.
References rahmen(), tmouserect::x1, tmouserect::x2, tmouserect::y1, and tmouserect::y2.
| void tdialogbox::rahmen3 | ( | const char * | txt, | |
| int | x1, | |||
| int | y1, | |||
| int | x2, | |||
| int | y2, | |||
| int | style | |||
| ) | [protected] |
Definition at line 1718 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().
| void tdialogbox::bar | ( | tmouserect | rect, | |
| int | color | |||
| ) | [protected] |
Definition at line 537 of file dlg_box.cpp.
References tmouserect::x1, tmouserect::x2, tmouserect::y1, and tmouserect::y2.
Referenced by bar(), UnitPropertyEditor::buttonpressed(), tmapgenerator::buttonpressed(), enablebutton(), execbutton(), tplayerselall::init(), tresearchinfo::init(), ttributepayments::init(), UnitPropertyEditor::init(), tplayerchange::init(), paintsurface2(), redraw(), tmapgenerator::resetmapfield(), tstringselect::resettextfield(), setclipping(), and tmapgenerator::showmontlayer().
| void tdialogbox::bar | ( | int | x1, | |
| int | y1, | |||
| int | x2, | |||
| int | y2, | |||
| int | color | |||
| ) | [protected] |
| void tdialogbox::dispeditstring | ( | char * | st, | |
| int | x1, | |||
| int | y1 | |||
| ) | [protected, virtual] |
| void tdialogbox::stredit | ( | char * | s, | |
| int | x1, | |||
| int | y1, | |||
| int | wdth, | |||
| int | max | |||
| ) | [protected] |
Definition at line 1995 of file dlg_box.cpp.
References activefontsettings, ct_einf, ct_ende, ct_entf, ct_invvalue, ct_left, ct_pos1, ct_right, ct_stp, cto_bspace, cto_einf, cto_ende, cto_enter, cto_entf, cto_esc, cto_invvalue, cto_left, cto_pos1, cto_right, cto_stp, dispeditstring(), tfontsettings::font, getkeysyms(), gettextwdth_stredit(), tfont::height, tfontsettings::height, tfontsettings::justify, keypress(), lefttext, tfontsettings::length, lne(), mouseinrect(), mouseparams, releasetimeslice(), and tmousesettings::taste.
Referenced by editfield().
| int tdialogbox::gettextwdth_stredit | ( | char * | txt, | |
| pfont | font | |||
| ) | [protected, virtual] |
| void tdialogbox::lne | ( | int | x1, | |
| int | y1, | |||
| char * | s, | |||
| int | position, | |||
| char | einfuegen | |||
| ) | [protected, virtual] |
Definition at line 2226 of file dlg_box.cpp.
References activefontsettings, tfontsettings::font, gettextwdth(), tfont::height, and xorline().
| void tdialogbox::intedit | ( | int * | st, | |
| int | x1, | |||
| int | y1, | |||
| int | wdth, | |||
| int | min, | |||
| int | max | |||
| ) | [protected] |
Definition at line 2252 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.
| void tdialogbox::paintsurface2 | ( | int | xx1, | |
| int | yy1, | |||
| int | xx2, | |||
| int | yy2 | |||
| ) | [protected] |
Definition at line 2492 of file dlg_box.cpp.
References bar(), dialogtexture, lightgray, and puttexture().
Referenced by disablebutton(), enablebutton(), execbutton(), knopf(), newknopf(), and paintsurface().
| void tdialogbox::paintsurface | ( | int | xx1, | |
| int | yy1, | |||
| int | xx2, | |||
| int | yy2 | |||
| ) | [protected] |
Definition at line 2501 of file dlg_box.cpp.
References paintsurface2(), tdlgengine::x1, and tdlgengine::y1.
Referenced by enablebutton().
Definition at line 157 of file dlg_box.h.
Referenced by buildgraphics(), editfield(), enablebutton(), execbutton(), tresearchinfo::init(), ttributepayments::init(), init(), and redraw().
Definition at line 158 of file dlg_box.h.
Referenced by execbutton(), ttributepayments::init(), thelpsystem::init(), init(), tbi3preferences::init(), tviewanytext::init(), redraw(), tgiveunitawaydlg::run(), ttributepayments::run(), MultilineEdit::setup(), and tmessagedlg::setup().
| int tdialogbox::ms |
Definition at line 159 of file dlg_box.h.
Referenced by buildgraphics(), copyvirtualframebuf(), done(), and tstringselect::run().
| void* tdialogbox::tp |
| const char* tdialogbox::title |
Definition at line 162 of file dlg_box.h.
Referenced by tplayerselall::init(), tgiveunitawaydlg::init(), tchoosetechlevel::init(), tresearchinfo::init(), ttributepayments::init(), MirrorMap::init(), EditArchivalInformation::init(), tminestrength::init(), tres::init(), UnitPropertyEditor::init(), EditAiParam::init(), BuildingValues::init(), tplayerchange::init(), tputresourcesdlg::init(), tmapgenerator::init(), StringEdit::init(), tgetid::init(), tstringselect::init(), thelpsystem::init(), init(), MultilineEdit::init(), tchoosezoomlevel::init(), ResizeMap::init(), tbi3preferences::init(), tviewanytext::init(), redraw(), PlayListSelector::setup(), ChooseString::setup(), and StringSelector::StringSelector().
Definition at line 163 of file dlg_box.h.
Referenced by buildgraphics(), tplayerselall::init(), ttributepayments::init(), tminestrength::init(), tres::init(), UnitPropertyEditor::init(), EditAiParam::init(), BuildingValues::init(), tplayerchange::init(), tmapgenerator::init(), StringEdit::init(), tgetid::init(), tstringselect::init(), thelpsystem::init(), init(), tviewanytext::init(), tchoice_dlg::init(), and redraw().
| ttaborder tdialogbox::taborder[100] |
Definition at line 164 of file dlg_box.h.
Referenced by init(), rebuildtaborder(), run(), and showtabmark().
Definition at line 168 of file dlg_box.h.
Referenced by buildgraphics(), displaymessage(), done(), init(), removemessage(), tdialogbox(), and ~tdialogbox().
collategraphicoperations * tdialogbox::pcgo [static] |
Definition at line 169 of file dlg_box.h.
Referenced by buildgraphics(), run(), tchoosezoomlevel::run(), and ~tdialogbox().
int tdialogbox::virtualbufoffset [protected] |
pdialogbox tdialogbox::next [protected] |
Definition at line 202 of file dlg_box.h.
Referenced by paint(), setclipping(), tdialogbox(), and ~tdialogbox().
pdialogbox tdialogbox::prev [protected] |
Definition at line 203 of file dlg_box.h.
Referenced by redrawall(), redrawall2(), run(), tdialogbox(), and ~tdialogbox().
pdialogbox tdialogbox::first [static, protected] |
Definition at line 204 of file dlg_box.h.
Referenced by done(), execbutton(), tdialogbox(), and ~tdialogbox().
int tdialogbox::dlg_mode [protected] |
Definition at line 206 of file dlg_box.h.
Referenced by buildgraphics(), init(), run(), tdialogbox(), and ~tdialogbox().
char tdialogbox::knopfsuccessful [protected] |
Definition at line 214 of file dlg_box.h.
Referenced by execbutton(), knopfdruck(), newknopfdruck(), and newknopfdruck2().
1.5.1