Loading...
Searching...
No Matches
ml Namespace Reference

Namespaces

namespace  detail
namespace  exports
namespace  WindowManager

Classes

class  Align
 Static layout helpers for positioning objects relative to one another. More...
class  Application
 Primary entry point for Malena applications without a manifest. More...
class  ApplicationBase
 Internal base class for all Malena applications. More...
class  ApplicationWith
 Entry point for Malena applications with a manifest. More...
class  AppManager
 Drives the application main loop and coordinates all framework managers. More...
class  AssetsManager
 Unified asset accessor for textures, fonts, and sound buffers. More...
class  Button
 Generic button template that combines a shape with a text label. More...
struct  ButtonSettings
 Layout and behaviour settings for ButtonToggle. More...
struct  ButtonStyle
 Complete style descriptor for ButtonToggle. More...
struct  ButtonTheme
 Theme tokens for the ButtonToggle (rectangular toggle button). More...
class  ButtonToggle
 Rectangular button that changes color and label on toggle. More...
class  ButtonToggleManifest
class  ButtonToggleWith
 A scrollable container that presents a collection of Core objects. More...
class  CarouselManifest
 Manifest for the Carousel component. More...
class  Checkbox
 A toggleable checkbox with a square indicator and text label. More...
class  CheckboxGroup
 A self-contained group of checkboxes with automatic layout. More...
class  CheckboxGroupManifest
struct  CheckboxGroupSettings
 Layout and behaviour settings for CheckboxGroup. More...
struct  CheckboxGroupStyle
struct  CheckboxGroupTheme
 Color tokens for CheckboxGroup. More...
class  CheckboxGroupWith
class  CheckboxManifest
struct  CheckboxSettings
 Layout and behaviour settings for Checkbox. More...
struct  CheckboxStyle
 Complete style descriptor for Checkbox. More...
struct  CheckboxTheme
 Color and font tokens for Checkbox. More...
class  CheckboxWith
class  Circle
 A framework-integrated circle shape. More...
class  CircleButton
 A circular button with a centered text label. More...
class  CircleButtonWith
 CircleButton with an attached manifest. More...
class  CircleWith
 Circle with an attached manifest. More...
class  Clickable
class  Component
 Primary base class for all user-facing Malena components. More...
struct  ComponentBase
 Intermediate drawable layer — with manifest. More...
struct  ComponentCore
 Internal non-drawable layer of the component hierarchy. More...
class  ConfigManager
 Manifest-driven accessor for typed configuration values. More...
struct  Context
 Combines AssetsManager, ConfigManager, and StateManager for a manifest into one convenience struct. More...
struct  ControlSettings
 Settings trait for interactive UI controls — layout only. More...
struct  ControlTheme
 Theme tokens for interactive UI controls. More...
class  Convex
 A framework-integrated convex polygon shape. More...
class  ConvexButton
 A convex polygon button with a centered text label. More...
class  ConvexButtonWith
 ConvexButton with an attached manifest. More...
class  ConvexWith
 Convex with an attached manifest. More...
class  Core
 Virtual base class for all Malena framework objects. More...
class  CoreAdapter
 Concrete adapter that gives Core a default virtual interface. More...
class  CoreManager
 Static, type-safe collection manager for Core-derived objects. More...
class  Cursor
 A blinking text cursor used inside TextInput. More...
class  CustomFlaggable
 Provides enum-keyed boolean flag storage for a single flag set. More...
class  CustomFlaggable< void >
 No-op specialization used when no custom flags are needed. More...
class  Customizable
 Tags a class with a manifest type and wires in its State manager. More...
struct  DarkTheme
 Malena default dark theme. More...
class  DefaultManifest
 Placeholder manifest used when no custom manifest is provided. More...
class  DeferredOperationsManager
 CRTP base that gives a manager safe deferred-operation support. More...
class  Draggable
 Receiver trait that adds mouse-drag behavior to any Component. More...
class  DraggableDispatcher
 Dispatcher singleton for drag events. More...
class  DraggableManifest
 Manifest for the Draggable trait. More...
class  DrawableWrapper
 Adapts any sf::Drawable into a first-class ml::Core object. More...
struct  EnumClassHash
struct  EnumKey
 Utility for generating unique, stable string keys from enum values. More...
class  EventDispatcher
 Base class for all per-event dispatchers in the Malena event system. More...
class  EventManager
 Centralized event bus for the Malena trait-based event system. More...
