20 #ifndef PAWS_LOGIN_WINDOW 21 #define PAWS_LOGIN_WINDOW 23 #include <iutil/virtclk.h> 24 #include <csutil/csstring.h> 25 #include <csutil/parray.h> 58 bool LoadServerList();
59 void SaveLoginInformation();
61 void ConnectToServer(
bool automatic =
false);
80 csString storedPasswd;
81 csString storedPasswd256;
82 csPDelArray<psServerPinger> servers;
A combination widget that has a check box and a text label.
void Show()
Makes widget visible and brings it to the front.
void OnListAction(pawsListBox *selected, int status)
Called whenever an item in a child list box is selected.
bool PostSetup()
This is called after the widget and all of it's children have been created.
Login Window including account, password, server list, ping of servers, save password.
A simple list box widget.
void Hide()
Makes widget invisible and removes focus if widget has current focus.
bool OnChange(pawsWidget *widget)
Called whenever a widget is selected.
void UpdateUserPasswdFromConfig()
bool OnButtonPressed(int mouseButton, int keyModifier, pawsWidget *widget)
Called whenever a button is pressed.
pawsLoginWindow(const pawsLoginWindow &origin)
TODO: Copy constructor, useless currently. Would be implemented later.
void ConnectionFailed()
This method notifies the LoginWindow that connection attempt failed.
void Draw()
Draws the widget and all of it's children.
CREATE_PAWS_FACTORY(pawsLoginWindow)