public class SpectrumDefaults
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static int |
ATTRIBUTE_BLOCK_SIZE
The size of Spectrum the colour "blocks" (8x8 pixels default)
|
static int |
BLACK
Spectrum black (both bright/half bright set)
|
static int |
COLUMNS
The number of character colour columns
|
static GigaScreenAtrribute[] |
GIGASCREEN_BRIGHT_COMBOS
The GigaScreen combinations of 4 base Spectrum colours generated by
calculating full bright screen 1 colours x full bright screen 2 colours
|
static int[] |
GIGASCREEN_COLOURS_ALL
The GigaScreen persistence of vision colours generated by flashing two screens.
|
static GigaScreenAtrribute[] |
GIGASCREEN_HALF_BRIGHT_COMBOS
The GigaScreen combinations of 4 base Spectrum colours generated by
calculating half bright screen 1 colours x half bright screen 2 colours
|
static GigaScreenAtrribute[] |
GIGASCREEN_MIXED_COMBOS
The GigaScreen combinations of 4 base Spectrum colours generated by
calculating half bright screen 1 colours x full bright screen 2 colours
|
static int |
HALF_WHITE
Spectrum white (half bright set)
|
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 (caching common colours for use in UI only)
|
static int[] |
SPECTRUM_COLOURS_ALL
All Spectrum colours
|
static int[] |
SPECTRUM_COLOURS_BRIGHT
Spectrum's full bright colour set
|
static int[] |
SPECTRUM_COLOURS_HALF_BRIGHT
Spectrum's half bright colour set
|
static int[] |
SPECTRUM_COLOURS_REDUCED_HALF_BRIGHT
Spectrum's primary colours minus magenta and teal.
|
static int |
WHITE
Spectrum white (full bright set)
|
| Constructor and Description |
|---|
SpectrumDefaults() |
| Modifier and Type | Method and Description |
|---|---|
static GigaScreenAtrribute[] |
generateGigascreenCombos(int[] palette1,
int[] palette2)
Utility method to generate gigascreen 4 colour combinations from two palettes (bright and half bright)
|
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 BLACK
public static final int WHITE
public static final int HALF_WHITE
public static final int[] SPECTRUM_COLOURS_BRIGHT
public static final int[] SPECTRUM_COLOURS_HALF_BRIGHT
public static final int[] SPECTRUM_COLOURS_REDUCED_HALF_BRIGHT
public static final int[] SPECTRUM_COLOURS_ALL
public static final int[] GIGASCREEN_COLOURS_ALL
public static final GigaScreenAtrribute[] GIGASCREEN_HALF_BRIGHT_COMBOS
public static final GigaScreenAtrribute[] GIGASCREEN_MIXED_COMBOS
public static final GigaScreenAtrribute[] GIGASCREEN_BRIGHT_COMBOS
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
public static GigaScreenAtrribute[] generateGigascreenCombos(int[] palette1, int[] palette2)
palette1 - palette2 -