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

Namespaces

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...
 A scrollable container that presents a collection of Core objects. More...
class  CarouselManifest
 Manifest for the Carousel component. More...
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...
class  Controller
 Abstract interface for application initialization and event registration. 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...
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...
class  ECSManager
 ECSManager. 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  EventManagerECS
 EventManagerECS. 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...
class  Grid
 A layout container that arranges Positionable objects in a grid. More...
struct  HealthComponent
class  HealthSystem
 HealthSystem. 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...
class  Keyable
 Trait that adds keyboard-input callbacks to any Core object. More...
class  Manager
 Abstract base class for all Malena managers. More...
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  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  MovementSystem
 MovementSystem. 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  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...
struct  PositionComponent
 PositionComponent. More...
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...
class  RenderingSystem
 RenderingSystem. More...
class  ResourceManager
 Generic manifest-driven resource cache. More...
class  RoundedRectangle
 An sf::Shape subclass that draws a rectangle with rounded corners. 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  ShaderLibrary
 Built-in GLSL shaders and uniform parameters for Carousel effects. More...
class  SingleFlaggable
 Flag store for a single enum type. More...
class  SingleStateManager
 State machine for a single enum type. More...
struct  SizeComponent
class  SizeSystem
 SizeSystem. More...
class  SoundManager
 Manifest-driven cache for sf::SoundBuffer resources. More...
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  Text
 A framework-integrated text object with word-wrap support. More...
class  TextBox
 Multi-line text display area. (Currently a stub — not yet implemented.). More...
class  TextInput
 A ready-to-use single-line text input field. More...
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...
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  UIController
 Concrete Controller base with a per-frame update hook. 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...
struct  VelocityComponent

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 Entity = int
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::UPDATE , 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)

Typedef Documentation

◆ Entity

using ml::Entity = int

Definition at line 16 of file ECSManager.h.

Function Documentation

◆ fileLoader()

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

Definition at line 15 of file LoaderFunctions.h.

◆ fileOpener()

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

Definition at line 18 of file LoaderFunctions.h.

◆ returnTrue()

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

Definition at line 21 of file LoaderFunctions.h.