| Age | Commit message (Collapse) | Author |
|
* move window creation and management to Lua (#1751)
* remove scaling logic from font code
for the time being its been hardcoded to 1 for the non SDL Renderer basewin setup, so nothing is lost for non MacOS users.
will be revisited in the future when scaling is improved with SDL3 and moved into scripts.
* remove unused window_renderer argument from font functions
* move window logic to lua, pass window via argument
* rename window creation functions `*_create`, `*_destroy`, add real init
* Set active window when processing frame
* get size directly from RenWindow, get active window size from renderer
* correct reverted draw calls
* fix window not reappearing on restart
* add simple logic to persist the core window
* fix style
* add renwindow documentation
* make windows hidden by default again
* reorder ren_update_rects execution, add comment to note future work
* Adapt code that calls system.win functions
* Remove scale detection from start.lua
* Trimmed spaces from renwindow docs
* Enable darkmode on window creation and added min win size
---------
Co-authored-by: Jan <sentrycraft123@gmail.com>
|
|
* Besides renderer.font.get_metadata(path) now also
supports the font_object:get_metadata() syntax
* Added support for handling font groups
* Added missing api documentation for the method
* Added support for the "sampletext" property
|
|
|
|
* Added a smoothing option to font loading.
* Added a font strikethrough option to font loading.
* Fixed underline applying incorrectly in cases of non-underlined fallback fonts being used.
Co-authored-by: Guldoman <giulio.lettieri@gmail.com>
|
|
* Allow passing font options to renderer.font:copy().
* Added renderer.font:get_path()
* Reintroduced set_size() for more faster font size changes
* Swapped copy wiht set_size on scale plugin for better performance
* Use code_font:copy() instead of renderer.font.load() on language_md to
properly match user font now that font options are supported on copy.
* Added new changes to renderer docs
|
|
|
|
|
|
|
|
|
|
|