]> code.citadel.org Git - citadel.git/commitdiff
Made a slight tweak to the default size of the button bar in roomview.cpp.
authorSteve Williams <patriot@uncensored.citadel.org>
Thu, 11 Nov 1999 05:04:57 +0000 (05:04 +0000)
committerSteve Williams <patriot@uncensored.citadel.org>
Thu, 11 Nov 1999 05:04:57 +0000 (05:04 +0000)
All the buttons (including the new 'zap' button) should show up by
default.

daphne/ChangeLog
daphne/main.cpp
daphne/roomview.cpp

index 96f6f130eb680223eae24631f9b78604103f273c..252cc97691defdec717e9d5c1c00cc443c403546 100644 (file)
@@ -1,10 +1,15 @@
- $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
index 84797e5cb7739a386aa0ace63001389f96f50982..7d71dbf797ee54d68b046c1756b55c94e94e2c0c 100644 (file)
@@ -147,7 +147,7 @@ bool Daphne::OnInit()
        // 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
@@ -358,7 +358,7 @@ void MyFrame::OnDoChat(wxCommandEvent& unused) {
        sendcmd="CHAT";
 }*/
 
-// doterm(inate session)
+// doterm(terminate session)
 
 void MyFrame::DoTerm(wxCommandEvent& WXUNUSED(event))
 {
index c5342bb64c6315af68778e9aad0c82c765c18ef4..2710c82fea1dd313da956c48ca74036f68970dde 100644 (file)
@@ -131,7 +131,7 @@ RoomView::RoomView(
        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(
@@ -144,7 +144,7 @@ RoomView::RoomView(
        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(
@@ -157,7 +157,7 @@ RoomView::RoomView(
        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(
@@ -170,7 +170,7 @@ RoomView::RoomView(
        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(
@@ -183,7 +183,7 @@ RoomView::RoomView(
        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(
@@ -195,7 +195,7 @@ RoomView::RoomView(
         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();