CFx SDK Documentation
2026 SP0
Loading...
Searching...
No Matches
SDK
CFx
commonui_inc
Core
FxUIRegion.h
Go to the documentation of this file.
1
//
2
// (C) Copyright 2005-2025 by Graebert GmbH.
3
//
4
// Permission to use, copy, modify, and distribute this software in
5
// object code form for any purpose and without fee is hereby granted,
6
// provided that the above copyright notice appears in all copies and
7
// that both that copyright notice and the limited warranty and
8
// restricted rights notice below appear in all supporting
9
// documentation.
10
//
11
// GRAEBERT PROVIDES THIS PROGRAM "AS IS" AND WITH ALL FAULTS.
12
// GRAEBERT SPECIFICALLY DISCLAIMS ANY IMPLIED WARRANTY OF
13
// MERCHANTABILITY OR FITNESS FOR A PARTICULAR USE. GRAEBERT GMBH
14
// DOES NOT WARRANT THAT THE OPERATION OF THE PROGRAM WILL BE
15
// UNINTERRUPTED OR ERROR FREE.
16
17
#pragma once
18
22
23
#include "
../FxCommonFramework.h
"
24
#include "
FxUIPolygonF.h
"
25
26
#if defined( XENON )
27
namespace
Wt
28
{
29
class
WPainterPath;
30
}
31
using
FxNativeRegion
= Wt::WPainterPath;
32
#else
33
class
QRegion;
34
using
FxNativeRegion
= QRegion;
35
#endif
36
37
class
CFxUIRegionImpl;
38
39
class
COMMONUI_API
CFxUIRegion
40
{
41
public
:
42
44
CFxUIRegion
();
45
47
CFxUIRegion
(
const
CFxUIPolygonF
& polygon );
48
50
CFxUIRegion
(
const
CFxUIRegion
& region );
51
CFxUIRegion
(
const
FxNativeRegion
& region );
52
54
~CFxUIRegion
();
55
57
CFxUIRegion
&
operator=
(
const
CFxUIRegion
& region );
58
59
operator
const
FxNativeRegion
&()
const
;
60
61
protected
:
62
CFxUIRegionImpl*
m_pImpl
=
nullptr
;
63
};
FxCommonFramework.h
COMMONUI_API
#define COMMONUI_API
Definition
FxCommonFramework.h:20
FxUIPolygonF.h
FxNativeRegion
QRegion FxNativeRegion
Definition
FxUIRegion.h:34
CFxUIPolygonF
Definition
FxUIPolygonF.h:40
CFxUIRegion::CFxUIRegion
CFxUIRegion(const FxNativeRegion ®ion)
CFxUIRegion::m_pImpl
CFxUIRegionImpl * m_pImpl
Definition
FxUIRegion.h:62
CFxUIRegion::CFxUIRegion
CFxUIRegion(const CFxUIPolygonF &polygon)
CFxUIRegion::CFxUIRegion
CFxUIRegion()
CFxUIRegion::operator=
CFxUIRegion & operator=(const CFxUIRegion ®ion)
CFxUIRegion::~CFxUIRegion
~CFxUIRegion()
CFxUIRegion::CFxUIRegion
CFxUIRegion(const CFxUIRegion ®ion)
Wt
Definition
FxString.h:30
Generated on Tue Apr 15 2025 11:29:57