-
Notifications
You must be signed in to change notification settings - Fork 81
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Color-tft gold update for GPIO change (#2013)
Co-authored-by: Kasper Lund <[email protected]>
- Loading branch information
Showing
8 changed files
with
57 additions
and
24 deletions.
There are no files selected for viewing
6 changes: 0 additions & 6 deletions
6
external/gold/toit-color-tft__examples__get_display.toit.gold
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
15 changes: 15 additions & 0 deletions
15
external/gold/toit-pixel-display__tests__gray-scale.toit.gold
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
toit-pixel-display/tests/gray-scale.toit:32:18: error: Class 'PixelDisplay' does not have any method 'context' | ||
ctx := display.context --landscape --color=250 --font=sans10 | ||
^~~~~~~ | ||
toit-pixel-display/tests/gray-scale.toit:34:11: error: Class 'PixelDisplay' does not have any method 'filled-rectangle' | ||
display.filled-rectangle ctx 10 20 30 40 | ||
^~~~~~~~~~~~~~~~ | ||
toit-pixel-display/tests/gray-scale.toit:35:11: error: Class 'PixelDisplay' does not have any method 'text' | ||
display.text ctx 50 20 "Testing" | ||
^~~~ | ||
toit-pixel-display/tests/gray-scale.toit:36:11: error: Class 'PixelDisplay' does not have any method 'text' | ||
display.text ctx 50 40 "the display" | ||
^~~~ | ||
toit-pixel-display/tests/gray-scale.toit:38:11: error: Class 'PixelDisplay' does not have any method 'text' | ||
display.text ctx 50 60 "for the win" | ||
^~~~ |
15 changes: 15 additions & 0 deletions
15
external/gold/toit-pixel-display__tests__several-color.toit.gold
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
toit-pixel-display/tests/several-color.toit:32:18: error: Class 'PixelDisplay' does not have any method 'context' | ||
ctx := display.context --landscape --color=250 --font=sans10 | ||
^~~~~~~ | ||
toit-pixel-display/tests/several-color.toit:34:11: error: Class 'PixelDisplay' does not have any method 'filled-rectangle' | ||
display.filled-rectangle ctx 10 20 30 40 | ||
^~~~~~~~~~~~~~~~ | ||
toit-pixel-display/tests/several-color.toit:35:11: error: Class 'PixelDisplay' does not have any method 'text' | ||
display.text ctx 50 20 "Testing" | ||
^~~~ | ||
toit-pixel-display/tests/several-color.toit:36:11: error: Class 'PixelDisplay' does not have any method 'text' | ||
display.text ctx 50 40 "the display" | ||
^~~~ | ||
toit-pixel-display/tests/several-color.toit:38:11: error: Class 'PixelDisplay' does not have any method 'text' | ||
display.text ctx 50 60 "for the win" | ||
^~~~ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
toit-pixel-display/tests/simple.toit:97:24: error: Unresolved identifier: 'SimpleWindow' | ||
window := true-color.SimpleWindow 42 23 22 20 context.transform | ||
^~~~~~~~~~~~ | ||
toit-pixel-display/tests/simple.toit:114:32: error: Unresolved identifier: 'FilledRectangle' | ||
rect-in-window := true-color.FilledRectangle | ||
^~~~~~~~~~~~~~~ | ||
toit-pixel-display/tests/simple.toit:79:22: error: Class 'PixelDisplay' does not have any method 'context' | ||
context := display.context | ||
^~~~~~~ | ||
toit-pixel-display/tests/simple.toit:85:11: error: Class 'PixelDisplay' does not have any method 'filled-rectangle' | ||
display.filled-rectangle context 42 23 12 10 | ||
^~~~~~~~~~~~~~~~ |
15 changes: 15 additions & 0 deletions
15
external/gold/toit-pixel-display__tests__true-color.toit.gold
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
toit-pixel-display/tests/true-color.toit:40:18: error: Class 'PixelDisplay' does not have any method 'context' | ||
ctx := display.context --landscape --color=(get-rgb 255 120 0) --font=sans10 | ||
^~~~~~~ | ||
toit-pixel-display/tests/true-color.toit:42:11: error: Class 'PixelDisplay' does not have any method 'filled-rectangle' | ||
display.filled-rectangle ctx 10 20 30 40 | ||
^~~~~~~~~~~~~~~~ | ||
toit-pixel-display/tests/true-color.toit:43:11: error: Class 'PixelDisplay' does not have any method 'text' | ||
display.text ctx 50 20 "Testing" | ||
^~~~ | ||
toit-pixel-display/tests/true-color.toit:44:11: error: Class 'PixelDisplay' does not have any method 'text' | ||
display.text ctx 50 40 "the display" | ||
^~~~ | ||
toit-pixel-display/tests/true-color.toit:46:11: error: Class 'PixelDisplay' does not have any method 'text' | ||
display.text ctx 50 60 "for the win" | ||
^~~~ |