rx-editor 0.3.0

a modern, extensible pixel editor
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use rgx::kit::Rgba8;

pub const WHITE: Rgba8 = Rgba8::new(0xff, 0xff, 0xff, 0xff);
pub const BLACK: Rgba8 = Rgba8::new(0x00, 0x00, 0x00, 0xff);
pub const GREY: Rgba8 = Rgba8::new(0x88, 0x88, 0x88, 0xff);
pub const DARK_GREY: Rgba8 = Rgba8::new(0x55, 0x55, 0x55, 0xff);
pub const LIGHT_GREY: Rgba8 = Rgba8::new(0xaa, 0xaa, 0xaa, 0xff);
pub const RED: Rgba8 = Rgba8::new(0xff, 0x33, 0x66, 0xff);
pub const YELLOW: Rgba8 = Rgba8::new(0xff, 0xff, 0x66, 0xff);
pub const LIGHT_GREEN: Rgba8 = Rgba8::new(0xbb, 0xff, 0xee, 0xff);
pub const GREEN: Rgba8 = Rgba8::new(0x38, 0xb7, 0x55, 0xff);
pub const BLUE: Rgba8 = Rgba8::new(0x29, 0x36, 0x6f, 0xff);