Commit graph

70 commits

Author SHA1 Message Date
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
HJfod
8c969a8628 fix codegen base classes not all being public + CCApplication members 2023-03-25 20:31:11 +02:00
hjfod
52c308e65d event stuff 2023-03-25 18:22:34 +02:00
hjfod
e962d5b89f fix mac build 2023-03-24 09:43:46 +02:00
HJfod
9bdd9fc526 add event listener stuff 2023-03-23 21:42:01 +02:00
HJfod
81472c9ab5 make Layout inherit from CCObject 2023-03-19 15:02:49 +02:00
HJfod
5f3c6587b3 add CCNode::removeChildByID 2023-03-11 10:19:26 +02:00
HJfod
00852654ad fix layout infinite recursion issue + EditorPauseLayer object labels 2023-03-06 21:55:02 +02:00
altalk23
7dba804969 Half revert constructors, having two types 2023-03-06 21:20:50 +03:00
altalk23
c89df7b992 rename monostate ctors to zero ctors & make it platform independent 2023-03-06 00:52:39 +03:00
HJfod
4613af6791 change CCNode::insertBefore behaviour to insert at the start if nullptr 2023-02-23 22:03:20 +02:00
HJfod
295aedbdb5 add cross axis line alignment to layouts 2023-02-23 21:18:43 +02:00
HJfod
b6c1c8b66e layouts now work fr fr 2023-02-23 20:46:02 +02:00
HJfod
0e7a3f6f3f finish layouts!! 2023-02-23 16:32:52 +02:00
hjfod
80a3ce60d2 layout prio almost works 2023-02-17 17:25:53 +02:00
HJfod
060ea5865c layout testing 2023-02-15 21:25:12 +02:00
hjfod
3827a00964 adding new big stuff to layouts, this def wont work
also removed PositionHint
2023-02-15 16:02:56 +02:00