Martin Vermeer wrote:

> Put it in. I should have done that.

I am going to apply this one instead.


Georg
Index: src/ChangeLog
===================================================================
RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/ChangeLog,v
retrieving revision 1.2160
diff -u -p -r1.2160 ChangeLog
--- src/ChangeLog	20 Apr 2005 12:31:34 -0000	1.2160
+++ src/ChangeLog	21 Apr 2005 09:14:48 -0000
@@ -1,3 +1,11 @@
+2005-04-21  Georg Baum  <[EMAIL PROTECTED]>
+
+	* FuncStatus.h (StatusCodes): document
+
+2005-04-21  André Pönitz  <[EMAIL PROTECTED]>
+
+	* FuncStatus.h (enabled, onoff): document
+
 2005-04-19  Martin Vermeer  <[EMAIL PROTECTED]>
 
 	* text3.C (dispatch): fix, finally fix, the language problem in
Index: src/FuncStatus.h
===================================================================
RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/FuncStatus.h,v
retrieving revision 1.6
diff -u -p -r1.6 FuncStatus.h
--- src/FuncStatus.h	25 Nov 2004 09:15:24 -0000	1.6
+++ src/FuncStatus.h	21 Apr 2005 09:14:48 -0000
@@ -21,15 +21,19 @@ class FuncStatus
 private:
 
 	enum StatusCodes {
-		///
+		/// Command can be executed
 		OK = 0,
-		///
+		/// It is unknown wether the command can be executed or not
 		UNKNOWN = 1,
-		///
-		DISABLED = 2,  // Command cannot be executed
-		///
+		/// Command cannot be executed
+		DISABLED = 2,
+		/// Command is on (i. e. the menu item has a checkmark
+		/// and the toolbar icon is pushed).
+		/// Not all commands use this
 		ON = 4,
-		///
+		/// Command is off (i. e. the menu item has no checkmark
+		/// and the toolbar icon is not pushed).
+		/// Not all commands use this
 		OFF = 8
 	};
 
@@ -51,12 +55,13 @@ public:
 
 	///
 	void enabled(bool b);
-	///
+	/// tells whether it can be invoked (otherwise it will be grayed-out).
 	bool enabled() const;
 
 	///
 	void setOnOff(bool b);
-	///
+	/// tells whether the menu item should have a check mark
+	/// (or the toolbar icon should be pushed).
 	bool onoff(bool b) const;
 
 	///

Reply via email to