Update of /cvsroot/mahogany/M/include/gui
In directory sc8-pr-cvs1:/tmp/cvs-serv28646/include/gui

Modified Files:
        wxMenuDefs.h wxMessageView.h 
Log Message:
added View|Viewers menu, removed (took inside #ifdef USE_VIEWER_BAR which is not 
defined by default) the viewer bar

Index: wxMenuDefs.h
===================================================================
RCS file: /cvsroot/mahogany/M/include/gui/wxMenuDefs.h,v
retrieving revision 1.118
retrieving revision 1.119
diff -b -u -2 -r1.118 -r1.119
--- wxMenuDefs.h        19 Jan 2003 01:31:31 -0000      1.118
+++ wxMenuDefs.h        14 Sep 2003 14:10:11 -0000      1.119
@@ -238,4 +238,11 @@
 
    WXMENU_VIEW_BEGIN = WXMENU_MSG_END,
+   WXMENU_VIEW_VIEWERS_SUBMENU_BEGIN,
+      // this submenu is filled dynamically and the ids of its items start at
+      // WXMENU_VIEW_VIEWERS_BEGIN defined below
+   WXMENU_VIEW_VIEWERS_SUBMENU_END,
+   WXMENU_VIEW_SEP1,
+   // for backwards compatibility the commands below have MSG (as they were in
+   // the "Message" menu earlier), even though if they're in "View" menu now
    WXMENU_MSG_TOGGLEHEADERS,
    WXMENU_MSG_SHOWRAWTEXT,
@@ -244,5 +251,5 @@
 #endif // EXPERIMENTAL_show_uid
    WXMENU_MSG_SHOWMIME,
-   WXMENU_VIEW_SEP,
+   WXMENU_VIEW_SEP2,
    WXMENU_VIEW_FILTERS_SUBMENU_BEGIN,
       // this submenu is filled dynamically and the ids of its items start at
@@ -413,4 +420,7 @@
    WXMENU_VIEW_FILTERS_BEGIN = WXMENU_MODULES_MIGRATE_END,
    WXMENU_VIEW_FILTERS_END = WXMENU_VIEW_FILTERS_BEGIN + 30,
+
+   WXMENU_VIEW_VIEWERS_BEGIN = WXMENU_VIEW_FILTERS_END,
+   WXMENU_VIEW_VIEWERS_END = WXMENU_VIEW_VIEWERS_BEGIN + 30,
 
    WXMENU_MODULES_END,

Index: wxMessageView.h
===================================================================
RCS file: /cvsroot/mahogany/M/include/gui/wxMessageView.h,v
retrieving revision 1.87
retrieving revision 1.88
diff -b -u -2 -r1.87 -r1.88
--- wxMessageView.h     22 Jul 2003 22:01:38 -0000      1.87
+++ wxMessageView.h     14 Sep 2003 14:10:11 -0000      1.88
@@ -58,8 +58,10 @@
    virtual void CreateViewMenu();
 ;
-   virtual void OnToggleViewFilter(int id, bool checked);
+   virtual void OnToggleViewFilter(int id);
+   virtual void OnSelectViewer(int id);
 
 protected:
    virtual MessageViewer *CreateDefaultViewer() const;
+   virtual void OnShowHeadersChange();
 
 private:
@@ -69,4 +71,10 @@
    /// the array containing the names of all the existing filters
    wxArrayString m_namesFilters;
+
+   /// and another one containing their state (on/off)
+   wxArrayInt m_statesFilters;
+
+   /// the array containing the names of all the existing viewers
+   wxArrayString m_namesViewers;
 };
 



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Mahogany-cvsupdates mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mahogany-cvsupdates

Reply via email to