Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

tstringselect Class Reference

#include <dlg_box.h>

Inheritance diagram for tstringselect:

Inheritance graph
[legend]
List of all members.

Public Member Functions

void init (void)
 tstringselect ()
virtual void setup (void)
virtual void run (void)
virtual void buttonpressed (int id)
void scrollbar_on (void)
void viewtext (void)
virtual void resettextfield (void)
virtual void get_text (int nr)
void done (void)

Public Attributes

char txt [2000]
char ok
int sy
int ey
int sx
int ex
int action
int dx
int dk
int msel
int mouseselect
int redline
int lnshown
int numberoflines
int firstvisibleline
int startpos
char scrollbarvisible

Constructor & Destructor Documentation

tstringselect::tstringselect  ) 
 

Definition at line 3419 of file dlg_box.cpp.

References firstvisibleline, numberoflines, redline, and startpos.


Member Function Documentation

void tstringselect::buttonpressed int  id  )  [virtual]
 

Reimplemented from tdlgengine.

Reimplemented in ChooseString, StringSelector, and PlayListSelector.

Definition at line 3480 of file dlg_box.cpp.

References tdlgengine::buttonpressed(), firstvisibleline, lnshown, redline, and viewtext().

Referenced by PlayListSelector::buttonpressed(), StringSelector::buttonpressed(), and ChooseString::buttonpressed().

void tstringselect::done void   ) 
 

Reimplemented from tdialogbox.

Definition at line 3622 of file dlg_box.cpp.

References tdialogbox::done(), mouseparams, releasetimeslice(), and tmousesettings::taste.

Referenced by chooseString(), selectPlayList(), and selectString().

void tstringselect::get_text int  nr  )  [virtual]
 

Reimplemented in ChooseString, StringSelector, and PlayListSelector.

Definition at line 3578 of file dlg_box.cpp.

References txt.

Referenced by viewtext().

void tstringselect::init void   ) 
 

Reimplemented from tdialogbox.

Definition at line 3428 of file dlg_box.cpp.

References action, activefontsettings, tdlgengine::addscrollbar(), tfontsettings::background, black, tdialogbox::buildgraphics(), tfontsettings::color, dk, dlg_in3d, dx, ex, ey, firstvisibleline, tfontsettings::font, tfontsettings::height, tdialogbox::init(), tfontsettings::justify, lefttext, lightgray, lnshown, mousevisible(), numberoflines, tdialogbox::rahmen(), redline, schriften, scrollbarvisible, setup(), Schriften::smallarial, startpos, sx, sy, tdialogbox::title, viewtext(), tdialogbox::windowstyle, tdlgengine::x1, tdlgengine::xsize, tdlgengine::y1, and tdlgengine::ysize.

Referenced by chooseString(), selectPlayList(), and selectString().

void tstringselect::resettextfield void   )  [virtual]
 

Definition at line 3572 of file dlg_box.cpp.

References tdialogbox::bar(), ex, ey, lightgray, tdialogbox::rahmen(), sx, sy, tdlgengine::x1, and tdlgengine::y1.

void tstringselect::run void   )  [virtual]
 

Reimplemented from tdialogbox.

Reimplemented in ChooseString, StringSelector, and PlayListSelector.

Definition at line 3491 of file dlg_box.cpp.

References ct_down, ct_ende, ct_pos1, ct_up, dk, dx, firstvisibleline, getmousestatus(), lnshown, mouseparams, mouseselect, tdialogbox::ms, msel, numberoflines, redline, tdialogbox::run(), tdialogbox::showbutton(), sy, tdlgengine::taste, tmousesettings::taste, viewtext(), tmousesettings::x, tdlgengine::x1, tdlgengine::xsize, tmousesettings::y, and tdlgengine::y1.

Referenced by PlayListSelector::run(), StringSelector::run(), and ChooseString::run().

void tstringselect::scrollbar_on void   ) 
 

Definition at line 3584 of file dlg_box.cpp.

