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

Detailed Description

Definition at line 414 of file dlg_box.h.


Constructor & Destructor Documentation

tstringselect::tstringselect (  ) 

Definition at line 3421 of file dlg_box.cpp.

References firstvisibleline, numberoflines, redline, and startpos.


Member Function Documentation

void tstringselect::init ( void   ) 

Reimplemented from tdialogbox.

Definition at line 3430 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::setup ( void   )  [virtual]

Reimplemented in ChooseString, StringSelector, and PlayListSelector.

Definition at line 3477 of file dlg_box.cpp.

Referenced by init().

void tstringselect::run ( void   )  [virtual]

Reimplemented from tdialogbox.

Reimplemented in ChooseString, StringSelector, and PlayListSelector.

Definition at line 3493 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::buttonpressed ( int  id  )  [virtual]

Reimplemented from tdlgengine.

Reimplemented in ChooseString, StringSelector, and PlayListSelector.

Definition at line 3482 of file dlg_box.cpp.

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

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

void tstringselect::scrollbar_on ( void   ) 

Definition at line 3586 of file dlg_box.cpp.

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

void tstringselect::viewtext ( void   ) 

Definition at line 3593 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().

void tstringselect::resettextfield ( void   )  [virtual]

Definition at line 3574 of file dlg_box.cpp.

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

void tstringselect::get_text ( int  nr  )  [virtual]

Reimplemented in ChooseString, StringSelector, and PlayListSelector.

Definition at line 3580 of file dlg_box.cpp.

References txt.

Referenced by viewtext().

void tstringselect::done ( void   ) 

Reimplemented from tdialogbox.

Definition at line 3624 of file dlg_box.cpp.

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

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


Member Data Documentation

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().

char tstringselect::ok

Definition at line 417 of file dlg_box.h.

int tstringselect::sy

Definition at line 418 of file dlg_box.h.

Referenced by init(), resettextfield(), run(), 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::sx

Definition at line 418 of file dlg_box.h.

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

int tstringselect::ex

Definition at line 418 of file dlg_box.h.

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

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::dx

Definition at line 418 of file dlg_box.h.

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

int tstringselect::dk

Definition at line 419 of file dlg_box.h.

Referenced by init(), and run().

int tstringselect::msel

Definition at line 420 of file dlg_box.h.

Referenced by run().

int tstringselect::mouseselect

Definition at line 420 of file dlg_box.h.

Referenced by run().

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().

int tstringselect::lnshown

Definition at line 420 of file dlg_box.h.

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

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().

int tstringselect::firstvisibleline

Definition at line 420 of file dlg_box.h.

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

int tstringselect::startpos

Definition at line 420 of file dlg_box.h.

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

char tstringselect::scrollbarvisible

Definition at line 421 of file dlg_box.h.

Referenced by init(), and scrollbar_on().


The documentation for this class was generated from the following files:
Generated on Mon May 21 01:47:57 2012 for Advanced Strategic Command by  doxygen 1.5.1