mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 18:07:34 +00:00
LibGfx: Rename Color::from_rgba() => Color::from_argb()
This matches the rename of RGBA32 to ARGB32. It also makes more sense when you see it used with 32-bit hexadecimal literals: Before: Color::from_rgba(0xaarrggbb) After: Color::from_argb(0xaarrggbb)
This commit is contained in:
parent
5ace66a903
commit
a6a8ba80fc
11 changed files with 38 additions and 38 deletions
|
@ -114,10 +114,10 @@ private:
|
|||
BoardMarking m_current_marking;
|
||||
Vector<BoardMarking> m_board_markings;
|
||||
BoardTheme m_board_theme { "Beige", Color::from_rgb(0xb58863), Color::from_rgb(0xf0d9b5) };
|
||||
Color m_move_highlight_color { Color::from_rgba(0x66ccee00) };
|
||||
Color m_marking_primary_color { Color::from_rgba(0x66ff0000) };
|
||||
Color m_marking_alternate_color { Color::from_rgba(0x66ffaa00) };
|
||||
Color m_marking_secondary_color { Color::from_rgba(0x6655dd55) };
|
||||
Color m_move_highlight_color { Color::from_argb(0x66ccee00) };
|
||||
Color m_marking_primary_color { Color::from_argb(0x66ff0000) };
|
||||
Color m_marking_alternate_color { Color::from_argb(0x66ffaa00) };
|
||||
Color m_marking_secondary_color { Color::from_argb(0x6655dd55) };
|
||||
Chess::Color m_side { Chess::Color::White };
|
||||
HashMap<Chess::Piece, RefPtr<Gfx::Bitmap>> m_pieces;
|
||||
String m_piece_set;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue