aboutsummaryrefslogtreecommitdiff
path: root/docs/api/renwindow.lua
AgeCommit message (Collapse)Author
2024-06-25Rebase window creation and management to Lua (#108)Jefferson González
* 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>