]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/controllers/ControlCharacter.h
port the graphics dialog to the new scheme and get rid of the ControlInset
[lyx.git] / src / frontends / controllers / ControlCharacter.h
index b479886633e43986a87b0deee35948a28aa4a19e..454ff33680e06a1d39e7cb6e470863eea6548de7 100644 (file)
@@ -1,28 +1,26 @@
 // -*- C++ -*-
 /**
  * \file ControlCharacter.h
- * Copyright 2001 The LyX Team.
- * See the file COPYING.
+ * This file is part of LyX, the document processor.
+ * Licence details can be found in the file COPYING.
  *
- * \author Angus Leeming, a.leeming@.ac.uk
+ * \author Angus Leeming
+ *
+ * Full author contact details are available in file CREDITS
  */
 
 #ifndef CONTROLCHARACTER_H
 #define CONTROLCHARACTER_H
 
-#include <boost/smart_ptr.hpp>
-
-#ifdef __GNUG__
-#pragma interface
-#endif
 
-#include "ControlDialogs.h"
+#include "ControlDialog_impl.h"
 #include "character.h"
 
+#include <boost/scoped_ptr.hpp>
+
 /** A controller for Character dialogs.
  */
-class ControlCharacter : public ControlDialog<ControlConnectBD>
-{
+class ControlCharacter : public ControlDialogBD {
 public:
        ///
        ControlCharacter(LyXView &, Dialogs &);
@@ -36,7 +34,7 @@ public:
        ///
        void setSize(LyXFont::FONT_SIZE);
        ///
-       void setBar(character::FONT_STATE);
+       void setBar(frnt::FONT_STATE);
        ///
        void setColor(LColor::color);
        ///
@@ -53,7 +51,7 @@ public:
        ///
        LyXFont::FONT_SIZE getSize() const;
        ///
-       character::FONT_STATE getBar() const;
+       frnt::FONT_STATE getBar() const;
        ///
        LColor::color getColor() const;
        ///
@@ -61,9 +59,9 @@ public:
        ///
        bool getToggleAll() const;
 
-private:
        /// Get changed parameters and Dispatch them to the kernel.
        virtual void apply();
+private:
        /// set the params before show or update.
        virtual void setParams();