Commit Graph

6 Commits

Author SHA1 Message Date
Martín Lucas Golini
dc377335b9 graphics: migrate drawables to shared ownership
- introduce DrawablePtr and per-consumer createInstance() semantics
  - add TextureDrawable wrappers backed by shared TexturePtr handles
  - migrate regions, sprites, nine-patches, state lists, skins, groups, gradients,
    UI widgets, tools, modules, ecode, and eeiv to shared drawable ownership
  - remove ownIt flags, manual drawable deletion, and unload-based lifetime handling
  - replace drawable callback IDs with RAII change connections
  - move Variant drawable storage outside its scalar union
  - split UIIcon source lookup from explicit drawable instance creation
  - retain icon instances used by rendering loops instead of cloning per frame
  - avoid shared source mutation in texture-region consumers
  - use drawable type tags instead of RTTI casts
  - fix nearest-size UIIcon lookup
  - document the drawable source/instance contract and add ownership tests
2026-07-20 01:09:36 -03:00
Martín Lucas Golini
c1ba882d31 Some minor improvements in UIApplication.
Minor headers clean up.
Avoid duplicating close message box in ecode.
2024-02-13 21:10:12 -03:00
Martín Lucas Golini
9ab0bf9cf5 Some optimizations on Node::nodeDraw.
UIPushButton will not create the icon node if not required (not sure yet if this is OK).
2023-12-02 21:19:57 -03:00
Martín Lucas Golini
08ebe82efb Removed more std::list usages. 2023-07-05 00:14:55 -03:00
Martín Lucas Golini
21240d9af9 Added Sys::which.
ecode: Added support for more LSP servers: Kotlin, Nim, Ruby, YAML. Added "Format Document" option in editor's context menu (when available).
2023-01-15 16:37:16 -03:00
Martín Lucas Golini
16890cae6c Physics module now is an optional module.
Fixed Android build.
ecode: Added Help -> Check for Updates. Added "Rosé Pine" terminal color scheme.
2023-01-15 04:08:29 -03:00