 |
Eclipse SUMO - Simulation of Urban MObility
|
Go to the documentation of this file.
18 #ifndef GUIMessageWindow_h
19 #define GUIMessageWindow_h
66 virtual void setCursorPos(FXint pos, FXbool notify = FALSE);
MsgOutputDevice(GUIMessageWindow *msgWindow, GUIEventType type)
constructor
GUIEventType myType
type of event
OutputDevice * myMessageRetriever
Static storage of an output device and its base (abstract) implementation.
A logging window for the gui.
GUIMessageWindow(FXComposite *parent)
Constructor.
OutputDevice * myWarningRetriever
~MsgOutputDevice()
destructor
const GUIGlObject * getActiveStringObject(const FXString &text, const FXint pos, const FXint lineS, const FXint lineE) const
get active string object
FXHiliteStyle * myStyles
The text colors used.
~GUIMessageWindow()
Destructor.
void unregisterMsgHandlers()
unregister message handlers
void addSeparator()
Adds a a separator to this log window.
void clear()
Clears the window.
OutputDevice * myErrorRetriever
The instances of message retriever encapsulations.
static bool myLocateLinks
whether messages are linked to the GUI elements
std::ostringstream myStream
output string stream
static bool locateLinksEnabled()
ask whether locate links is enabled
void appendMsg(GUIEventType eType, const std::string &msg)
Adds new text to the window.
void postWriteHook()
write hook
static void enableLocateLinks(const bool val)
switch locate links on and off
virtual void setCursorPos(FXint pos, FXbool notify=FALSE)
set cursor position over a certain line
std::ostream & getOStream()
get Output Stream
OutputDevice * myGLDebugRetriever
void registerMsgHandlers()
register message handlers
GUIMessageWindow * myMsgWindow
pointer to message Windows
OutputDevice * myDebugRetriever