ASW Lib
A.D.S. Games SDL Wrapper Library. A library targeted at Allegro4 users who want to switch to SDL3 and use modern c++.
Loading...
Searching...
No Matches
widget.h File Reference

Base widget class for the ASW UI module. More...

#include <memory>
#include <type_traits>
#include <vector>
#include "event.h"
Include dependency graph for widget.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  asw::ui::Widget
 Base class for all UI widgets. More...
 

Namespaces

namespace  asw
 
namespace  asw::ui
 

Typedefs

using asw::ui::WidgetId = uint32_t
 Unique identifier type for widgets.
 

Enumerations

enum class  asw::ui::Anchor {
  asw::ui::None , asw::ui::TopLeft , asw::ui::Top , asw::ui::TopRight ,
  asw::ui::Left , asw::ui::Center , asw::ui::Right , asw::ui::BottomLeft ,
  asw::ui::Bottom , asw::ui::BottomRight
}
 A point of the parent an anchored widget sits at, see Widget::anchor. More...
 

Detailed Description

Base widget class for the ASW UI module.

Author
Allan Legemaate (alege.nosp@m.maat.nosp@m.e@gma.nosp@m.il.c.nosp@m.om)
Date
2026-02-21

Definition in file widget.h.