Commit graph

86 commits

Author SHA1 Message Date
dankmeme01
c8aa2e30db rename getChildOfType member method to getChildByType, to avoid collisions 2024-10-13 13:19:07 +02:00
dankmeme01
0089d13f7a add getChildOfType to CCNode 2024-10-13 13:11:57 +02:00
dankmeme01
5f8d272816 code cleanup: remove unnecessary template
Some checks failed
Build Binaries / Build Windows (push) Has been cancelled
Build Binaries / Build macOS (push) Has been cancelled
Build Binaries / Build Android (64-bit) (push) Has been cancelled
Build Binaries / Build Android (32-bit) (push) Has been cancelled
Build Binaries / Publish (push) Has been cancelled
2024-10-11 22:52:50 +02:00
altalk23
ea96e2c658 make some classes final 2024-06-20 23:00:04 +03:00
altalk23
7bd8a1a231 remove RT_ADD and RT_REMOVE 2024-06-20 15:19:43 +03:00
matcool
adc4469f77 add AxisAlignment::Between, for equal space between elements
inspired by flexbox's space-between
2024-06-18 00:17:00 -03:00
matcool
723ff87f06 add geode addition comment 2024-06-15 21:24:20 -03:00
Fleeym
89273c9458 Merge branch 'main' into new-index-but-better 2024-05-15 23:58:55 +03:00
HJfod
77e7c6d969 add docs for querySelector 2024-05-15 11:18:38 +03:00
HJfod
c75ec639f2 CCNode::querySelector 2024-05-15 11:11:46 +03:00
dankmeme01
92e0de4dea fix <memory> include 2024-05-10 12:15:18 +02:00
HJfod
7ff257cbd4 bring in Layout changes from new-index-but-better; makes AxisLayout pimpl 2024-05-09 15:18:18 +03:00
HJfod
33af7befed Merge branch 'main' into new-index-but-better 2024-04-13 21:47:56 +03:00
altalk23
00e971a274 fix field containers for separate modify classes in which one of them is a base of another, causing shared indices 2024-04-12 22:56:05 +03:00
HJfod
6995e8d4c5 add support for overriding cross axis line alignment on AxisLayout nodes 2024-03-24 00:33:03 +02:00
HJfod
56839119f0 fix anchor parameters in addChildAtPosition being flipped the wrong way 2024-03-24 00:32:28 +02:00
HJfod
35fcdb4df3 make AxisLayout pimpl + add default scaling options 2024-03-02 17:20:25 +02:00
HJfod
be0880f49c add CCNode::setScaledContentSize, CCNode::getScaledContentWidth etc. 2024-03-02 13:36:06 +02:00
HJfod
44ae5c83c7 Merge branch 'main' into new-index-but-better 2024-02-25 18:44:36 +02:00
altalk23
f0465ba5b2 readd fods removed stuff for abi 2024-02-25 13:53:49 +03:00
HJfod
44cd7ec63f remove default value from parameter in updateAnchoredPosition to fix overload resolution 2024-02-24 02:08:23 +02:00
HJfod
363a028c1f replace attributes with an augmented user object system 2024-02-22 23:39:45 +02:00
HJfod
f9d7cfdc68 replace attributes with an augmented user object system 2024-02-22 23:39:21 +02:00
HJfod
e452f482a8 View buttons! 2024-02-22 17:28:09 +02:00
HJfod
e06b9070d0 add CCNode::setContentWidth etc. 2024-02-16 16:30:31 +02:00
HJfod
3b7621c8a0 make LayoutOptions CCObject aswell (ABI break!!) 2024-02-10 13:09:11 +02:00
ConfiG
2e20cccf22
Run codegen on configure and move it to bindings (#484) 2024-02-04 22:45:52 +03:00
HJfod
7891ac605e CopySizeLayout wasn't actually dllexported whoops 2024-02-01 16:08:17 +02:00
HJfod
ed588eb9b1 rename AutoSizeLayout to CopySizeLayout 2024-01-31 23:36:00 +02:00
HJfod
563a44c874 add a bunch of documentation and an option to addChildAtPosition 2024-01-31 23:30:52 +02:00
HJfod
aa949aed39 finished design for AnchorLayout 2024-01-31 23:11:43 +02:00
HJfod
7654f6e7cd initial ideas, going to sleep for today 2024-01-30 00:08:53 +02:00
altalk23
4cd08e1ca9 remove try blocks 2024-01-24 17:17:42 +03:00
dankmeme01
d3559c207d
fix ccnode header (#443) 2024-01-23 15:14:31 -03:00
HJfod
a628ea3ace fixing SearchFilterPopup ui being broken
my brother forced me off my pc so have to commit so i can continue on my laptop
2024-01-20 21:26:01 +02:00
mat
b9a09f73d5 update json library, changes namespace to matjson
very breaking change! though not annoying to upgrade. this change was
done because matjson is not really meant to be a "do everything" json
library, so taking up the very common `json` identifier was troublesome.
2024-01-03 18:04:43 -03:00
matcool
8c63c65797 fix visibility 2023-12-21 15:09:49 -03:00
matcool
5c71bc9e32 get windows further along 2023-12-20 23:14:53 -03:00
altalk23
40f99d6397 fix virtuals from main cocos classes 2023-12-20 19:33:32 +03:00
altalk23
d49e14d9ee fix main cocos headers 2023-12-20 19:22:06 +03:00
mat
23cd456860
fix CCNode::removeChildByID not being exported properly 2023-09-17 14:23:13 -03:00
altalk23
114fa465a8 Mod cells now use layouts & disable macos console temporarily 2023-09-09 14:32:20 +03:00
HJfod
3dd6d55b49 add CCNode::getEventListenerCount 2023-04-05 19:26:46 +03:00
hjfod
b44b5d3cd3 add SpacerNode & bring back Dispatch 2023-04-04 17:44:49 +03:00
HJfod
152f90cf67 add option to ignore invisible children to Layout 2023-04-02 14:43:39 +03:00
HJfod
35f7f86e6d add optional ids to node event listeners + properly clean them up 2023-03-29 22:07:33 +03:00
hjfod
69bd0d99ef add AttributeSetEvent 2023-03-29 16:05:20 +03:00
hjfod
7963469f1e make attributes use json::Value instead of std::any 2023-03-29 15:23:57 +03:00
hjfod
38575ac825 add CCScene::get + CCScheduler::get + CCNode::hasAncestor 2023-03-29 11:11:22 +03:00
HJfod
5cdfbc3e67 add EventListener::getFilter 2023-03-27 21:22:18 +03:00