summaryrefslogtreecommitdiff
path: root/cui/source/dialogs/grfflt.src
diff options
context:
space:
mode:
authorTomaž Vajngerl <quikee@gmail.com>2012-06-16 00:05:00 +0200
committerTomaž Vajngerl <quikee@gmail.com>2012-06-16 00:39:08 +0200
commitee41193f3e12ea55237f7681e4b53162a0d421d2 (patch)
treef02ac0b7a6fb8c64df55491152af8eeb4c371c09 /cui/source/dialogs/grfflt.src
parentd7036ac1c8f620eae2b4f43cdf5840b4c8a584c6 (diff)
Dialog for Smooth filter
Added dialog for smooth (gaussian blur) filter which now accepts a parameter for setting the strenth of smoothing (bluring). Change-Id: Ida6709b060cb5429a63af1994493e716fd0bfebb
Diffstat (limited to 'cui/source/dialogs/grfflt.src')
-rw-r--r--cui/source/dialogs/grfflt.src72
1 files changed, 72 insertions, 0 deletions
diff --git a/cui/source/dialogs/grfflt.src b/cui/source/dialogs/grfflt.src
index c13eaf373b2a..8bb22b9d247e 100644
--- a/cui/source/dialogs/grfflt.src
+++ b/cui/source/dialogs/grfflt.src
@@ -428,3 +428,75 @@ ModalDialog RID_SVX_GRFFILTER_DLG_EMBOSS
TabStop = TRUE ;
};
};
+
+// --------------------
+// - DLG_FILTERSMOOTH -
+// --------------------
+
+ModalDialog RID_SVX_GRFFILTER_DLG_SMOOTH
+{
+ HelpID = CMD_SID_GRFFILTER_SMOOTH;
+ OutputSize = TRUE ;
+ Moveable = TRUE ;
+ SVLook = TRUE ;
+ Size = MAP_APPFONT ( 250, 100 ) ;
+
+ Text [ en-US ] = "Smooth" ;
+
+ FixedLine FL_PARAMETER
+ {
+ Pos = MAP_APPFONT ( 6 , 3 ) ;
+ Size = MAP_APPFONT ( 182, RSC_CD_FIXEDLINE_HEIGHT ) ;
+ Text [ en-US ] = "Parameters";
+ };
+ Control CTL_PREVIEW
+ {
+ Pos = MAP_APPFONT ( 104 , 3 + RSC_CD_FIXEDLINE_HEIGHT + RSC_SP_FLGR_INNERBORDER_TOP ) ;
+ Size = MAP_APPFONT ( 81, 73 ) ;
+ };
+#define MA_Y14 3 + RSC_CD_FIXEDLINE_HEIGHT + RSC_SP_FLGR_INNERBORDER_TOP
+ FixedText DLG_FILTERSMOOTH_FT_RADIUS
+ {
+ Pos = MAP_APPFONT ( 12 , MA_Y14 ) ;
+ Size = MAP_APPFONT ( 77 , 10 ) ;
+ Text [ en-US ] = "Smooth Radius" ;
+ };
+#define MA_Y15 MA_Y14 + RSC_CD_FIXEDTEXT_HEIGHT + RSC_SP_CTRL_DESC_Y
+ NumericField DLG_FILTERSMOOTH_MTR_RADIUS
+ {
+ HelpID = "cui:NumericField:RID_SVX_GRFFILTER_DLG_SMOOTH:DLG_FILTERSMOOTH_MTR_RADIUS";
+ Border = TRUE ;
+ Pos = MAP_APPFONT ( 12 , MA_Y15 );
+ Size = MAP_APPFONT ( 35 , 12 );
+ TabStop = TRUE;
+ Right = TRUE;
+ Repeat = TRUE;
+ Spin = TRUE;
+ Minimum = 0;
+ Maximum = 1000;
+ StrictFormat = TRUE;
+ First = 1;
+ DecimalDigits = 1;
+ Last = 1000;
+ SpinSize = 2;
+ };
+ OKButton BTN_OK
+ {
+ Pos = MAP_APPFONT ( 194, 6 ) ;
+ Size = MAP_APPFONT ( 50, 14 ) ;
+ TabStop = TRUE ;
+ DefButton = TRUE ;
+ };
+ CancelButton BTN_CANCEL
+ {
+ Pos = MAP_APPFONT ( 194, 23 ) ;
+ Size = MAP_APPFONT ( 50, 14 ) ;
+ TabStop = TRUE ;
+ };
+ HelpButton BTN_HELP
+ {
+ Pos = MAP_APPFONT ( 194, 43 ) ;
+ Size = MAP_APPFONT ( 50, 14 ) ;
+ TabStop = TRUE ;
+ };
+};