<commit_before>//@author A0116538A

package bakatxt.gui;

import java.awt.Color;
import java.awt.Font;
import java.awt.Graphics;
import java.awt.Graphics2D;
import java.awt.RenderingHints;
import java.awt.geom.RoundRectangle2D;

//TODO comments

class UIHelper {

    protected static final double WINDOW_RATIO = 1.25; // Y:X
    protected static final int WINDOW_SCALE = 650;
    protected static final int WINDOW_X = WINDOW_SCALE;
    protected static final int WINDOW_Y = (int)(WINDOW_RATIO * WINDOW_SCALE);
    protected static final int WINDOW_ROUNDNESS = 20;
    protected static final int WINDOW_BORDER = 4; // leave as half of actual border

    /* to be implemented?
    protected static final List<String> SUGGESTIONS_MAIN = new ArrayList<>(asList(
            "add", "display", "delete", "exit"));
    protected static final List<String> SUGGESTIONS_ADD = new ArrayList<>(asList(
            "today", "tomorrow"));
    protected static final List<String> SUGGESTIONS_DISPLAY = new ArrayList<>(asList(
            "day", "week", "month"));
    protected static final List<List<String>> SUGGESTIONS = asList(
            SUGGESTIONS_MAIN, SUGGESTIONS_ADD, SUGGESTIONS_DISPLAY);
    */

    protected static final Color TRANSPARENT = new Color(0, 0, 0, 0);
    protected static final Color GRAY_MEDIUM = new Color(66, 66, 66);
    protected static final Color GRAY_LIGHT = new Color(100, 100, 100);
    protected static final Color GRAY_DARK = new Color(48, 48, 48);
    protected static final Color GRAY_BLACK = new Color(36, 36, 36);

    protected static final Color PRESET_COLOR_DATE = new Color(253, 184, 19);
    protected static final Color PRESET_COLOR_ALERT = new Color(250, 250, 250);
    protected static final Color PRESET_COLOR_LOCATION = new Color(227, 122, 37);
    protected static final Color PRESET_COLOR_TITLE = new Color(239, 62, 47);
    protected static final Color PRESET_COLOR_DEFAULT = new Color(228, 224, 227);

    protected static final int PRESET_TYPE_DATE = Font.PLAIN;
    protected static final int PRESET_TYPE_TIME = Font.PLAIN;<commit_msg>Renamed WINDOW_BORDER to BORDER since it is used in areas unrelated to the window itself<commit_after>//@author A0116538A

package bakatxt.gui;

import java.awt.Color;
import java.awt.Font;
import java.awt.Graphics;
import java.awt.Graphics2D;
import java.awt.RenderingHints;
import java.awt.geom.RoundRectangle2D;

//TODO comments

class UIHelper {

    protected static final double WINDOW_RATIO = 1.25; // Y:X
    protected static final int WINDOW_SCALE = 650;
    protected static final int WINDOW_X = WINDOW_SCALE;
    protected static final int WINDOW_Y = (int)(WINDOW_RATIO * WINDOW_SCALE);
    protected static final int WINDOW_ROUNDNESS = 20;
    protected static final int BORDER = 4; // leave as half of actual border

    /* to be implemented?
    protected static final List<String> SUGGESTIONS_MAIN = new ArrayList<>(asList(
            "add", "display", "delete", "exit"));
    protected static final List<String> SUGGESTIONS_ADD = new ArrayList<>(asList(
            "today", "tomorrow"));
    protected static final List<String> SUGGESTIONS_DISPLAY = new ArrayList<>(asList(
            "day", "week", "month"));
    protected static final List<List<String>> SUGGESTIONS = asList(
            SUGGESTIONS_MAIN, SUGGESTIONS_ADD, SUGGESTIONS_DISPLAY);
    */

    protected static final Color TRANSPARENT = new Color(0, 0, 0, 0);
    protected static final Color GRAY_MEDIUM = new Color(66, 66, 66);
    protected static final Color GRAY_LIGHT = new Color(100, 100, 100);
    protected static final Color GRAY_DARK = new Color(48, 48, 48);
    protected static final Color GRAY_BLACK = new Color(36, 36, 36);

    protected static final Color PRESET_COLOR_DATE = new Color(253, 184, 19);
    protected static final Color PRESET_COLOR_ALERT = new Color(250, 250, 250);
    protected static final Color PRESET_COLOR_LOCATION = new Color(227, 122, 37);
    protected static final Color PRESET_COLOR_TITLE = new Color(239, 62, 47);
    protected static final Color PRESET_COLOR_DEFAULT = new Color(228, 224, 227);

    protected static final int PRESET_TYPE_DATE = Font.PLAIN;
    protected static final int PRESET_TYPE_TIME = Font.PLAIN;
{'fraction_non_alphanumeric': 0.08936170212765958, 'fraction_numerical': 0.0425531914893617, 'mean_word_length': 3.9952774498229044, 'pattern_counts': {'":': 0, '<': 19, '<?xml version=': 0, '>': 19, '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': '2987690', 'n_tokens_mistral': 1472, 'n_tokens_neox': 1284, 'n_words': 431}