]> git.lyx.org Git - lyx.git/blobdiff - src/combox.h
small changes to ButtonController usage
[lyx.git] / src / combox.h
index ba5c2502f3380f1106500685490c74becf30eecc..8668797a7422fad430600b5f303c6a0c11c66527 100644 (file)
@@ -4,7 +4,7 @@
  *          encapsulated to get a combobox-like object. All XForms 
  *          functions are hidden.         
  * 
- *  GNU Copyleft (C) 1996 Alejandro Aguilar Sierra <asierra@servidor.unam.mx>
+ *  GNU Copyleft 1996 Alejandro Aguilar Sierra <asierra@servidor.unam.mx>
  *                        and the LyX Team.
  * 
  *  Dependencies:  Only XForms, but created to be used with LyX.
@@ -51,12 +51,13 @@ typedef void (*FL_COMBO_PRE_POST) ();
 class Combox {
 public:
        ///
-       Combox(combox_type t = FL_COMBOX_NORMAL);
+       explicit Combox(combox_type t = FL_COMBOX_NORMAL);
        ///
        ~Combox();
 
        /** To add this object to a form. Note that there are two heights
-        for normal (button) and expanded (browser) mode each. */
+        for normal (button) and expanded (browser) mode each.
+       */
        void add(int x, int y, int w, int hmin, int hmax);
        
        /// Add lines. Same as for fl_browser object
@@ -85,7 +86,8 @@ public:
        void remove();
 
        /**  Assign a callback to this object. The callback should be a void
-        function with a int and a void pointer as parameters. */
+        function with a int and a void pointer as parameters.
+       */
        void setcallback(FL_COMBO_CB, void *);
    
         ///  Pre handler