Commit Graph

71 Commits

Author SHA1 Message Date
RH c628e0f428
Better richtext word wrapping (#1071)
* [RichText] Do not word-wrap on punctuation characters for better readability
2023-02-23 13:55:42 +08:00
RH f3930a15f4
Scrollbar visibility fix for when auto hide is disabled (#1067)
* Fix for scrollbar visibility when auto-hide is disabled

* Set the default opacity to 255 when the scrollbar auto hide is disabled since _opacity is unknown
2023-02-22 11:13:56 +08:00
RH 76b8747874
Trim leading space from wrapped lines of text in RichText (#1066)
* Fix issue with a whitespace appearing at the start of left-aligned text in RichText when using wrapping at word boundaries.
Update RichText test.
2023-02-21 13:15:28 +08:00
halx99 704b1655eb Fix osx ci 2023-01-21 19:24:58 +08:00
halx99 9f94bd461e Fix #1032 2023-01-17 10:06:09 +08:00
Deal(一线灵) 2b0484a40b
Update CocosGUI.h 2023-01-12 11:55:16 +08:00
halx99 9eb65309b9 Don't use deprecated function 2023-01-11 23:28:22 +08:00
halx99 d1e9308ede Improve windows optional modules 2023-01-11 22:28:14 +08:00
Turky Mohammed 5f9db1203f
[BUG] fix _AX_HAVE_WEBVIEW2 compilation error when not defined. (#1020)
* make _AX_HAVE_WEBVIEW2 actually work

* Exclude other platforms

* Update UIWebView-inl.h
2023-01-08 09:36:43 +08:00
halx99 640dda61ec Fix dll linkage 2023-01-06 18:38:16 +08:00
halx99 4c07b00348 Fix ci 2023-01-05 00:31:08 +08:00
halx99 59bc12dddf Improve base64 API
Move base64Encode/base64Decode to namespace `ax::utils`
2023-01-01 18:07:18 +08:00
pietpukkel 24c3afa524
Fix for UIEditBox password on Mac/iOS (Montery+/15+). (#995)
Fix for UIEditBox password on Mac/iOS (Montery+/15+).
2022-12-27 14:26:09 +08:00
RH be224656fc
Move getWorldPosition() from Widget to Node class (#978)
* Committing genbindings changes

* Move getWorldPosition() method to Node class to allow world position to be retrieved for any node.
2022-12-07 09:24:46 +08:00
RH 7dba255a1d
Add a pool for GroupCommand rendering commands (#969)
* Committing genbindings changes

* Use a pool of GroupCommand entries to avoid multiple entries of the same group in the render queue in certain scenarios

* Ensure captureNode works as expected.

* Set member variables to default values when init method is called on the GroupCommand

* Explicitly reset the command state when retrieving a GroupCommand from the pool
2022-11-28 08:37:22 +08:00
Vincent Lee 8fa2d738a6
Fix warnings (implicit conversion loses and use of deprecated function) 2022-11-20 09:58:34 +09:00
joilnen 79ee13376f fixing some warnings compilation in linux gcc 12.2.0 2022-11-14 15:46:27 -03:00
halx99 8b70aea233 Improve MFMediaPlayer state control 2022-11-14 11:35:38 +08:00
RH b0c51f590d
Add support for centered horizontal layout (#946)
* Committing genbindings changes

* Add support for CENTER_HORIZONTAL layout type.
2022-11-01 19:02:04 +08:00
halx99 1d01e163e9 🔨Fix #887 2022-10-12 19:44:31 +08:00
aismann a5810457f1
rename cocos2d to axmol (#920)
* rename cocos2d to axmol

* rename cocos2d.h to axmol.h

* Update Physics3DTest.cpp

replace Sprite3D -> MeshRenderer
2022-10-12 00:15:09 +08:00
一线灵|Deal 92e5f465fa
Merge pull request #801 from theunwisewolf/dev-richtext-scale-support
RichElementImage - Add support for scaling
2022-10-04 11:08:49 +08:00
一线灵|Deal 5645bb241e
Final migrate (#876) 2022-10-01 16:24:52 +08:00
halx99 d1efe584be Improve code style 2022-09-24 10:42:11 +08:00
halx99 72e6061557 Fix #861 2022-09-23 22:41:30 +08:00
Paulo Coutinho 8c359917f7
Add apple tvos support (#846)
* support tvos

* support tvos and fix run command

* support tvos, fix run script and fix windows files

* support tvos on ci

* support tvos on ci and fix windows zlib

* support tvos on ci

* support tvos

* support tvos and tvos tests
2022-09-05 14:13:52 +08:00
一线灵|Deal 33b67fa0df
Migrate, use simple namespace ax (#818) 2022-08-29 20:51:22 +08:00
unknown c26ab44880 Add empty check 2022-08-16 15:12:45 +05:30
unknown 8a462d89c9 Add support for width & height in percentage for RichElementImage 2022-08-16 12:09:02 +05:30
unknown f5c7940418 RichElementImage - Add support for scaling 2022-08-12 03:58:36 +05:30
halx99 9150b9db83 Migrate cmake files 2022-08-11 15:41:10 +08:00
halx99 0df0947d05 Improve code style
Refer to: https://github.com/cocos2d/cocos2d-x/pull/20743
2022-08-10 21:08:51 +08:00
一线灵 13fc72c02c
Migrate axys (#782) 2022-08-08 18:02:17 +08:00
aismann 10530b1a19
Replace push_back() vs emplace_back() on axis/tests/cpp-tests and axis/core (#781)
* Replace push_back() vs emplace_back() on axis\tests\cpp-tests\

D:\______\GitHub\aismann\axis\tests\cpp-tests\Classes
Replace Vector push_back() vs emplace_back() #762

* Replace push_back() vs emplace_back() on axis\core\ #781

* Update CCConsole.cpp

* Update UIWebViewImpl-android.cpp

* Update UIWebViewImpl-android.cpp
2022-08-08 13:18:33 +08:00
unknown 5685db91a3 closeKeyboard() method for EditBox 2022-08-02 03:02:35 +05:30
aismann 73153ad614
Improve c++11 for-loop performance with Universal References (#760) 2022-07-21 19:19:08 +08:00
halx99 c0a4371879 Migrate more macors 2022-07-16 10:43:05 +08:00
halx99 f3ac6ea871 Migrate macros 'CC_' to 'AX_' 2022-07-15 19:17:01 +08:00
一线灵 279337f17f
Migrate engine namespace to `axis`(abbv: `ax`) (#743) 2022-07-11 17:50:21 +08:00
Turky Mohammed 8517d0ee7f
Replace everything under `core` (#735)
Co-authored-by: deal <halx99@live.com>
2022-07-09 01:23:11 +08:00
halx99 fff2bd59ed Fix setup cmake files and some relative sources 2022-07-08 14:20:41 +08:00
halx99 768a8bd5e1 Refator sampler name in shader 2022-07-04 21:26:48 +08:00
halx99 1889180a75 Improve renderer 2022-06-24 14:18:48 +08:00
halx99 03628930cb string_view 2022-06-20 01:49:50 +08:00
halx99 86921d2c9e Delete unused comment 2022-06-11 15:30:51 +08:00
rh101 65b70dce36 Allow the forced reformatting of RichText contents 2022-05-25 11:42:12 +10:00
halx99 810b0f563d Fix incorrect sampler for non-aligned video files 2022-05-09 10:05:33 +08:00
一线灵 e4170ffc59
Fix indent 2022-05-07 20:40:54 +08:00
halx99 eb5c7758cc Fix #627 2022-05-07 20:21:22 +08:00
DelinWorks ad88b2628b Update UIVideoPlayer-win.cpp 2022-05-02 05:35:45 +03:00