diff options
author | Caolán McNamara <caolanm@redhat.com> | 2020-06-22 09:25:13 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2020-06-23 11:30:47 +0200 |
commit | 797ffc29450f46dd6683886e7436453ce9fb4d72 (patch) | |
tree | 91d836ee2369846c972765c3fa0c121abfe95ff5 /include/vcl/fixed.hxx | |
parent | 6c0a6e2e91069da9db13c27a058721b88e8eaba9 (diff) |
FixedBitmap can be in a toolkit only header
Change-Id: I22bb548f7f0c1ef0de157f99915fbaf6473c284b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/96861
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'include/vcl/fixed.hxx')
-rw-r--r-- | include/vcl/fixed.hxx | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/include/vcl/fixed.hxx b/include/vcl/fixed.hxx index 9c4005559210..fdfda987b900 100644 --- a/include/vcl/fixed.hxx +++ b/include/vcl/fixed.hxx @@ -21,12 +21,9 @@ #define INCLUDED_VCL_FIXED_HXX #include <vcl/dllapi.h> -#include <vcl/bitmapex.hxx> #include <vcl/ctrl.hxx> -#include <vcl/edit.hxx> #include <vcl/image.hxx> - class VCL_DLLPUBLIC FixedText : public Control { private: @@ -75,16 +72,6 @@ public: vcl::Window* get_mnemonic_widget() const { return m_pMnemonicWindow; } }; -class SelectableFixedText final : public Edit -{ -public: - explicit SelectableFixedText( vcl::Window* pParent, WinBits nStyle ); - - virtual void LoseFocus() override; - virtual void ApplySettings(vcl::RenderContext&) override; -}; - - class VCL_DLLPUBLIC FixedLine : public Control { private: @@ -115,32 +102,6 @@ public: virtual Size GetOptimalSize() const override; }; -class VCL_DLLPUBLIC FixedBitmap final : public Control -{ -private: - BitmapEx maBitmap; - - using Control::ImplInitSettings; - using Window::ImplInit; - SAL_DLLPRIVATE void ImplInit( vcl::Window* pParent, WinBits nStyle ); - SAL_DLLPRIVATE static WinBits ImplInitStyle( WinBits nStyle ); - SAL_DLLPRIVATE void ImplDraw( OutputDevice* pDev, const Point& rPos, const Size& rSize ); - -public: - explicit FixedBitmap( vcl::Window* pParent, WinBits nStyle = 0 ); - - virtual void ApplySettings(vcl::RenderContext&) override; - - virtual void Paint( vcl::RenderContext& rRenderContext, const tools::Rectangle& rRect ) override; - virtual void Draw( OutputDevice* pDev, const Point& rPos, DrawFlags nFlags ) override; - virtual void Resize() override; - virtual void StateChanged( StateChangedType nType ) override; - virtual void DataChanged( const DataChangedEvent& rDCEvt ) override; - - void SetBitmap( const BitmapEx& rBitmap ); -}; - - class VCL_DLLPUBLIC FixedImage : public Control { private: |