// Path: src/main/java/org/asdfjkl/jerryfx/lib/PolyglotExtEntry.java
// public class PolyglotExtEntry {
//     long key;
//     int move;
//     long count;
//     int whiteWinPerc;
//     int blackWinPerc;
//     int drawPerc;
//     int avgElo;
//     String uci;
// 
//     public long getPosCount() { return count; }
//     public void setPosCount(long count) { this.count = count; }
// 
//     public String getMove() { return uci; }
//     public void setMove(String uci) { this.uci = uci; }
// 
//     public Integer getWins() { return whiteWinPerc; }
//     public void setWins(Integer whiteWinPerc) { this.whiteWinPerc = whiteWinPerc; }
// 
//     public Integer getDraws() { return drawPerc; }
//     public void setDraws(Integer drawPerc) { this.drawPerc = drawPerc; }
// 
//     public Integer getLosses() { return blackWinPerc; }
//     public void setLosses(Integer blackWinPerc) { this.blackWinPerc = blackWinPerc; }
// 
//     public int getAvgELO() { return avgElo; }
//     public void setAvgELO(int avgElo) { this.avgElo = avgElo; }
// 
//     @Override
//     public String toString() {
//         return "" + key + "   " + count + "  " + move + " " + uci + " " + whiteWinPerc + " " + drawPerc + " " + blackWinPerc + " " + avgElo;
//     }
// 
// 
// }


import javafx.geometry.Pos;
import javafx.scene.control.Label;
import javafx.scene.layout.ColumnConstraints;
import javafx.scene.layout.GridPane;
import org.asdfjkl.jerryfx.lib.PolyglotExtEntry;
        lblDraws.setAlignment(Pos.CENTER);
        lblLoss.setAlignment(Pos.CENTER);


        lblWins.setMaxWidth(Double.MAX_VALUE);
        lblDraws.setMaxWidth(Double.MAX_VALUE);
        lblLoss.setMaxWidth(Double.MAX_VALUE);

        addRow(0, lblWins, lblDraws, lblLoss);

        getColumnConstraints().addAll(
                colConsWins,
                colConsDraws,
                colConsloss
        );
    }

    public void setTheme(int theme) {
        if(theme == GameModel.STYLE_LIGHT) {
            lblWins.setStyle("-fx-background-color : lightgreen");
            lblDraws.setStyle("-fx-background-color : rosybrown");
            lblLoss.setStyle("-fx-background-color : indianred");
        } else {
            lblWins.setStyle("-fx-background-color : darkgreen");
            lblDraws.setStyle("-fx-background-color : saddlebrown");
            lblLoss.setStyle("-fx-background-color : darkred");
        }
    }


// Path: src/main/java/org/asdfjkl/jerryfx/lib/PolyglotExtEntry.java
// public class PolyglotExtEntry {
//     long key;
//     int move;
//     long count;
//     int whiteWinPerc;
//     int blackWinPerc;
//     int drawPerc;
//     int avgElo;
//     String uci;
// 
//     public long getPosCount() { return count; }
//     public void setPosCount(long count) { this.count = count; }
// 
//     public String getMove() { return uci; }
//     public void setMove(String uci) { this.uci = uci; }
// 
//     public Integer getWins() { return whiteWinPerc; }
//     public void setWins(Integer whiteWinPerc) { this.whiteWinPerc = whiteWinPerc; }
// 
//     public Integer getDraws() { return drawPerc; }
//     public void setDraws(Integer drawPerc) { this.drawPerc = drawPerc; }
// 
//     public Integer getLosses() { return blackWinPerc; }
//     public void setLosses(Integer blackWinPerc) { this.blackWinPerc = blackWinPerc; }
// 
//     public int getAvgELO() { return avgElo; }
//     public void setAvgELO(int avgElo) { this.avgElo = avgElo; }
// 
//     @Override
//     public String toString() {
//         return "" + key + "   " + count + "  " + move + " " + uci + " " + whiteWinPerc + " " + drawPerc + " " + blackWinPerc + " " + avgElo;
//     }
// 
// 
// }


// Path: src/main/java/org/asdfjkl/jerryfx/gui/BarchartWDL.java
import javafx.geometry.Pos;
import javafx.scene.control.Label;
import javafx.scene.layout.ColumnConstraints;
import javafx.scene.layout.GridPane;
import org.asdfjkl.jerryfx.lib.PolyglotExtEntry;

        lblDraws.setAlignment(Pos.CENTER);
        lblLoss.setAlignment(Pos.CENTER);


        lblWins.setMaxWidth(Double.MAX_VALUE);
        lblDraws.setMaxWidth(Double.MAX_VALUE);
        lblLoss.setMaxWidth(Double.MAX_VALUE);

        addRow(0, lblWins, lblDraws, lblLoss);

        getColumnConstraints().addAll(
                colConsWins,
                colConsDraws,
                colConsloss
        );
    }

    public void setTheme(int theme) {
        if(theme == GameModel.STYLE_LIGHT) {
            lblWins.setStyle("-fx-background-color : lightgreen");
            lblDraws.setStyle("-fx-background-color : rosybrown");
            lblLoss.setStyle("-fx-background-color : indianred");
        } else {
            lblWins.setStyle("-fx-background-color : darkgreen");
            lblDraws.setStyle("-fx-background-color : saddlebrown");
            lblLoss.setStyle("-fx-background-color : darkred");
        }
    }


    public void setWDLRatio(PolyglotExtEntry entry) {