Skip to content

Commit

Permalink
Color-tft gold update for GPIO change (#2013)
Browse files Browse the repository at this point in the history
Co-authored-by: Kasper Lund <[email protected]>
  • Loading branch information
Erik Corry and kasperl authored Dec 18, 2023
1 parent 69360cf commit c0482e2
Show file tree
Hide file tree
Showing 8 changed files with 57 additions and 24 deletions.
6 changes: 0 additions & 6 deletions external/gold/toit-color-tft__examples__get_display.toit.gold

This file was deleted.

6 changes: 0 additions & 6 deletions external/gold/toit-color-tft__examples__tft_demo.toit.gold

This file was deleted.

6 changes: 0 additions & 6 deletions external/gold/toit-color-tft__examples__watch_demo.toit.gold

This file was deleted.

6 changes: 0 additions & 6 deletions external/gold/toit-color-tft__src__color_tft.toit.gold

This file was deleted.

15 changes: 15 additions & 0 deletions external/gold/toit-pixel-display__tests__gray-scale.toit.gold
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 external/gold/toit-pixel-display__tests__several-color.toit.gold
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"
^~~~
12 changes: 12 additions & 0 deletions external/gold/toit-pixel-display__tests__simple.toit.gold
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 external/gold/toit-pixel-display__tests__true-color.toit.gold
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"
^~~~

0 comments on commit c0482e2

Please sign in to comment.