References tdlgengine::addscrollbar(), ex, ey, firstvisibleline, lnshown, numberoflines, scrollbarvisible, and sy.

void tstringselect::setup void   )  [virtual]
 

Reimplemented in ChooseString, StringSelector, and PlayListSelector.

Definition at line 3475 of file dlg_box.cpp.

Referenced by init().

void tstringselect::viewtext void   ) 
 

Definition at line 3591 of file dlg_box.cpp.

References activefontsettings, tfontsettings::color, dx, ex, firstvisibleline, get_text(), tfontsettings::length, lightblue, lnshown, mousevisible(), npop, npush, numberoflines, red, redline, s1, showtext2(), sx, sy, txt, tdlgengine::x1, and tdlgengine::y1.

Referenced by buttonpressed(), init(), and run().


Member Data Documentation

int tstringselect::action
 

Definition at line 418 of file dlg_box.h.

Referenced by PlayListSelector::buttonpressed(), StringSelector::buttonpressed(), ChooseString::buttonpressed(), chooseString(), init(), PlayListSelector::run(), StringSelector::run(), ChooseString::run(), PlayListSelector::setup(), StringSelector::setup(), and ChooseString::setup().

int tstringselect::dk
 

Definition at line 419 of file dlg_box.h.

Referenced by init(), and run().

int tstringselect::dx
 

Definition at line 418 of file dlg_box.h.

Referenced by init(), run(), and viewtext().

int tstringselect::ex
 

Definition at line 418 of file dlg_box.h.

Referenced by init(), resettextfield(), scrollbar_on(), and viewtext().

int tstringselect::ey
 

Definition at line 418 of file dlg_box.h.

Referenced by init(), resettextfield(), scrollbar_on(), PlayListSelector::setup(), StringSelector::setup(), and ChooseString::setup().

int tstringselect::firstvisibleline
 

Definition at line 420 of file dlg_box.h.

Referenced by buttonpressed(), init(), run(), scrollbar_on(), tstringselect(), and viewtext().

int tstringselect::lnshown
 

Definition at line 420 of file dlg_box.h.

Referenced by buttonpressed(), init(), run(), scrollbar_on(), and viewtext().

int tstringselect::mouseselect
 

Definition at line 420 of file dlg_box.h.

Referenced by run().

int tstringselect::msel
 

Definition at line 420 of file dlg_box.h.

Referenced by run().

int tstringselect::numberoflines
 

Definition at line 420 of file dlg_box.h.

Referenced by init(), run(), scrollbar_on(), PlayListSelector::setup(), ChooseString::setup(), StringSelector::StringSelector(), tstringselect(), and viewtext().

char tstringselect::ok
 

Definition at line 417 of file dlg_box.h.

int tstringselect::redline
 

Definition at line 420 of file dlg_box.h.

Referenced by PlayListSelector::buttonpressed(), StringSelector::buttonpressed(), buttonpressed(), chooseString(), init(), StringSelector::run(), run(), selectString(), tstringselect(), and viewtext().

char tstringselect::scrollbarvisible
 

Definition at line 421 of file dlg_box.h.

Referenced by init(), and scrollbar_on().

int tstringselect::startpos
 

Definition at line 420 of file dlg_box.h.

Referenced by ChooseString::ChooseString(), init(), PlayListSelector::setup(), StringSelector::setup(), and tstringselect().

int tstringselect::sx
 

Definition at line 418 of file dlg_box.h.

Referenced by init(), resettextfield(), and viewtext().

int tstringselect::sy
 

Definition at line 418 of file dlg_box.h.

Referenced by init(), resettextfield(), run(), scrollbar_on(), and viewtext().

char tstringselect::txt[2000]
 

Definition at line 416 of file dlg_box.h.

Referenced by PlayListSelector::get_text(), StringSelector::get_text(), ChooseString::get_text(), get_text(), and viewtext().


The documentation for this class was generated from the following files:
Generated on Tue Jun 24 02:21:55 2008 for Advanced Strategic Command by  doxygen 1.4.2