Skip to content

Commit

Permalink
ThemeColors -> ThemeColours
Browse files Browse the repository at this point in the history
  • Loading branch information
medengineer committed Jun 24, 2024
1 parent ceece0d commit 1f0ee59
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Source/NIDAQEditor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ void EditorBackground::paint (Graphics& g)
int colIndex = i / aiChannelsPerColumn;
int rowIndex = i % aiChannelsPerColumn;

g.setColour (findColour (ThemeColors::outline));
g.setColour (findColour (ThemeColours::outline));
g.drawRoundedRectangle (
aiChanOffsetX + paddingX * colIndex * aiChanWidth,
aiChanOffsetY + paddingY * rowIndex * aiChanHeight,
Expand All @@ -56,7 +56,7 @@ void EditorBackground::paint (Graphics& g)
4,
1);

g.setColour (findColour (ThemeColors::outline));
g.setColour (findColour (ThemeColours::outline));

g.drawRoundedRectangle (
aiChanOffsetX + paddingX * colIndex * aiChanWidth,
Expand Down Expand Up @@ -101,7 +101,7 @@ void EditorBackground::paint (Graphics& g)
int colIndex = i / diChannelsPerColumn;
int rowIndex = i % diChannelsPerColumn;

g.setColour (findColour (ThemeColors::outline));
g.setColour (findColour (ThemeColours::outline));
g.drawRoundedRectangle (
diChanOffsetX + paddingX * colIndex * diChanWidth,
diChanOffsetY + paddingY * rowIndex * diChanHeight,
Expand All @@ -110,7 +110,7 @@ void EditorBackground::paint (Graphics& g)
4,
1);

g.setColour (findColour (ThemeColors::outline));
g.setColour (findColour (ThemeColours::outline));
g.drawRoundedRectangle (
diChanOffsetX + paddingX * colIndex * diChanWidth,
diChanOffsetY + paddingY * rowIndex * diChanHeight,
Expand All @@ -133,7 +133,7 @@ void EditorBackground::paint (Graphics& g)

//FIFO monitor label
float settingsOffsetX = diChanOffsetX + ((nDI % maxChannelsPerColumn == 0 ? 0 : 1) + nDI / diChannelsPerColumn) * paddingX * diChanWidth + 5;
g.setColour (findColour (ThemeColors::defaultText));
g.setColour (findColour (ThemeColours::defaultText));
g.setFont (10);

g.drawText (String ("DEVICE"), settingsOffsetX, 13, 100, 10, Justification::centredLeft);
Expand Down

0 comments on commit 1f0ee59

Please sign in to comment.