class  EventReceiver
 Base class for all event-receiving traits. More...
class  Fadeable
 Trait that adds time-based alpha animation to any component. More...
class  Fireable
class  Flaggable
 Trait that provides system-level boolean flag management. More...
class  FlagManager
 Enum-keyed boolean flag store. More...
class  Focusable
 Trait that adds keyboard-focus and blur callbacks to any Core object. More...
class  FontManager
 Manifest-driven cache for sf::Font resources. More...
class  FrameDispatcher
 Base class for per-frame dispatchers in the Malena event system. More...
struct  GatherFlags
 Collects all Flag enums from a component manifest and its traits. More...
struct  GatherStates
 Collects all State enums from a component manifest and its traits. More...
class  Graphic
 Base template for all Malena graphical primitives. More...
struct  GraphicSettings
 Base settings trait for all visual components — geometry only. More...
struct  GraphicTheme
 Theme tokens for all visual components. More...
class  Grid
 A layout helper that arranges Positionable objects in a grid. More...
class  Helper
 Static debug helpers for printing SFML value types. More...
class  Hoverable
 Trait that adds mouse-hover and mouse-leave callbacks to any Core object. More...
class  ImageRects
 A grid-indexed collection of sf::IntRect regions. More...
struct  InputSettings
 Layout and behaviour settings shared by all input controls. More...
struct  InputTheme
 Color and font tokens shared by all input controls. More...
class  Keyable
 Trait that adds keyboard-input callbacks to any Core object. More...
class  Lifecycle
 Trait that adds one-time initialization lifecycle hooks to any class. More...
struct  LightTheme
 Light theme with clean white surfaces and purple accents. More...
class  List
 A vertically stacked list of rows with optional dividers and background. More...
class  ListComponent
class  ListItem
 A single row in a List with start, content and end slots. More...
class  ListItemManifest
struct  ListItemSettings
 Layout and behaviour settings for ListItem. More...
struct  ListItemStyle
 Complete style descriptor for ListItem. More...
struct  ListItemTheme
 Color and font tokens for ListItem. More...
class  ListItemWith
class  ListManifest
struct  ListSettings
 Layout and behaviour settings for List. More...
struct  ListStyle
 Complete style descriptor for List. More...
struct  ListTheme
 Color tokens for List. More...
class  ListWith
class  Manifest
 Base class for all Malena manifests. More...
struct  ManifestAliases
 Pulls manifest inner type aliases into a class's scope. More...
struct  ManifestResources
 Unified manifest resource and config accessor. More...
class  MenuBar
 A desktop-style horizontal menu bar with dropdown panels. More...
class  MenuBarManifest
struct  MenuBarSettings
struct  MenuBarStyle
struct  MenuBarTheme
class  MenuBarWith
struct  MenuItem
 A single entry in a MenuBar dropdown or submenu. More...
class  MessageManager
 Typed, enum-keyed message bus for structured inter-object communication. More...
class  Messenger
 Trait that adds typed, enum-keyed message sending and receiving to any class. More...
struct  MLExport
 Template alternative to ML_EXPORT for registering Malena types in .cpp files. More...
class  MouseEvents
 Static helpers for mouse hit-testing against framework objects. More...
class  MultiCustomFlaggable
 Aggregates flag stores for multiple enum types into one class. More...
class  MultiCustomFlaggable<>
 No-op specialization used when no custom flags are declared. More...
class  MultiCustomStateManager
 Aggregates state machines for multiple enum types into one class. More...
class  MultiCustomStateManager<>
 No-op specialization used when no custom states are declared. More...
class  Panel
 A layout container that groups, positions, and draws a set of child components. More...
class  PanelManifest
struct  PillSettings
 Layout and behaviour settings for PillToggle. More...
struct  PillStyle
 Complete style descriptor for PillToggle. More...
struct  PillTheme
 Theme tokens for the PillToggle (iOS-style oval switch). More...
class  PillToggle
 iOS-style oval pill switch with animated sliding thumb. More...
class  PillToggleManifest
class  PillToggleWith
class  Plugin
 Abstract base class for all Malena plugins. More...
struct  PluginInfo
 Lightweight metadata record for a discovered plugin. More...
class  PluginManager
 Loads, manages, and safely unloads dynamically linked plugins. More...
class  Positionable
 Trait that provides position, bounds, and animated movement. More...
class  RadioButton
 A single radio button option with circular indicator and label. More...
class  RadioButtonManifest
struct  RadioButtonSettings
 Layout and behaviour settings for RadioButton. More...
