CFx SDK Documentation 2026 SP0
Loading...
Searching...
No Matches
FxUIPaintDevice.h
Go to the documentation of this file.
1#pragma once
2
4
5#if defined( XENON )
6namespace Wt
7{
8 class WPaintDevice;
9}
10
11using FxNativePaintDevice = Wt::WPaintDevice;
12#else
13class QPaintDevice;
14using FxNativePaintDevice = QPaintDevice;
15#endif
16
17class CFxUIPaintDeviceImpl;
18
20{
21public:
22
24 CFxUIPaintDevice( FxNativePaintDevice* paintDevice = nullptr );
25
28
29 operator FxNativePaintDevice*() const;
30
31protected:
32 CFxUIPaintDeviceImpl* m_pPaintDeviceImpl = nullptr;
33};
#define COMMONUI_API
QPaintDevice FxNativePaintDevice
CFxUIPaintDevice(FxNativePaintDevice *paintDevice=nullptr)
CFxUIPaintDeviceImpl * m_pPaintDeviceImpl
Definition FxString.h:30