diff options
author | Daniel Rentz <dr@openoffice.org> | 2002-05-31 14:12:33 +0000 |
---|---|---|
committer | Daniel Rentz <dr@openoffice.org> | 2002-05-31 14:12:33 +0000 |
commit | a4e5837af619ef39cf5b322710a2778d31efc2da (patch) | |
tree | 5849ae9ed2f659bbc1bc205ab46d8ce9791416f5 /sc/source/ui/formdlg | |
parent | 39387f105c9eec5432b1838619b6a5355c0c0f46 (diff) |
#99810# HC support for Fx button in FAP
Diffstat (limited to 'sc/source/ui/formdlg')
-rw-r--r-- | sc/source/ui/formdlg/parawin.cxx | 10 | ||||
-rw-r--r-- | sc/source/ui/formdlg/parawin.hrc | 5 | ||||
-rw-r--r-- | sc/source/ui/formdlg/parawin.src | 45 |
3 files changed, 24 insertions, 36 deletions
diff --git a/sc/source/ui/formdlg/parawin.cxx b/sc/source/ui/formdlg/parawin.cxx index 3b213d9de069..869d555a1e05 100644 --- a/sc/source/ui/formdlg/parawin.cxx +++ b/sc/source/ui/formdlg/parawin.cxx @@ -2,9 +2,9 @@ * * $RCSfile: parawin.cxx,v $ * - * $Revision: 1.2 $ + * $Revision: 1.3 $ * - * last change: $Author: dr $ $Date: 2001-06-14 09:20:17 $ + * last change: $Author: dr $ $Date: 2002-05-31 15:12:33 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -119,6 +119,7 @@ ScParaWin::ScParaWin(ScAnyRefDlg* pParent,Point aPos): bRefMode (FALSE), pFuncDesc ( NULL) { + Image aFxHC( ScResId( IMG_FX_H ) ); FreeResource(); aDefaultString=aFtEditDesc.GetText(); pMyParent=pParent; @@ -131,6 +132,11 @@ ScParaWin::ScParaWin(ScAnyRefDlg* pParent,Point aPos): aSlider.SetEndScrollHdl( LINK( this, ScParaWin, ScrollHdl ) ); aSlider.SetScrollHdl( LINK( this, ScParaWin, ScrollHdl ) ); + aBtnFx1.SetModeImage( aFxHC, BMP_COLOR_HIGHCONTRAST ); + aBtnFx2.SetModeImage( aFxHC, BMP_COLOR_HIGHCONTRAST ); + aBtnFx3.SetModeImage( aFxHC, BMP_COLOR_HIGHCONTRAST ); + aBtnFx4.SetModeImage( aFxHC, BMP_COLOR_HIGHCONTRAST ); + InitArgInput( 0, aFtArg1, aBtnFx1, aEdArg1, aRefBtn1); InitArgInput( 1, aFtArg2, aBtnFx2, aEdArg2, aRefBtn2); InitArgInput( 2, aFtArg3, aBtnFx3, aEdArg3, aRefBtn3); diff --git a/sc/source/ui/formdlg/parawin.hrc b/sc/source/ui/formdlg/parawin.hrc index 5c7da9c12b65..9e658c69684e 100644 --- a/sc/source/ui/formdlg/parawin.hrc +++ b/sc/source/ui/formdlg/parawin.hrc @@ -2,9 +2,9 @@ * * $RCSfile: parawin.hrc,v $ * - * $Revision: 1.1.1.1 $ + * $Revision: 1.2 $ * - * last change: $Author: hr $ $Date: 2000-09-18 16:44:57 $ + * last change: $Author: dr $ $Date: 2002-05-31 15:12:33 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -83,4 +83,5 @@ #define RB_ARG3 18 #define RB_ARG4 19 #define WND_SLIDER 20 +#define IMG_FX_H 30 diff --git a/sc/source/ui/formdlg/parawin.src b/sc/source/ui/formdlg/parawin.src index 6c492541a65a..82c5024945e3 100644 --- a/sc/source/ui/formdlg/parawin.src +++ b/sc/source/ui/formdlg/parawin.src @@ -2,9 +2,9 @@ * * $RCSfile: parawin.src,v $ * - * $Revision: 1.15 $ + * $Revision: 1.16 $ * - * last change: $Author: vg $ $Date: 2001-11-16 22:48:37 $ + * last change: $Author: dr $ $Date: 2002-05-31 15:12:33 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -58,19 +58,6 @@ * * ************************************************************************/ - //============================================================================ - // StarView Resource file for StarCalc Para- Window - // - // (C) 1994-98 StarDivision GmbH, Hamburg, Germany - // - // $Workfile: parawin.src $ - // $Author: vg $ - // $Date: 2001-11-16 22:48:37 $ - // $Revision: 1.15 $ - // $Logfile: T:/sc/source/ui/formdlg/parawin.srv $ - //---------------------------------------------------------------------------- - - #include "parawin.hrc" @@ -91,12 +78,7 @@ {\ File = "fx.bmp" ; \ };\ - MaskColor = Color\ - {\ - Red = 0xC000 ; \ - Green = 0xC000 ; \ - Blue = 0xC000 ; \ - };\ + MaskColor = STD_MASKCOLOR;\ }; #define ED_ARGBLOCK( y ) \ @@ -131,7 +113,8 @@ QuickHelpText[ language_user1 ] = " "; \ QuickHelpText[ turkish ] = "Verkleinern"; \ QuickHelpText[ catalan ] = "Reducir"; \ - QuickHelpText[ finnish ] = "Kutista!"; + QuickHelpText[ finnish ] = "Kutista"; \ + QuickHelpText[ thai ] = "Shrink"; //--------------------------------------------------------------------------- @@ -169,8 +152,9 @@ TabPage RID_SCTAB_PARAMETER Text[ chinese_traditional ] = "不明的函數"; Text[ arabic ] = " "; Text[ turkish ] = "Bilinmeyen ilev"; - Text[ catalan ] = "Funcin desconocida"; + Text[ catalan ] = "Funci desconeguda"; Text[ finnish ] = "Tuntematon toiminto"; + Text[ thai ] = "ไม่รู้จักฟังก์ชั่น"; }; FixedText FT_PARNAME @@ -244,14 +228,11 @@ TabPage RID_SCTAB_PARAMETER Size = MAP_APPFONT ( 8 , 59 ) ; VScroll = TRUE ; }; -}; - - - - - - - - + Image IMG_FX_H + { + ImageBitmap = Bitmap { File = "fx_h.bmp" ; }; + MaskColor = SC_HC_MASKCOLOR; + }; +}; |