|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectuk.co.silentsoftware.config.SpectrumDefaults
public class SpectrumDefaults
ZX Spectrum constants
| Field Summary | |
|---|---|
static int |
ATTRIBUTE_BLOCK_SIZE
The size of Spectrum the colour "blocks" (8x8 pixels default) |
static int |
COLUMNS
The number of character colour columns |
static java.util.Map<java.lang.Integer,java.lang.Integer[]> |
GIGASCREEN_ARGB
|
static int[] |
GIGASCREEN_COLOURS_ALL
The Gigascreen persistance of vision colours generated by flashing two screens |
static int[] |
GIGASCREEN_COLOURS_BRIGHT
The bright Gigascreen persistance of vision colours (both screens bright) |
static int[] |
GIGASCREEN_COLOURS_HALF_BRIGHT
The half bright Gigascreen persistance of vision colours (either colour half bright) |
static int |
ROWS
The number of character colour rows |
static int |
SCREEN_HEIGHT
The spectrum screen height in pixels |
static int |
SCREEN_HEIGHT_THIRD
1/3 of the spectrum screen height in pixels |
static int |
SCREEN_WIDTH
The spectrum screen width in pixels |
static java.util.Map<java.lang.Integer,java.lang.Integer> |
SPECTRUM_ARGB
Mappings from RGB -> ZX Spectrum palette (technically this is a slightly intermediate step as the mappings are not all 1 to 1 with the Spectrum palette, but mappings to a bit set used by the SCR converter). |
static java.util.Map<java.lang.Integer,java.awt.Color> |
SPECTRUM_COLORS
Mappings from RGB -> Color (for caching common colours) |
static int[] |
SPECTRUM_COLOURS_ALL
All Spectrum colours |
static int[] |
SPECTRUM_COLOURS_BRIGHT
Spectrum's half bright set |
static int[] |
SPECTRUM_COLOURS_HALF_BRIGHT
Spectrum's primary colours |
static int[] |
SPECTRUM_COLOURS_REDUCED_HALF_BRIGHT
Spectrum's primary colours minus magenta and teal. |
| Constructor Summary | |
|---|---|
SpectrumDefaults()
|
|
| Method Summary |
|---|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int ATTRIBUTE_BLOCK_SIZE
public static final int SCREEN_WIDTH
public static final int SCREEN_HEIGHT
public static final int SCREEN_HEIGHT_THIRD
public static final int ROWS
public static final int COLUMNS
public static final int[] SPECTRUM_COLOURS_HALF_BRIGHT
public static final int[] SPECTRUM_COLOURS_REDUCED_HALF_BRIGHT
public static final int[] SPECTRUM_COLOURS_BRIGHT
public static final int[] SPECTRUM_COLOURS_ALL
public static final int[] GIGASCREEN_COLOURS_HALF_BRIGHT
public static final int[] GIGASCREEN_COLOURS_BRIGHT
public static final int[] GIGASCREEN_COLOURS_ALL
public static final java.util.Map<java.lang.Integer,java.lang.Integer[]> GIGASCREEN_ARGB
public static final java.util.Map<java.lang.Integer,java.lang.Integer> SPECTRUM_ARGB
public static final java.util.Map<java.lang.Integer,java.awt.Color> SPECTRUM_COLORS
| Constructor Detail |
|---|
public SpectrumDefaults()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||