Skip to content

Commit e8ae764

Browse files
committed
Fixed Image widget width and height now words.
1 parent f8b5769 commit e8ae764

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

.vscode/tasks.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@
7878
},
7979
"windows": {
8080
"command": "loadp2.exe",
81-
"args": ["-b230400", "${config:topLevel}.binary", "-t", "-pCOM9"]
81+
"args": ["-b230400", "${config:topLevel}.binary", "-t", "-pCOM3"]
8282
},
8383
"linux": {
8484
"command": "/opt/flexprop/bin/loadp2",

Image.spin2

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ CON
1111
VAR
1212
'Attributes
1313
long id 'Unique ID - (window index << 4)|(button index)
14-
long bg_color 'background color
15-
long fg_color 'foreground color
16-
long ol_color 'outline = border
14+
word bg_color 'background color
15+
word fg_color 'foreground color
16+
word ol_color 'outline = border
1717
word xtop 'Top Left X (Pixel)
1818
word ytop 'Top Left Y (Pixel)
1919
word xbot 'Bottom Right X (Pixel)
@@ -31,8 +31,8 @@ VAR
3131

3232
'Image
3333
long image_pointer 'Address of image in hub memory
34-
byte image_width
35-
byte image_height
34+
word image_width
35+
word image_height
3636
byte events_enabled
3737

3838

0 commit comments

Comments
 (0)