|
|
|
|
Documentation |
|
Main Page Namespace List Class Hierarchy Alphabetical List Compound List File List Namespace Members Compound Members File Members Related Pages Search
NLMISC::CWindowDisplayer Class Referencethis displayer displays on a win32 windows.
More...
#include <window_displayer.h>
Inheritance diagram for NLMISC::CWindowDisplayer:
List of all members.
Public Methods |
| CWindowDisplayer (const char *displayerName="") |
virtual | ~CWindowDisplayer () |
void | create (std::string titleBar="", bool iconified=false, sint x=-1, sint y=-1, sint w=-1, sint h=-1, sint hs=-1, sint fs=0, const std::string &fn="", bool ww=false) |
uint | createLabel (const char *value="?") |
void | setLabel (uint label, const std::string &value) |
bool | update () |
virtual void | setTitleBar (const std::string &titleBar) |
virtual void | getWindowPos (uint32 &x, uint32 &y, uint32 &w, uint32 &h) |
Protected Methods |
virtual void | doDisplay (const NLMISC::TDisplayInfo &args, const char *message) |
virtual void | open (std::string windowNameEx, bool iconified, sint x, sint y, sint w, sint h, sint hs, sint fs, const std::string &fn, bool ww)=0 |
virtual void | display_main ()=0 |
Protected Attributes |
bool | needSlashR |
CSynchronized< std::vector<
std::pair< uint32, std::string > > > | _Buffer |
CSynchronized< std::vector<
CLabelEntry > > | _Labels |
CSynchronized< std::vector<
std::string > > | _CommandsToExecute |
bool | _Continue |
std::vector< std::string > | _History |
uint | _PosInHistory |
bool | _Init |
sint | _HistorySize |
sint | _ToolBarHeight |
sint | _InputEditHeight |
NLMISC::IThread * | _Thread |
Friends |
class | CUpdateThread |
Detailed Description
this displayer displays on a win32 windows.
MT = Main Thread, DT = Display Thread -
Author:
-
Vianney Lecroart , Nevrax France
-
Date:
-
2001
Definition at line 46 of file window_displayer.h.
Constructor & Destructor Documentation
NLMISC::CWindowDisplayer::CWindowDisplayer |
( |
const char * |
displayerName = "" |
) |
[inline] |
|
NLMISC::CWindowDisplayer::~CWindowDisplayer |
( |
|
) |
[virtual] |
|
Member Function Documentation
void NLMISC::CWindowDisplayer::create |
( |
std::string |
titleBar = "", |
|
|
bool |
iconified = false, |
|
|
sint |
x = -1, |
|
|
sint |
y = -1, |
|
|
sint |
w = -1, |
|
|
sint |
h = -1, |
|
|
sint |
hs = -1, |
|
|
sint |
fs = 0, |
|
|
const std::string & |
fn = "", |
|
|
bool |
ww = false |
|
) |
|
|
uint NLMISC::CWindowDisplayer::createLabel |
( |
const char * |
value = "?" |
) |
|
|
virtual void NLMISC::CWindowDisplayer::display_main |
( |
|
) |
[protected, pure virtual] |
|
void NLMISC::CWindowDisplayer::doDisplay |
( |
const NLMISC::TDisplayInfo & |
args, |
|
|
const char * |
message |
|
) |
[protected, virtual] |
|
virtual void NLMISC::CWindowDisplayer::getWindowPos |
( |
uint32 & |
x, |
|
|
uint32 & |
y, |
|
|
uint32 & |
w, |
|
|
uint32 & |
h |
|
) |
[inline, virtual] |
|
virtual void NLMISC::CWindowDisplayer::open |
( |
std::string |
windowNameEx, |
|
|
bool |
iconified, |
|
|
sint |
x, |
|
|
sint |
y, |
|
|
sint |
w, |
|
|
sint |
h, |
|
|
sint |
hs, |
|
|
sint |
fs, |
|
|
const std::string & |
fn, |
|
|
bool |
ww |
|
) |
[protected, pure virtual] |
|
void NLMISC::CWindowDisplayer::setLabel |
( |
uint |
label, |
|
|
const std::string & |
value |
|
) |
|
|
virtual void NLMISC::CWindowDisplayer::setTitleBar |
( |
const std::string & |
titleBar |
) |
[inline, virtual] |
|
bool NLMISC::CWindowDisplayer::update |
( |
|
) |
|
|
Friends And Related Function Documentation
friend class CUpdateThread [friend]
|
|
Member Data Documentation
CSynchronized<std::vector<std::pair<uint32, std::string> > > NLMISC::CWindowDisplayer::_Buffer [protected]
|
|
CSynchronized<std::vector<std::string> > NLMISC::CWindowDisplayer::_CommandsToExecute [protected]
|
|
bool NLMISC::CWindowDisplayer::_Continue [protected]
|
|
std::vector<std::string> NLMISC::CWindowDisplayer::_History [protected]
|
|
sint NLMISC::CWindowDisplayer::_HistorySize [protected]
|
|
bool NLMISC::CWindowDisplayer::_Init [protected]
|
|
sint NLMISC::CWindowDisplayer::_InputEditHeight [protected]
|
|
CSynchronized<std::vector<CLabelEntry> > NLMISC::CWindowDisplayer::_Labels [protected]
|
|
uint NLMISC::CWindowDisplayer::_PosInHistory [protected]
|
|
sint NLMISC::CWindowDisplayer::_ToolBarHeight [protected]
|
|
bool NLMISC::CWindowDisplayer::needSlashR [protected]
|
|
The documentation for this class was generated from the following files:
|
|