- $Log$
- Revision 1.5 1999/11/11 04:42:28 smw
- Made a minor tweak to zapped messages. Now when you click on any room in
- the roomtree the roomtree is deleted and reloaded. This is so that when
- you click on a room in the zapped list it'll come out, immediately.
- Previously you either had to click on the folder itself, or log out and
- in.
+$Log$
+Revision 1.6 1999/11/11 05:04:57 smw
+Made a slight tweak to the default size of the button bar in roomview.cpp.
+All the buttons (including the new 'zap' button) should show up by
+default.
+
+Revision 1.5 1999/11/11 04:42:28 smw
+Made a minor tweak to zapped messages. Now when you click on any room in
+the roomtree the roomtree is deleted and reloaded. This is so that when
+you click on a room in the zapped list it'll come out, immediately.
+Previously you either had to click on the folder itself, or log out and
+in.
Revision 1.4 1999/11/11 04:32:00 smw
Set up 'zapped rooms' functionality. Made tweaks so that zapped rooms
// Read the configuration file
ini = new wxConfig("daphne");
ini->SetRecordDefaults(TRUE);
- ini->Read("/Window Sizes/Main", &sizestr, "600 450");
+ ini->Read("/Window Sizes/Main", &sizestr, "789 451");
sscanf((const char *)sizestr, "%d %d", &w, &h);
// Connect to the server
sendcmd="CHAT";
}*/
-// doterm(inate session)
+// doterm(terminate session)
void MyFrame::DoTerm(wxCommandEvent& WXUNUSED(event))
{
g2->top.SameAs(close_button, wxTop);
g2->bottom.SameAs(close_button, wxBottom);
g2->width.AsIs();
- g2->right.LeftOf(close_button, 5);
+ g2->right.LeftOf(close_button, 3);
goto_button->SetConstraints(g2);
wxButton *skip_button = new wxButton(
g3->top.SameAs(goto_button, wxTop);
g3->bottom.SameAs(goto_button, wxBottom);
g3->width.AsIs();
- g3->right.LeftOf(goto_button, 5);
+ g3->right.LeftOf(goto_button, 3);
skip_button->SetConstraints(g3);
wxButton *readnew_button = new wxButton(
c2->top.SameAs(skip_button, wxTop);
c2->bottom.SameAs(skip_button, wxBottom);
c2->width.AsIs();
- c2->right.LeftOf(skip_button, 5);
+ c2->right.LeftOf(skip_button, 3);
readnew_button->SetConstraints(c2);
wxButton *readall_button = new wxButton(
c3->top.SameAs(readnew_button, wxTop);
c3->bottom.SameAs(readnew_button, wxBottom);
c3->width.AsIs();
- c3->right.LeftOf(readnew_button, 5);
+ c3->right.LeftOf(readnew_button, 3);
readall_button->SetConstraints(c3);
wxButton *enter_button = new wxButton(
c4->top.SameAs(readall_button, wxTop);
c4->bottom.SameAs(readall_button, wxBottom);
c4->width.AsIs();
- c4->right.LeftOf(readall_button, 5);
+ c4->right.LeftOf(readall_button, 3);
enter_button->SetConstraints(c4);
wxButton *zap_button = new wxButton(
c5->top.SameAs(enter_button, wxTop);
c5->bottom.SameAs(enter_button, wxBottom);
c5->width.AsIs();
- c5->right.LeftOf(enter_button, 5);
+ c5->right.LeftOf(enter_button, 3);
zap_button->SetConstraints(c5);
Layout();