API Documentation
MAIN PAGE
NAMESPACES
CLASSES
Documentation
Headers
NilkinsWinUi
Enums
RelativePosition.h
1
// RelativePosition.h
3
//
5
6
namespace
nkWinUi
7
{
11
enum class
RELATIVE_POSITION
12
{
13
UNKNOWN
= 0,
14
LEFT
,
15
RIGHT
,
16
TOP
,
17
BOTTOM
,
18
TOP_LEFT
,
19
TOP_RIGHT
,
20
BOTTOM_LEFT
,
21
BOTTOM_RIGHT
22
} ;
23
27
class
RelativePositionUtils
final
28
{
29
public :
30
31
// String conversions
69
static
nkMemory::StringView
enumToString
(
RELATIVE_POSITION
toConvert) ;
110
static
RELATIVE_POSITION
stringToEnum
(
nkMemory::StringView
toConvert) ;
111
} ;
112
}
nkWinUi::RELATIVE_POSITION::TOP_LEFT
@ TOP_LEFT
Top-left position.
nkWinUi::RELATIVE_POSITION::TOP
@ TOP
Top position.
nkWinUi::RELATIVE_POSITION::LEFT
@ LEFT
Left position.
nkWinUi::RelativePositionUtils
Holds static utility functions to interact with the RELATIVE_POSITION enum class values.
Definition:
RelativePosition.h:28
nkWinUi::RELATIVE_POSITION::BOTTOM_LEFT
@ BOTTOM_LEFT
Bottom-left position.
nkWinUi::RELATIVE_POSITION::UNKNOWN
@ UNKNOWN
Unknown.
nkMemory::StringView
Class holding information about a string, with no ownership over the data.
Definition:
StringView.h:22
nkWinUi::RELATIVE_POSITION::BOTTOM
@ BOTTOM
Bottom position.
nkWinUi::RELATIVE_POSITION::RIGHT
@ RIGHT
Right position.
nkWinUi::RelativePositionUtils::stringToEnum
static RELATIVE_POSITION stringToEnum(nkMemory::StringView toConvert)
nkWinUi::RELATIVE_POSITION::BOTTOM_RIGHT
@ BOTTOM_RIGHT
Bottom-right position.
nkWinUi::RELATIVE_POSITION::TOP_RIGHT
@ TOP_RIGHT
Top-right position.
nkWinUi
Encompasses all API of component NilkinsWinUi.
Definition:
Clipboard.h:7
nkWinUi::RelativePositionUtils::enumToString
static nkMemory::StringView enumToString(RELATIVE_POSITION toConvert)
nkWinUi::RELATIVE_POSITION
RELATIVE_POSITION
Possible relative positions of components.
Definition:
RelativePosition.h:12
Generated by
Doxygen
1.8.18