2011-01-14 07:36:50 -08:00
|
|
|
// Copyright (C) 2002-2011 Nikolaus Gebhardt
|
2007-12-21 23:49:29 -08:00
|
|
|
// This file is part of the "Irrlicht Engine".
|
|
|
|
// For conditions of distribution and use, see copyright notice in irrlicht.h
|
|
|
|
|
|
|
|
#ifndef __E_GUI_ALIGNMENT_H_INCLUDED__
|
|
|
|
#define __E_GUI_ALIGNMENT_H_INCLUDED__
|
|
|
|
|
|
|
|
namespace irr
|
|
|
|
{
|
|
|
|
namespace gui
|
|
|
|
{
|
|
|
|
enum EGUI_ALIGNMENT
|
|
|
|
{
|
|
|
|
//! Aligned to parent's top or left side (default)
|
|
|
|
EGUIA_UPPERLEFT=0,
|
|
|
|
//! 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
|
|
|
|
const c8* const GUIAlignmentNames[] =
|
|
|
|
{
|
|
|
|
"upperLeft",
|
|
|
|
"lowerRight",
|
|
|
|
"center",
|
|
|
|
"scale",
|
|
|
|
0
|
|
|
|
};
|
|
|
|
|
|
|
|
} // namespace gui
|
|
|
|
} // namespace irr
|
|
|
|
|
|
|
|
#endif // __E_GUI_ALIGNMENT_H_INCLUDED__
|
2009-01-27 05:23:36 -08:00
|
|
|
|