lite-xl/docs/api
Jan 1a045e5e86
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
2024-06-22 15:01:39 -04:00
..
dirmonitor.lua fix(dirmonitor): deadlock if error handler jumps somewhere else (#1647) 2023-10-21 19:17:49 +02:00
globals.lua docs api: minor corrections 2022-11-30 01:11:13 -04:00
process.lua docs api: minor corrections 2022-11-30 01:11:13 -04:00
regex.lua core: ported regex.gsub to faster native version (#1233) 2022-12-20 17:46:37 -04:00
renderer.lua move window creation and management to Lua (#1751) 2024-06-22 15:01:39 -04:00
renwindow.lua move window creation and management to Lua (#1751) 2024-06-22 15:01:39 -04:00
string.lua docs api: minor corrections 2022-11-30 01:11:13 -04:00
system.lua move window creation and management to Lua (#1751) 2024-06-22 15:01:39 -04:00
utf8extra.lua docs api: minor corrections 2022-11-30 01:11:13 -04:00