Logo Search packages:      
Sourcecode: mana version File versions  Download package

Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | Private Types | Private Attributes | Friends

ChatWindow Class Reference
[User interface related classes (windows, dialogs)]

#include <chat.h>

Inheritance diagram for ChatWindow:
Inheritance graph
Collaboration diagram for ChatWindow:
Collaboration graph

List of all members.

Public Member Functions

void action (const gcn::ActionEvent &event)
void addInputText (const std::string &text)
void addItemText (const std::string &item)
ChatTabaddWhisperTab (const std::string &nick, bool switchTo=false)
void center ()
void chatInput (const std::string &msg)
 ChatWindow ()
void clearLayout ()
void clearTab (ChatTab *tab)
void clearTab ()
virtual void close ()
void doPresent ()
void draw (gcn::Graphics *graphics)
ChatTabgetFocused () const
int getGuiAlpha ()
LayoutgetLayout ()
int getMaxHeight () const
int getMaxWidth () const
int getMinHeight () const
int getMinWidth () const
WindowgetParentWindow () const
ContainerPlacer getPlacer (int x, int y)
bool getReturnTogglesChat () const
const std::string & getWindowName () const
bool isDefaultVisible () const
bool isInputFocused () const
bool isResizable () const
bool isSticky () const
void loadWindowState ()
void mouseDragged (gcn::MouseEvent &event)
void mouseExited (gcn::MouseEvent &event)
void mouseMoved (gcn::MouseEvent &event)
void mousePressed (gcn::MouseEvent &event)
void mouseReleased (gcn::MouseEvent &event)
void nextTab ()
LayoutCellplace (int x, int y, gcn::Widget *, int w=1, int h=1)
void prevTab ()
void redraw ()
void reflowLayout (int w=0, int h=0)
bool requestChatFocus ()
void resetToDefaultSize ()
void saveWindowState ()
void scheduleDelete ()
void scroll (int amount)
void setCloseButton (bool flag)
void setContentSize (int width, int height)
void setDefaultSize (int defaultWidth, int defaultHeight, ImageRect::ImagePosition position, int offsetx=0, int offsetY=0)
void setDefaultSize (int defaultX, int defaultY, int defaultWidth, int defaultHeight)
void setDefaultSize ()
void setDefaultVisible (bool save)
void setLocationRelativeTo (gcn::Widget *widget)
void setLocationRelativeTo (ImageRect::ImagePosition position, int offsetX=0, int offsetY=0)
void setMaxHeight (int height)
void setMaxWidth (int width)
void setMinHeight (int height)
void setMinWidth (int width)
void setRecordingFile (const std::string &msg)
void setResizable (bool resize)
void setReturnTogglesChat (bool toggles)
void setSaveVisible (bool save)
void setShowTitle (bool flag)
void setSticky (bool sticky)
void setStickyButton (bool flag)
void setVisible (bool visible)
void setVisible (bool visible, bool forceSticky)
void setWindowName (const std::string &name)
void whisper (const std::string &nick, const std::string &mes, bool own=false)
virtual void widgetHidden (const gcn::Event &event)
void widgetResized (const gcn::Event &event)
bool willSaveVisible () const
 ~ChatWindow ()

Static Public Member Functions

static void setWindowContainer (WindowContainer *windowContainer)

Protected Member Functions

void addTab (ChatTab *tab)
void removeAllWhispers ()
void removeTab (ChatTab *tab)
void removeWhisper (const std::string &nick)

Protected Attributes


Private Types

typedef std::map< const
std::string, ChatTab * > 

Private Attributes

bool mReturnToggles
bool mTmpVisible
TabMap mWhispers


class ChatAutoComplete
class ChatTab
class WhisperTab

Detailed Description

The chat window.

Definition at line 64 of file chat.h.

The documentation for this class was generated from the following files:

Generated by  Doxygen 1.6.0   Back to index