diff options
author | Chris Sherlock <chris.sherlock79@gmail.com> | 2014-04-07 23:11:35 +1000 |
---|---|---|
committer | Chris Sherlock <chris.sherlock79@gmail.com> | 2014-04-07 23:16:42 +1000 |
commit | e6997a8e40325903c857eb3c83c8da530a3b7bc9 (patch) | |
tree | 3d29f8f32a4a7da1727e61e84a35cb5db0ed634c /include | |
parent | sw html: revert license content changes (diff) | |
download | core-e6997a8e40325903c857eb3c83c8da530a3b7bc9.tar.gz core-e6997a8e40325903c857eb3c83c8da530a3b7bc9.zip |
Bring static functions into OutputDevice as private functions
Also rename them to something saner. ImplIsActionSpecial in particular
is not a particularly useful function name, so updating this for
clarity.
Functions renamed:
+ ImplIsActionHandlingTransparency() -> DoesActionHandleTransparency()
+ ImplIsActionSpecial() -> IsTransparentAction()
I've also updated some of the comments to clarify.
Change-Id: I6c9d0c33d96ce40af2c877b52da66de17ed8ce78
Diffstat (limited to 'include')
-rw-r--r-- | include/vcl/outdev.hxx | 4 | ||||
-rw-r--r-- | include/vcl/print.hxx | 14 |
2 files changed, 11 insertions, 7 deletions
diff --git a/include/vcl/outdev.hxx b/include/vcl/outdev.hxx index 5c090822c525..dbd13176818e 100644 --- a/include/vcl/outdev.hxx +++ b/include/vcl/outdev.hxx @@ -29,6 +29,7 @@ #include <vcl/region.hxx> #include <vcl/mapmod.hxx> #include <vcl/wall.hxx> +#include <vcl/metaact.hxx> #include <vcl/salnativewidgets.hxx> #include <tools/poly.hxx> #include <basegfx/vector/b2enums.hxx> @@ -866,6 +867,9 @@ private: bool DrawTransparentNatively( const PolyPolygon& rPolyPoly, sal_uInt16 nTransparencePercent ); + bool DoesActionHandleTransparency( const MetaAction& rAct ); + bool IsTransparentAction( const MetaAction& rAct ); + Color GetSingleColorGradientFill(); void SetGrayscaleColors( Gradient &rGradient ); diff --git a/include/vcl/print.hxx b/include/vcl/print.hxx index 4ad4207567b1..723d734dd18e 100644 --- a/include/vcl/print.hxx +++ b/include/vcl/print.hxx @@ -97,20 +97,20 @@ private: OUString maDriver; OUString maLocation; OUString maComment; - sal_uInt32 mnStatus; - sal_uInt32 mnJobs; + sal_uInt32 mnStatus; + sal_uInt32 mnJobs; public: - QueueInfo(); - QueueInfo( const QueueInfo& rInfo ); - ~QueueInfo(); + QueueInfo(); + QueueInfo( const QueueInfo& rInfo ); + ~QueueInfo(); const OUString& GetPrinterName() const { return maPrinterName; } const OUString& GetDriver() const { return maDriver; } const OUString& GetLocation() const { return maLocation; } const OUString& GetComment() const { return maComment; } - sal_uInt32 GetStatus() const { return mnStatus; } - sal_uInt32 GetJobs() const { return mnJobs; } + sal_uInt32 GetStatus() const { return mnStatus; } + sal_uInt32 GetJobs() const { return mnJobs; } bool operator==( const QueueInfo& rInfo ) const; |