<commit_before>import processing.serial.*;
Serial port;
String val;

UpButton hourUpButton1;
UpButton hourUpButton2;
DownButton hourDownButton1;
DownButton hourDownButton2;

UpButton minuteUpButton1;
UpButton minuteUpButton2;
DownButton minuteDownButton1;
DownButton minuteDownButton2;

UpButton secondUpButton1;
UpButton secondUpButton2;
DownButton secondDownButton1;
DownButton secondDownButton2;

DelayButton delayButton1;
DelayButton delayButton2;
Delay panel1;
Delay panel2;

Pad ppad;
Box cbox;

boolean padPower;
boolean padLED1;
boolean padLED2;
boolean boxLED1;
boolean boxLED2;

boolean connected = false;

String sendval = "11";

boolean t1 = false;
boolean t2 = false;

// Text
final String textHours = "Hours";
final String textMinutes = "Minutes";
final String textSeconds = "Seconds";
final String textTitle = "BIRD Delay";
final String textDelaySet1Title = "Essential Pad";
final String textDelaySet2Title = "Other Pad";

// Delay-set locations
final int delaySet1_x = 30;
final int delaySet2_x = 542;
final int delaySet_y = 150;

// Button sizes
final int arrowButtonSize = 30;
final int delayButtonWidth = 80;
final int delayButtonHeight = 40;

// Text sizes
final int textSizeTimer = 25;
final int textSizeTitle = 40;
final int textSizeDelaySetTitles = 30;

// Button offsets
final int arrowButtonHorizOffset = 150;
final int arrowButtonVertOffset = 80;
final int delayButtonHorizOffset = 180;
final int delayButtonVertOffset = 140;

// Number offsets
final int timeSetHorizOffset = arrowButtonHorizOffset;
final int timeSetVertOffset = 65;
final int timeShowHorizStartOffset = 160;
final int timeShowHorizOffset = 50;
final int timeShowVertOffset = 230;

// Text offsets
final int timeShowTextHorizStartOffset = 40;
final int timeShowTextHorizOffset = timeSetHorizOffset;
final int titleHorizOffset = 450;
final int titleVertOffset = 65;
final int delaySet1TitleHorizOffset = 155;
final int delaySet2TitleHorizOffset = 680;
final int delaySetTitleVertOffset = 120;

// Colors
color colorGrey = color(128, 128, 128);
color colorWhite = color(255, 255, 255);
color colorBackground = colorGrey;
color colorText = colorWhite;
<commit_msg>Change constants in BIRD_Delay to static<commit_after>import processing.serial.*;
Serial port;
String val;

UpButton hourUpButton1;
UpButton hourUpButton2;
DownButton hourDownButton1;
DownButton hourDownButton2;

UpButton minuteUpButton1;
UpButton minuteUpButton2;
DownButton minuteDownButton1;
DownButton minuteDownButton2;

UpButton secondUpButton1;
UpButton secondUpButton2;
DownButton secondDownButton1;
DownButton secondDownButton2;

DelayButton delayButton1;
DelayButton delayButton2;
Delay panel1;
Delay panel2;

Pad ppad;
Box cbox;

boolean padPower;
boolean padLED1;
boolean padLED2;
boolean boxLED1;
boolean boxLED2;

boolean connected = false;

String sendval = "11";

boolean t1 = false;
boolean t2 = false;

// Text
static final String textHours = "Hours";
static final String textMinutes = "Minutes";
static final String textSeconds = "Seconds";
static final String textTitle = "BIRD Delay";
static final String textDelaySet1Title = "Essential Pad";
static final String textDelaySet2Title = "Other Pad";

// Delay-set locations
static final int delaySet1_x = 30;
static final int delaySet2_x = 542;
static final int delaySet_y = 150;

// Button sizes
static final int arrowButtonSize = 30;
static final int delayButtonWidth = 80;
static final int delayButtonHeight = 40;

// Text sizes
static final int textSizeTimer = 25;
static final int textSizeTitle = 40;
static final int textSizeDelaySetTitles = 30;

// Button offsets
static final int arrowButtonHorizOffset = 150;
static final int arrowButtonVertOffset = 80;
static final int delayButtonHorizOffset = 180;
static final int delayButtonVertOffset = 140;

// Number offsets
static final int timeSetHorizOffset = arrowButtonHorizOffset;
static final int timeSetVertOffset = 65;
static final int timeShowHorizStartOffset = 160;
static final int timeShowHorizOffset = 50;
static final int timeShowVertOffset = 230;

// Text offsets
static final int timeShowTextHorizStartOffset = 40;
static final int timeShowTextHorizOffset = timeSetHorizOffset;
static final int titleHorizOffset = 450;
static final int titleVertOffset = 65;
static final int delaySet1TitleHorizOffset = 155;
static final int delaySet2TitleHorizOffset = 680;
static final int delaySetTitleVertOffset = 120;

// Colors
color colorGrey = color(128, 128, 128);
color colorWhite = color(255, 255, 255);
color colorBackground = colorGrey;
color colorText = colorWhite;

{'fraction_non_alphanumeric': 0.06546572934973638, 'fraction_numerical': 0.046133567662565905, 'mean_word_length': 6.05891472868217, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2254304', 'n_tokens_mistral': 1497, 'n_tokens_neox': 1337, 'n_words': 478}