summaryrefslogtreecommitdiff
path: root/starmath/inc/dialog.hxx
diff options
context:
space:
mode:
authorThomas Lange <tl@openoffice.org>2001-07-17 07:28:21 +0000
committerThomas Lange <tl@openoffice.org>2001-07-17 07:28:21 +0000
commitaa73f452d6c0446d6d22f9b0de6f88efb817b589 (patch)
treeb2ebfd7588b1cfc55f2d340e4bd8cc6827a23ca3 /starmath/inc/dialog.hxx
parent6949d6e8284f972b48859a83ff07d01b8fc22a25 (diff)
#89759# StarMath font => StarSymbol font
Diffstat (limited to 'starmath/inc/dialog.hxx')
-rw-r--r--starmath/inc/dialog.hxx93
1 files changed, 33 insertions, 60 deletions
diff --git a/starmath/inc/dialog.hxx b/starmath/inc/dialog.hxx
index f1f8224a9a7a..4a02c2caf52e 100644
--- a/starmath/inc/dialog.hxx
+++ b/starmath/inc/dialog.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: dialog.hxx,v $
*
- * $Revision: 1.6 $
+ * $Revision: 1.7 $
*
- * last change: $Author: fme $ $Date: 2001-06-15 06:41:18 $
+ * last change: $Author: tl $ $Date: 2001-07-17 08:28:19 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -79,6 +79,9 @@
#ifndef _SV_COMBOBOX_HXX //autogen
#include <vcl/combobox.hxx>
#endif
+#ifndef _SVX_CHARMAP_HXX
+#include <svx/charmap.hxx>
+#endif
#ifndef _SVX_OPTGENRL_HXX //autogen
#include <svx/optgenrl.hxx>
#endif
@@ -447,38 +450,6 @@ public:
void SelectSymbol(USHORT nSymbolNo);
};
-/**************************************************************************/
-
-class SmShowCharset : public Control
-{
- Link aSelectHdlLink;
- Link aDblClickHdlLink;
- USHORT nLen;
- USHORT nRows, nColumns;
- xub_Unicode aChar;
-
- virtual void Paint(const Rectangle&);
- virtual void MouseButtonDown( const MouseEvent& rMEvt );
- virtual void KeyInput(const KeyEvent& rKEvt);
-
-public:
- SmShowCharset(Window *pParent, const ResId& rResId);
-
- void SetSelectHdl(const Link& rLink)
- {
- aSelectHdlLink = rLink;
- }
-
- void SetDblClickHdl(const Link& rLink)
- {
- aDblClickHdlLink = rLink;
- }
-
- void SetFont(const Font &rFont);
- void SelectChar(xub_Unicode aChar);
- xub_Unicode GetSelectChar() const { return aChar; }
-};
-
////////////////////////////////////////////////////////////////////////////////
class SmShowChar : public Control
@@ -499,31 +470,33 @@ public:
class SmSymDefineDialog : public ModalDialog
{
- FixedText aOldSymbolText;
- ComboBox aOldSymbols;
- FixedText aOldSymbolSetText;
- ComboBox aOldSymbolSets;
- SmShowCharset aCharsetDisplay;
- FixedText aSymbolText;
- ComboBox aSymbols;
- FixedText aSymbolSetText;
- ComboBox aSymbolSets;
- FixedText aFontText;
- ListBox aFonts;
- FixedText aStyleText;
- FontStyleBox aStyles;
- FixedText aOldSymbolName;
- SmShowChar aOldSymbolDisplay;
- FixedText aOldSymbolSetName;
- FixedText aSymbolName;
- SmShowChar aSymbolDisplay;
- FixedText aSymbolSetName;
- OKButton aOkBtn;
- CancelButton aCancelBtn;
- PushButton aAddBtn;
- PushButton aChangeBtn;
- PushButton aDeleteBtn;
- FixedImage aRightArrow;
+ FixedText aOldSymbolText;
+ ComboBox aOldSymbols;
+ FixedText aOldSymbolSetText;
+ ComboBox aOldSymbolSets;
+ SvxShowCharSet aCharsetDisplay;
+ FixedText aSymbolText;
+ ComboBox aSymbols;
+ FixedText aSymbolSetText;
+ ComboBox aSymbolSets;
+ FixedText aFontText;
+ ListBox aFonts;
+ FixedText aFontsSubsetFT;
+ ListBox aFontsSubsetLB;
+ FixedText aStyleText;
+ FontStyleBox aStyles;
+ FixedText aOldSymbolName;
+ SmShowChar aOldSymbolDisplay;
+ FixedText aOldSymbolSetName;
+ FixedText aSymbolName;
+ SmShowChar aSymbolDisplay;
+ FixedText aSymbolSetName;
+ OKButton aOkBtn;
+ CancelButton aCancelBtn;
+ PushButton aAddBtn;
+ PushButton aChangeBtn;
+ PushButton aDeleteBtn;
+ FixedImage aRightArrow;
SmSymSetManager aSymSetMgrCopy,
&rSymSetMgr;
@@ -536,7 +509,7 @@ class SmSymDefineDialog : public ModalDialog
DECL_LINK(ModifyHdl, ComboBox *);
DECL_LINK(FontChangeHdl, ListBox *);
DECL_LINK(StyleChangeHdl, ComboBox *);
- DECL_LINK(CharSelectHdl, SmShowCharset *);
+ DECL_LINK( CharHighlightHdl, Control* pControl );
DECL_LINK(AddClickHdl, Button *);
DECL_LINK(ChangeClickHdl, Button *);
DECL_LINK(DeleteClickHdl, Button *);