axmol/core/platform
RH 3916a2367b
Cross-platform media controller for video playback (#1845)
* Initial work on media controller

* Media player controller for WMF media engine

* Add getDuration and getCurrentTime methods to media engines

* Fix compilation

* Fix Android media timeline issues

* Fix compilation issue

* Fix WinRT compilation issue

* Fix compilation issue

* Add missing header include

* Make it simpler to create a custom media controller

* Ensure the basic media controller widget size is the same size as the media player on initialization

* Add dark media control underlay to give more contrast to the controls
ADd copyright notices

* Removing existing media controller from parent if required

* Adjust for view scaling since embedded resources are created for a scale of 1.

* Scale central media controls if required on content size change

* Remove pointless fast forward and fast reverse buttons
Ensure media controller correctly resizes on full-screen media playback

* Allow enable vlc on windows

* Improve media macro detect

* Add media controls drawn by DrawNode into single texture
Add fullscreen enter and exit controls
setUserInputEnabled and isUserInputEnabled replaced by setMediaControllerEnabled and isMediaControllerEnabled

* Update function calls to new names

* Revert back to setUserInputEnabled and isUserInputEnabled

* Remove embedded circle image and create it with DrawNode

* Change radius of drawn circle to half the total image size

---------

Co-authored-by: halx99 <halx99@live.com>
2024-04-24 22:28:59 +08:00
..
android Cross-platform media controller for video playback (#1845) 2024-04-24 22:28:59 +08:00
apple Fix FileUtilsApple::getPathForDirectory() checking wrong path (#1828) 2024-04-17 22:36:51 +08:00
ios Add CMake option to remove Console from builds (#1788) 2024-04-05 14:25:22 +08:00
linux Add CMake option to remove Console from builds (#1788) 2024-04-05 14:25:22 +08:00
mac Improve dll support (#1706) 2024-02-20 05:37:12 +08:00
wasm Add CMake option to remove Console from builds (#1788) 2024-04-05 14:25:22 +08:00
win32 Logging colorful support (#1735) 2024-03-08 01:15:26 +08:00
winrt Implement new axmol log system based on fmtlib (#1732) 2024-03-07 08:47:00 +08:00
Application.h WASM: use shorten target platform name 'wasm' instead 'emscripten' 2023-09-05 22:17:18 +08:00
ApplicationBase.cpp Fix memory leaks refreshed (#1638) 2024-01-29 22:30:14 +08:00
ApplicationBase.h Fix memory leaks refreshed (#1638) 2024-01-29 22:30:14 +08:00
CMakeLists.txt Fix ci 2024-03-24 05:20:59 +08:00
Common.h Remove CC prefix from code file name (#1230) 2023-06-11 13:08:08 +08:00
Device.h Fix Device::getPixelRatio for win32,android 2023-12-13 01:56:53 +08:00
FileStream.cpp Make FileStream open file for write share flags same with cstd 2024-04-06 22:47:00 +08:00
FileStream.h Prepare 2.1.0 release 2023-12-08 01:04:43 +08:00
FileUtils.cpp Make openFileStream a const method (#1514) 2023-12-14 01:51:15 +08:00
FileUtils.h Move FileUtils::fullPathForDirectory to public (#1596) 2024-01-11 12:42:00 +08:00
GL.h Prepare 2.1.0 release 2023-12-08 01:04:43 +08:00
GLView.cpp Merge: 41714a04fd 2631c8405b 2023-09-02 19:56:50 +08:00
GLView.h Move queueOperation from GLView to Director 2023-06-25 01:17:29 +08:00
GLViewImpl.cpp [Improvement] Add Borderless Windowed Mode (#1826) 2024-04-17 09:33:55 +08:00
GLViewImpl.h [Improvement] Add Borderless Windowed Mode (#1826) 2024-04-17 09:33:55 +08:00
IFileStream.h Prepare 2.1.0 release 2023-12-08 01:04:43 +08:00
Image.cpp Remove deprecated pixel formats L8, A8, LA8 (#1839) 2024-04-20 22:29:16 +08:00
Image.h Prepare 2.1.0 release 2023-12-08 01:04:43 +08:00
PlatformConfig.h Prepare 2.1.0 release 2023-12-08 01:04:43 +08:00
PlatformDefine.h Improve dll support (#1706) 2024-02-20 05:37:12 +08:00
PlatformMacros.h Allow overriding defines without modifying engine source (#1710) 2024-02-21 09:40:04 +08:00
SAXParser.cpp Trim leading and trailing whitespace characters for the HTML parsing option (#1687) 2024-02-15 14:51:42 +08:00
SAXParser.h Remove CC prefix from code file name (#1230) 2023-06-11 13:08:08 +08:00
StdC.h Remove CC prefix from code file name (#1230) 2023-06-11 13:08:08 +08:00