summaryrefslogtreecommitdiffstats
path: root/cui/source/inc/cuigrfflt.hxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-01-31 16:37:01 +0000
committerCaolán McNamara <caolanm@redhat.com>2014-01-31 21:21:38 +0000
commitc8cae05ee8cfa0742865224b31d344317ceb996f (patch)
treeba53827d2df5b6616bd6ee29d44c54ec4b7db7d8 /cui/source/inc/cuigrfflt.hxx
parentconvert smooth dialog to .ui (diff)
downloadcore-c8cae05ee8cfa0742865224b31d344317ceb996f.tar.gz
core-c8cae05ee8cfa0742865224b31d344317ceb996f.zip
convert solarize dialog to .ui
Change-Id: I1aab18d8e0aa12d39584266a6657436ea100b521
Diffstat (limited to 'cui/source/inc/cuigrfflt.hxx')
-rw-r--r--cui/source/inc/cuigrfflt.hxx17
1 files changed, 7 insertions, 10 deletions
diff --git a/cui/source/inc/cuigrfflt.hxx b/cui/source/inc/cuigrfflt.hxx
index edd3143cc44d..79c836b78bf7 100644
--- a/cui/source/inc/cuigrfflt.hxx
+++ b/cui/source/inc/cuigrfflt.hxx
@@ -185,23 +185,20 @@ public:
// - GraphicFilterSolarize -
// -------------------------
-class GraphicFilterSolarize : public oldGraphicFilterDialog
+class GraphicFilterSolarize : public GraphicFilterDialog
{
private:
-
- FixedText maFtThreshold;
- MetricField maMtrThreshold;
- CheckBox maCbxInvert;
+ MetricField* mpMtrThreshold;
+ CheckBox* mpCbxInvert;
public:
- GraphicFilterSolarize( Window* pParent, const Graphic& rGraphic,
+ GraphicFilterSolarize( Window* pParent, const Graphic& rGraphic,
sal_uInt8 nGreyThreshold, sal_Bool bInvert );
- ~GraphicFilterSolarize();
- virtual Graphic GetFilteredGraphic( const Graphic& rGraphic, double fScaleX, double fScaleY );
- sal_uInt8 GetGreyThreshold() const { return( (sal_uInt8) FRound( maMtrThreshold.GetValue() * 2.55 ) ); }
- sal_Bool IsInvert() const { return maCbxInvert.IsChecked(); }
+ virtual Graphic GetFilteredGraphic( const Graphic& rGraphic, double fScaleX, double fScaleY );
+ sal_uInt8 GetGreyThreshold() const { return( (sal_uInt8) FRound( mpMtrThreshold->GetValue() * 2.55 ) ); }
+ sal_Bool IsInvert() const { return mpCbxInvert->IsChecked(); }
};
// ----------------------