Commit Graph

16 Commits

Author SHA1 Message Date
halx99 c80fc1a8be Avoid dead loop when enable enableRetina 2024-04-05 01:55:19 +08:00
halx99 9b25809898 Improve code style 2024-04-05 01:44:41 +08:00
halx99 3bcb13f22a Fix #1787 2024-04-05 01:20:44 +08:00
Deal 5d2c42e73f
Implement new axmol log system based on fmtlib (#1732)
* Implement new log macros based on fmtlib

* Fix ci

* Fix ci

* Fix android ci

* Fix warnings

* Replace more ax::log by AXLOGX

* Fix ci

* Fix linux build

* Use stack memory for log prefix

* Fix linux build

* Fix warning

* Add ILogOutput support

* Replace old log calls with new log macros

* Fixup

* Fixup

* Fixup

* Update ci msvc to 14.39

* Update Console.h [skip ci]

* Pass log level to ILogOutput
2024-03-07 08:47:00 +08:00
halx99 8b33156e65 Update glfw to 3.4 2024-02-24 14:17:31 +08:00
Lich 8e2e577e2f
Add support for window close button calback (#1697) 2024-02-18 16:08:53 +08:00
halx99 6477a8fdb4 Improve naming style 2024-02-18 10:30:11 +08:00
Deal 2d9c6dbf90
Fix view size incorrect when frameZoomFactor not 1.0 (#1694)
* Fix view size incorrect when frameZoomFactor not 1.0

* Tidy code
2024-02-18 09:25:28 +08:00
Deal cd5a39ee3b
Fix screen size incorrect in retina display (#1692) 2024-02-17 13:38:27 +08:00
RH d117232769
Ensure correct video mode is set when creating view to avoid incorrect refresh rate being applied (#1678) 2024-02-13 21:10:41 +08:00
Lich ae51e26eb6
Add support for window resized and positioned (#1513) 2023-12-14 01:48:52 +08:00
Deal 213f788f75
Merge backend Device, DeviceInfo to DriverBase (#1499)
* backend::Device ==> backend::DriverBase
* backend::DeviceInfo ==> backend::DriverBase
* code style: remove unnecessary virtual function marks
2023-12-11 21:59:25 +08:00
halx99 affcf05b69 Prepare 2.1.0 release
* Update copyright notice
* Remove prebuilt libs from SCM
* Remove optional thirdparty sources/repo from SCM
* Remove tests resources  folder 'Content' from SCM
2023-12-08 01:04:43 +08:00
Deal 54ef33d34d Add API: Device::getPixelRatio (#1418) 2023-11-06 00:19:44 +08:00
halx99 0e23f9812f GLView: Restore from maximized when setWindowed 2023-09-11 00:06:34 +08:00
halx99 c7ab6a227e Processing wasm touch events properly 2023-09-07 19:32:06 +08:00