48 return static_cast<dock_area>(
static_cast<uint32_t
>(aLhs) |
static_cast<uint32_t
>(aRhs));
53 return static_cast<dock_area>(
static_cast<uint32_t
>(aLhs) &
static_cast<uint32_t
>(aRhs));
73 class i_dock :
public virtual i_skinnable_item
75 friend class dockable;
77 struct item_not_found : std::logic_error { item_not_found() :
std::logic_error{
"neogfx::i_dock::item_not_found" } {} };
79 using item = i_ref_ptr<i_dockable>;
83 virtual void set_area(dock_area aArea) = 0;
85 virtual ~i_dock() =
default;
87 virtual const item_list& items()
const = 0;
89 virtual void add(
const item& aItem) = 0;
90 virtual void remove(
const item& aItem) = 0;
#define end_declare_enum(enumName)
#define declare_enum_string(enumName, enumEnumerator)
#define begin_declare_enum(enumName)
constexpr style_aspect operator&(style_aspect aLhs, style_aspect aRhs)
constexpr style_aspect operator|(style_aspect aLhs, style_aspect aRhs)