neoGFX
Cross-platform C++ app/game engine
Loading...
Searching...
No Matches
i_layout.hpp File Reference

Go to the source code of this file.

Classes

struct  neogfx::standard_layout_not_found
 
class  neogfx::i_standard_layout_container
 
struct  neogfx::i_standard_layout_container::no_title_bar
 
struct  neogfx::i_standard_layout_container::no_status_bar
 
struct  neogfx::i_standard_layout_container::no_client_widget
 
class  neogfx::i_layout
 
struct  neogfx::i_layout::bad_item_index
 
struct  neogfx::i_layout::wrong_item_type
 
struct  neogfx::i_layout::item_not_found
 
struct  neogfx::i_layout::incompatible_layouts
 
class  neogfx::scoped_layout_items
 
class  neogfx::scoped_query_ideal_size
 

Namespaces

namespace  neogfx
 

Typedefs

typedef uint32_t neogfx::layout_item_index
 
typedef std::optional< layout_item_indexneogfx::optional_layout_item_index
 

Enumerations

enum class  neogfx::layout_position : uint32_t {
  neogfx::None = 0x00000000 , neogfx::Top = 0x00000001 , neogfx::Left = 0x00000002 , neogfx::Center = 0x00000004 ,
  neogfx::Right = 0x00000008 , neogfx::Bottom = 0x00000010
}
 
enum class  neogfx::standard_layout : uint32_t {
  neogfx::Default = 0x00000000 , neogfx::Client = 0x00000001 , neogfx::NonClient = 0x00000002 , neogfx::TitleBar = 0x00000003 ,
  neogfx::Menu = 0x00000004 , neogfx::Toolbar = 0x00000005 , neogfx::Dock = 0x00000006 , neogfx::StatusBar = 0x00000007 ,
  neogfx::ButtonBox = 0x00000009
}
 
enum class  neogfx::autoscale : uint32_t { neogfx::Default = 0x00000000 , neogfx::Active = 0x00000001 , neogfx::LockFixedSize = 0x00000002 }
 
enum class  neogfx::layout_direction : uint32_t { neogfx::Unknown = 0x00000000 , neogfx::Horizontal = 0x00000001 , neogfx::Vertical = 0x00000002 }
 

Functions

constexpr autoscale neogfx::operator~ (autoscale aLhs)
 
constexpr autoscale neogfx::operator| (autoscale aLhs, autoscale aRhs)
 
constexpr autoscale neogfx::operator& (autoscale aLhs, autoscale aRhs)
 
constexpr layout_direction neogfx::operator~ (layout_direction aLhs)
 
constexpr layout_direction neogfx::operator| (layout_direction aLhs, layout_direction aRhs)
 
constexpr layout_direction neogfx::operator& (layout_direction aLhs, layout_direction aRhs)
 
size neogfx::total_child_weight (const i_layout &aLayout)
 
size neogfx::calculate_relative_weight (const i_layout &aLayout, const i_layout_item &aItem)