Skip to content

Commit

Permalink
First demo for 242 and 243
Browse files Browse the repository at this point in the history
  • Loading branch information
cursork committed Oct 10, 2024
1 parent 3550268 commit 9f32d16
Show file tree
Hide file tree
Showing 21 changed files with 70 additions and 6 deletions.
1 change: 1 addition & 0 deletions EWC/classes/ribbondropdownbutton/ClassName.apla
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
'RibbonDropDownButton'
6 changes: 6 additions & 0 deletions EWC/classes/ribbondropdownbutton/Defaults.apla
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
(
'RibbonDropDownButton'
''
''
0 0
)
3 changes: 3 additions & 0 deletions EWC/classes/ribbondropdownbutton/Dynamic.apla
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
0(
''
)
6 changes: 6 additions & 0 deletions EWC/classes/ribbondropdownbutton/PropList.apla
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
(
'Type'
'Caption'
'Icon'
'Event'
)
6 changes: 6 additions & 0 deletions EWC/classes/ribbondropdownbutton/Supported.apla
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
(
'Type'
'Caption'
'Icon'
'Event'
)
1 change: 1 addition & 0 deletions EWC/classes/ribbondropdownbutton/methodlist.apla
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
1 change: 1 addition & 0 deletions EWC/classes/ribbongallery/ClassName.apla
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
'RibbonGallery'
5 changes: 5 additions & 0 deletions EWC/classes/ribbongallery/Defaults.apla
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
(
'RibbonGroupDropDown'
''
2
)
3 changes: 3 additions & 0 deletions EWC/classes/ribbongallery/Dynamic.apla
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
0(
''
)
5 changes: 5 additions & 0 deletions EWC/classes/ribbongallery/PropList.apla
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
(
'Type'
'Caption'
'Cols'
)
5 changes: 5 additions & 0 deletions EWC/classes/ribbongallery/Supported.apla
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
(
'Type'
'Caption'
'Cols'
)
1 change: 1 addition & 0 deletions EWC/classes/ribbongallery/methodlist.apla
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
1 change: 1 addition & 0 deletions EWC/classes/ribbonmenuitem/ClassName.apla
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
'RibbonMenuItem'
6 changes: 6 additions & 0 deletions EWC/classes/ribbonmenuitem/Defaults.apla
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
(
'RibbonMenuItem'
''
''
0 0
)
3 changes: 3 additions & 0 deletions EWC/classes/ribbonmenuitem/Dynamic.apla
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
0(
''
)
6 changes: 6 additions & 0 deletions EWC/classes/ribbonmenuitem/PropList.apla
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
(
'Type'
'Caption'
'Icon'
'Event'
)
6 changes: 6 additions & 0 deletions EWC/classes/ribbonmenuitem/Supported.apla
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
(
'Type'
'Caption'
'Icon'
'Event'
)
1 change: 1 addition & 0 deletions EWC/classes/ribbonmenuitem/methodlist.apla
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
1 change: 0 additions & 1 deletion EWC/fixUpProps.aplo
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
:EndIf
inamesspecial
(ns ixs)names[i]{ }i

:For (n ix) :InEach (ns ixs)
:Select n
:Case 'Event'
Expand Down
7 changes: 3 additions & 4 deletions demo/Demo_Issue242_243.aplf
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
EWC.CONNECTEDconnected
⎕PW1000

sel'Event' 'Select' 'CBUpdateRibbon'
(fcol bcol titlebcol)('FCol'(255 255 255))('BCol'(134 171 220))('TitleBCol'(0 0 0)) For Ribbon
bordercol'BorderCol'(192 192 192) For borders between Ribbon Groups
activebcol'ActiveBCol'(134 171 220) For the active Tab
Expand Down Expand Up @@ -34,7 +33,7 @@

(rb,'.DropDownGrp')eWC'RibbonGroup' 'DropDown' bordercol
(rb,'.DropDownGrp.GrpItem')eWC'RibbonGroupItem' 12
(rb,'.DropDownGrp.GrpItem.DDBtn')eWC'RibbonDropDownButton' 'Genre' 'FcLibrary' 12 sel
(rb,'.DropDownGrp.GrpItem.DDBtn')eWC'RibbonDropDownButton' 'Genre' 'FcLibrary' ('Event' 'Select' 'CB_Issue242_243SelectDropDown')
(rb,'.DropDownGrp.GrpItem.DDBtn.MItem')eWC'RibbonMenuItem' 'Romance'('Event' 'Select' 'CB_Issue242_243SelectRomance')
(rb,'.DropDownGrp.GrpItem.DDBtn.MItem')eWC'RibbonMenuItem' 'Thriller'('Event' 'Select' 'CB_Issue242_243SelectThriller')

Expand All @@ -52,8 +51,8 @@
we have, so far, approached writing eWC code.
(rb,'.GalleryGrp')eWC'RibbonGroup' 'Gallery' ('Size' 2) bordercol
(rb,'.GalleryGrp.GrpItem')eWC'RibbonGroupItem' 12
(rb,'.GalleryGrp.GrpItem.Gallery')eWC'RibbonGallery' 'Other' 'FcLock' 12 sel
(rb,'.GalleryGrp.GrpItem.Gallery.MItem')eWC'RibbonMenuItem' 'Foobar' ('Rows' 2)('Cols' 3)('Event' 'Select' 'CB_Issue242_243GalleryItem')
(rb,'.GalleryGrp.GrpItem.Gallery')eWC'RibbonGallery' 'Other' ('Cols' 2)
(rb,'.GalleryGrp.GrpItem.Gallery.MItem')eWC'RibbonMenuItem' 'Foobar' ('Event' 'Select' 'CB_Issue242_243GalleryItem')

NOTES:
Notably missing, and worth considering that they'll likely be required:
Expand Down
2 changes: 1 addition & 1 deletion demo/Run.aplf
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
web: 'Desktop' (0), 'Browser' (1) or 'Multi' (2)

COORD'Pixel'
EWC##.EWC
EWC#.EWC
EWC.PORT22322
EWC.SHOWDEVTOOLS0

Expand Down

0 comments on commit 9f32d16

Please sign in to comment.