mirror of
https://github.com/SquidDev-CC/CC-Tweaked
synced 2025-10-26 11:27:38 +00:00
Add getColour/setColour to the window api
This commit is contained in:
@@ -25,7 +25,7 @@ public class Terminal
|
||||
private TextBuffer m_textColour[];
|
||||
private TextBuffer m_backgroundColour[];
|
||||
|
||||
private Palette m_palette;
|
||||
private final Palette m_palette;
|
||||
|
||||
private boolean m_changed;
|
||||
|
||||
|
||||
@@ -82,8 +82,7 @@ public class Palette
|
||||
{
|
||||
if(i >= 0 && i < colours.length )
|
||||
{
|
||||
Colour c = Colour.values()[ i ];
|
||||
colours[i] = new PaletteColour( c.getR(), c.getG(), c.getB() );
|
||||
setColour( i, Colour.values()[ i ] );
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user