1
0
mirror of https://github.com/lxsang/Diya-API.git synced 2025-03-12 18:42:48 +01:00

update example

This commit is contained in:
Dany LE 2022-08-07 11:35:34 +02:00
parent 396fd9909d
commit 4467f61f32

View File

@ -70,9 +70,10 @@ DiyaExampleApp >> setup [
node textureNamed: 'mrsang.png'. node textureNamed: 'mrsang.png'.
node borderWidth: 3.0. node borderWidth: 3.0.
"icon := root addNode: (DiyaFontIcon data: #(16rF101 16rF155 16rF185 16rF21B 16rF298 16rF254)) at: 10@24. icon := root addNode: (DiyaFontIcon data: #(16rF101 16rF155 16rF185 16rF21B 16rF298 16rF254)) at: 240@500.
icon fontSize: 24. icon fontSize: 24.
icon color: (Color r: 209/255 g: 66/255 b:245/255 )." icon bgColor: Color transparent.
icon color: (Color r: 209/255 g: 66/255 b:245/255 ).
button := root addNode: (DiyaButton text: 'Click me !') at: 240@460. button := root addNode: (DiyaButton text: 'Click me !') at: 240@460.
button extent: 200@40. button extent: 200@40.