@@ -49,17 +49,14 @@ GraphViewport::GraphViewport (GraphViewer* gv)
49
49
currentVersionText = " GUI version " + app->getApplicationVersion ();
50
50
51
51
bw_logo = ImageCache::getFromMemory (BinaryData::bw_logo72_png, BinaryData::bw_logo72_pngSize);
52
- colour_logo = ImageCache::getFromMemory (BinaryData::color_logo72_png, BinaryData::color_logo72_pngSize);
53
-
54
- current_logo = &bw_logo;
55
52
}
56
53
57
54
void GraphViewport::paint (Graphics& g)
58
55
{
59
56
g.fillAll (findColour (ThemeColours::componentParentBackground));
60
57
g.setOpacity (0 .6f );
61
58
62
- g.drawImageAt (*current_logo , getWidth () - 175 , getHeight () - 115 );
59
+ g.drawImageAt (bw_logo , getWidth () - 175 , getHeight () - 115 );
63
60
64
61
g.setOpacity (1 .0f );
65
62
g.setColour (findColour (ThemeColours::componentBackground).brighter (0 .3f ));
@@ -73,14 +70,6 @@ void GraphViewport::resized()
73
70
viewport->setBounds (0 , 0 , getWidth (), getHeight ());
74
71
}
75
72
76
- void GraphViewport::lookAndFeelChanged ()
77
- {
78
- // if (findColour(ThemeColours::highlightedFill) == Colour(138, 193, 232)) // light mode
79
- // current_logo = &colour_logo;
80
- // else
81
- // current_logo = &bw_logo;
82
- }
83
-
84
73
GraphViewer::GraphViewer ()
85
74
{
86
75
setBufferedToImage (true );
@@ -1198,7 +1187,6 @@ String GraphNode::getInfoString()
1198
1187
void GraphNode::paint (Graphics& g)
1199
1188
{
1200
1189
g.fillAll (findColour (ThemeColours::componentParentBackground));
1201
- // g.setFont(Font("Inter", "Medium", 14));
1202
1190
1203
1191
g.setFont (FontOptions (" Fira Code" , " Regular" , 13 .0f ));
1204
1192
@@ -1222,9 +1210,9 @@ void GraphNode::paint (Graphics& g)
1222
1210
if (processorInfoVisible)
1223
1211
g.fillRect (0 , 19 , getWidth (), 1 );
1224
1212
1225
- g.setColour (findColour (ThemeColours::defaultText)); // : editor->getBackgroundColour());
1213
+ g.setColour (findColour (ThemeColours::defaultText));
1226
1214
g.drawText (String (nodeId), 1 , 1 , 23 , 20 , Justification::centred, true );
1227
- g.setColour (Colours::white); // : editor->getBackgroundColour());
1215
+ g.setColour (Colours::white);
1228
1216
g.setFont (FontOptions (" CP Mono" , " Plain" , 15 .0f ));
1229
1217
g.drawText (getName ().toUpperCase (), 30 , 1 , getWidth () - 30 , 20 , Justification::left, true );
1230
1218
}
0 commit comments