Skip to content

Commit 7734a5b

Browse files
committed
Remove unused PlotFontInfo class
1 parent 839d92b commit 7734a5b

4 files changed

Lines changed: 1 addition & 18 deletions

File tree

OpenBCI_GUI/ControlPanel.pde

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,6 @@ class ControlPanel {
3535
public int x, y, w, h;
3636
public boolean isOpen;
3737

38-
PlotFontInfo fontInfo;
39-
4038
//various control panel elements that are unique to specific datasources
4139
DataSourceBox dataSourceBox;
4240
SerialBox serialBox;
@@ -78,7 +76,6 @@ class ControlPanel {
7876
h = height - int(helpWidget.h);
7977

8078
isOpen = false;
81-
fontInfo = new PlotFontInfo();
8279

8380
globalPadding = 10; //controls the padding of all elements on the control panel
8481

OpenBCI_GUI/Extras.pde

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -576,14 +576,6 @@ class FilterConstants {
576576
}
577577
};
578578

579-
class PlotFontInfo {
580-
String fontName = "fonts/Raleway-Regular.otf";
581-
int axisLabel_size = 16;
582-
int tickLabel_size = 14;
583-
int buttonLabel_size = 12;
584-
};
585-
586-
587579
class TextBox {
588580
private int x, y;
589581
private int w, h;

OpenBCI_GUI/InterfaceSerial.pde

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
// Global Variables & Instances
2626
//------------------------------------------------------------------------
2727

28+
StringBuilder board_message;
2829
int _myCounter;
2930
int newPacketCounter = 0;
3031
boolean no_start_connection = false;

OpenBCI_GUI/OpenBCI_GUI.pde

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -171,12 +171,6 @@ boolean recentPlaybackFilesHaveUpdated = false;
171171
// Serial output
172172
processing.serial.Serial serial_output;
173173

174-
//Control Panel for (re)configuring system settings
175-
PlotFontInfo fontInfo;
176-
177-
//program variables
178-
StringBuilder board_message;
179-
180174
//set window size
181175
int win_w; //window width
182176
int win_h; //window height
@@ -456,7 +450,6 @@ void delayedSetup() {
456450

457451
setupContainers();
458452

459-
fontInfo = new PlotFontInfo();
460453
helpWidget = new HelpWidget(0, win_h - 30, win_w, 30);
461454
//Instantiate buttonHelpText before any buttons have been made
462455
buttonHelpText = new ButtonHelpText();

0 commit comments

Comments
 (0)