mirror of
https://github.com/Halofreak1990/XFXFramework
synced 2024-12-26 13:49:34 +01:00
Added implicit conversion to base types to all primary types (UInt32 et al) Added implicit conversion from System::String to const char*
37 lines
754 B
C++
37 lines
754 B
C++
#pragma once
|
|
|
|
namespace System
|
|
{
|
|
namespace Windows
|
|
{
|
|
namespace Controls
|
|
{
|
|
// Specifies when the System::Windows::Controls::Primitives::ButtonBase::Click event should be raised for a control.
|
|
struct ClickMode
|
|
{
|
|
enum type
|
|
{
|
|
Release,
|
|
Press,
|
|
Hover
|
|
};
|
|
};
|
|
|
|
// Defines the different orientations that a control or layout can have.
|
|
struct Orientation
|
|
{
|
|
enum type
|
|
{
|
|
Horizontal,
|
|
Vertical
|
|
};
|
|
};
|
|
|
|
// Specifies when the System::Windows::Controls::Primitives::ButtonBase::Click event should be raised for a control.
|
|
typedef ClickMode::type ClickMode_t;
|
|
// Defines the different orientations that a control or layout can have.
|
|
typedef Orientation::type Orientation_t;
|
|
}
|
|
}
|
|
}
|