2023-10-03 20:37:00 +02:00
|
|
|
// Copyright (C) 2002-2012 Nikolaus Gebhardt
|
|
|
|
// This file is part of the "Irrlicht Engine".
|
|
|
|
// For conditions of distribution and use, see copyright notice in irrlicht.h
|
|
|
|
|
2024-02-25 22:01:20 +01:00
|
|
|
#pragma once
|
2023-10-03 20:37:00 +02:00
|
|
|
|
|
|
|
#include "irrTypes.h"
|
|
|
|
|
|
|
|
namespace irr
|
|
|
|
{
|
|
|
|
namespace gui
|
|
|
|
{
|
|
|
|
enum EGUI_ALIGNMENT
|
|
|
|
{
|
|
|
|
//! Aligned to parent's top or left side (default)
|
2024-03-20 19:35:52 +01:00
|
|
|
EGUIA_UPPERLEFT = 0,
|
2023-10-03 20:37:00 +02:00
|
|
|
//! Aligned to parent's bottom or right side
|
|
|
|
EGUIA_LOWERRIGHT,
|
|
|
|
//! Aligned to the center of parent
|
|
|
|
EGUIA_CENTER,
|
|
|
|
//! Stretched to fit parent
|
|
|
|
EGUIA_SCALE
|
|
|
|
};
|
|
|
|
|
|
|
|
//! Names for alignments
|
2024-03-21 15:22:20 +01:00
|
|
|
const c8 *const GUIAlignmentNames[] = {
|
|
|
|
"upperLeft",
|
|
|
|
"lowerRight",
|
|
|
|
"center",
|
|
|
|
"scale",
|
|
|
|
0,
|
|
|
|
};
|
2023-10-03 20:37:00 +02:00
|
|
|
|
|
|
|
} // namespace gui
|
|
|
|
} // namespace irr
|