* Layout WIP * Widgets/BoxLayout: Fix layout algorithm * Widgets/BoxLayout: Fix box layout algorithm for good * SDK/Widgets: Remove padding * Sdk/Widgets: Make use of minimum/preferred size * Sdk/TextAreaWidget: Add Minimum/PreferredSize to TextArea * Sdk/Widgets: Add height/width variants of get/set fixed, maximum, minimum and preferred size methods * Sdk/BoxLayout: Remove useless code * Sdk/TextAreaWidget: Fix compilation * Widgets/TextAreaWidget: Fix cursor position
38 lines
691 B
C++
38 lines
691 B
C++
// Copyright (C) 2017 Samy Bensaid
|
|
// This file is part of the "Nazara Development Kit"
|
|
// For conditions of distribution and use, see copyright notice in Prerequisites.hpp
|
|
|
|
#pragma once
|
|
|
|
#ifndef NAZARA_ENUMS_SDK_HPP
|
|
#define NAZARA_ENUMS_SDK_HPP
|
|
|
|
namespace Ndk
|
|
{
|
|
enum BoxLayoutOrientation
|
|
{
|
|
BoxLayoutOrientation_Horizontal,
|
|
BoxLayoutOrientation_Vertical
|
|
};
|
|
|
|
enum CheckboxState
|
|
{
|
|
CheckboxState_Checked,
|
|
CheckboxState_Tristate,
|
|
CheckboxState_Unchecked,
|
|
|
|
CheckboxState_Max = CheckboxState_Unchecked
|
|
};
|
|
|
|
enum EchoMode
|
|
{
|
|
EchoMode_Normal,
|
|
EchoMode_Password,
|
|
EchoMode_PasswordExceptLast,
|
|
|
|
EchoMode_Max = EchoMode_PasswordExceptLast
|
|
};
|
|
}
|
|
|
|
#endif // NAZARA_ENUMS_SDK_HPP
|