struct  RadioButtonStyle
 Complete style descriptor for RadioButton. More...
struct  RadioButtonTheme
 Color and font tokens for RadioButton. More...
class  RadioButtonWith
class  RadioGroup
 A self-contained group of radio buttons with automatic layout. More...
class  RadioGroupManifest
struct  RadioGroupSettings
 Layout and behaviour settings for RadioGroup. More...
struct  RadioGroupStyle
 Complete style descriptor for RadioGroup. More...
struct  RadioGroupTheme
 Color tokens for RadioGroup. More...
class  RadioGroupWith
class  Rectangle
 A framework-integrated rectangle with optional rounded corners. More...
class  RectangleButton
 A rectangular button with a centered text label. More...
class  RectangleButtonWith
 RectangleButton with an attached manifest. More...
class  RectangleWith
 Rectangle with an attached manifest. More...
struct  RenderedLine
 One visual line of text made up of RenderedSegment objects. More...
struct  RenderedSegment
 A single styled run of text ready for rendering. More...
class  ResourceManager
 Generic manifest-driven resource cache. More...
class  RichTextBuffer
 Pure data layer for rich text editing. More...
class  RichTextRenderer
 Rendering layer for RichTextBuffer. More...
class  RoundedRectangle
 An sf::Shape subclass that draws a rectangle with rounded corners. More...
class  SceneLifecycle
 Trait that adds scene transition lifecycle hooks to any class. More...
class  SceneManager
 State-driven scene router for Malena applications. More...
class  Scrollable
 Trait that adds mouse-wheel and raw mouse-button callbacks to any Core object. More...
class  ScrollPane
class  ScrollPaneManifest
struct  SegmentSettings
 Layout and behaviour settings for SegmentToggle. More...
struct  SegmentStyle
 Complete style descriptor for SegmentToggle. More...
struct  SegmentTheme
 Theme tokens for the SegmentToggle (Hotels/Apartments style). More...
class  SegmentToggle
 Two-option segmented selector with animated sliding pill. More...
class  SegmentToggleManifest
class  SegmentToggleWith
class  Select
 A dropdown select control with rich per-item content. More...
class  Selectable
 Trait that adds selection and deselection callbacks to any Core object. More...
class  SelectManifest
struct  SelectOption
struct  SelectOptionStyle
struct  SelectSettings
 Layout and behaviour settings for Select. More...
struct  SelectStyle
 Complete style descriptor for Select. More...
struct  SelectTheme
 Color tokens for Select. More...
class  SelectWith
class  ShaderLibrary
 Built-in GLSL shaders and uniform parameters for Carousel effects. More...
class  SideMenu
 A slide-in panel anchored to the left or right edge of the window. More...
class  SideMenuManifest
struct  SideMenuSettings
struct  SideMenuStyle
struct  SideMenuTheme
class  SideMenuWith
class  SingleFlaggable
 Flag store for a single enum type. More...
class  SingleStateManager
 State machine for a single enum type. More...
class  SoundManager
 Manifest-driven cache for sf::SoundBuffer resources. More...
class  SplitPanel
 A resizable multi-pane container split horizontally or vertically. More...
class  SplitPanelManifest
struct  SplitPanelSettings
struct  SplitPanelStyle
struct  SplitPanelTheme
class  SplitPanelWith
class  Sprite
 A framework-integrated sprite. More...
class  SpriteWith
 Sprite with an attached manifest. More...
class  StateManager
 Single-enum state machine with enter/exit callbacks. More...
class  StateManager< void >
 No-op specialization used when Manifest has no State enum. More...
class  Subscribable
 Trait that allows a component to subscribe to and publish framework events. More...
class  TabbedPanel
 A container that displays one panel at a time, selected by tabs. More...
class  TabbedPanelManifest
struct  TabbedPanelSettings
struct  TabbedPanelStyle
struct  TabbedPanelTheme
class  TabbedPanelWith
class  Text
 A framework-integrated text object with word-wrap support. More...
class  TextArea
 A multi-line rich text input field with vertical scrolling. More...
struct  TextAreaStyle
 Complete style descriptor for TextArea. More...
struct  TextAreaTheme
 Scrollbar color tokens for TextArea. More...
class  TextAreaWith
struct  TextAttribute
 A styled attribute range applied to a span of characters. More...
class  TextBox
 Multi-line text display area. (Currently a stub — not yet implemented.). More...
class  TextInput
 Single-line rich text input with horizontal scrolling. More...
class  TextInputBase
 Shared base for TextInput and TextArea. More...
class  TextInputManifest
 Shared manifest for TextInput and TextArea. More...
struct  TextInputSettings
 Layout and behaviour settings for TextInput and TextArea. More...
struct  TextInputStyle
 Complete style descriptor for TextInput. More...
struct  TextInputTheme
 Color tokens for TextInput and TextArea. More...
class  TextInputWith
class  TextManipulators
 Static helpers for text layout and string manipulation. More...
class  TextureManager
 Manifest-driven cache for sf::Texture resources. More...
class  TextureSlicer
 Divides a texture into a uniform grid of sub-rectangles. More...
class  TextWidth
 Text with an attached manifest. More...
struct  Theme
 Universal design token set applied across all Themeable components. More...
class  Themeable
 Trait that makes a component react to global theme changes. More...
class  ThemeManager
 Global manager for the active Theme. More...
struct  ThemeTag
 Lightweight polymorphic base for all Theme structs. More...
class  ToggleGroup
 A vertical group of toggle switches. More...
class  ToggleGroupManifest
class  ToggleGroupWith
struct  ToggleSettings
 Settings shared by all toggle variants — behaviour only. More...
struct  ToggleTheme
 Theme tokens shared by all toggle variants. More...
class  Toolbar
 A horizontal or vertical strip of buttons, separators, and components. More...
class  ToolbarManifest
struct  ToolbarSettings
struct  ToolbarStyle
struct  ToolbarTheme
class  ToolbarWith
class  Trait
 Empty marker base class for all Malena traits. More...
class  TraitWith
 Base for traits that declare a manifest. More...
class  Typer
 An animated text object that accepts keyboard input. More...
class  Unsubscribable
 Trait that gives components the ability to unsubscribe from events. More...
class  Updatable
 Trait that adds per-frame update and window lifecycle callbacks to any Core object. More...

Typedefs

using Callback = std::function<void()>
 Callback type for no-argument event handlers.
template<typename M, typename... Traits>
using ComponentWith = Component<M, Traits...>
 Alias for Component<M, Traits...>.
using EventCallback = std::function<void(const std::optional<sf::Event>&)>
 Callback type for event handlers that receive the raw SFML event.
template<typename Manifest, typename... Traits>
using PluginWith
 Primary base class for manifest-driven plugins.

Enumerations

enum class  Event {
  Event::CLICK , Event::HOVER , Event::UNHOVER , Event::MOUSE_PRESSED ,
  Event::MOUSE_RELEASED , Event::MOUSE_MOVED , Event::DRAG , Event::SCROLL ,
  Event::FOCUS , Event::BLUR , Event::KEYPRESS , Event::KEY_RELEASE ,
  Event::TEXT_ENTERED , Event::SELECTED , Event::DESELECTED , Event::UPDATE ,
  Event::INIT , Event::READY , Event::WINDOW_RESIZED , Event::WINDOW_FOCUS_GAINED ,
  Event::WINDOW_FOCUS_LOST
}
 Framework-level enum for all built-in Malena events. More...
enum class  Flag {
  Flag::HOVERED , Flag::CLICKED , Flag::HIDDEN , Flag::BLINKING ,
  Flag::FOCUSED , Flag::ENABLED , Flag::DRAGGABLE , Flag::DRAGGING ,
  Flag::VERTICAL , Flag::HORIZONTAL , Flag::LAST_FLAG
}
 System-level boolean flags available on every ml::Core object. More...
enum  Tween { LINEAR , EXPONENTIAL , LAST_TWEEN }
 Easing curve selection for animated movement. More...

Functions

template<typename Resource>
bool fileLoader (Resource &r, const std::string &path)
template<typename Resource>
bool fileOpener (Resource &r, const std::string &path)
template<typename Resource>
bool returnTrue (Resource &r, const std::string &path)

Function Documentation

◆ fileLoader()

template<typename Resource>
bool ml::fileLoader ( Resource & r,
const std::string & path )

Definition at line 19 of file LoaderFunctions.h.

◆ fileOpener()

template<typename Resource>
bool ml::fileOpener ( Resource & r,
const std::string & path )

Definition at line 22 of file LoaderFunctions.h.

◆ returnTrue()

template<typename Resource>
bool ml::returnTrue ( Resource & r,
const std::string & path )

Definition at line 25 of file LoaderFunctions.h.