mirror of
https://github.com/lalbornoz/roar.git
synced 2024-11-04 23:06:39 +00:00
86e2c9e904
1) Correctly unmask cursor and dispatch delta patches on successful {re,un}do. 2) Don't prompt to save twice on exit via Exit {accelerator,menu item}. 3) Fix cursor artifacts by always resetting origin point on DC whilst unmasking cursor cells. 4) Fix {re,un}do {accelerator,{menu,toolbar} item} desynchronisation with actual canvas journal undo level. 5) Remove scattered remnants of initial implementation of unimplemented italic support. 6) Replace rendering transparent cursor w/ manual blending over wx.GraphicsContext() due to canvas bitmap masking & performance degradation. assets/text/TODO: updated.
30 lines
881 B
Python
30 lines
881 B
Python
#!/usr/bin/env python3
|
|
#
|
|
# GuiCanvasColours.py
|
|
# Copyright (c) 2018, 2019 Lucio Andrés Illanes Albornoz <lucio@lucioillanes.de>
|
|
#
|
|
|
|
#
|
|
# Colours: mIRC colour number to RGBA map given none of ^[BV_] (bold, reverse, underline)
|
|
#
|
|
Colours = [
|
|
[255, 255, 255, 255, "White"],
|
|
[0, 0, 0, 255, "Black"],
|
|
[0, 0, 187, 255, "Blue"],
|
|
[0, 187, 0, 255, "Green"],
|
|
[255, 85, 85, 255, "Light Red"],
|
|
[187, 0, 0, 255, "Red"],
|
|
[187, 0, 187, 255, "Purple"],
|
|
[187, 187, 0, 255, "Yellow"],
|
|
[255, 255, 85, 255, "Light Yellow"],
|
|
[85, 255, 85, 255, "Light Green"],
|
|
[0, 187, 187, 255, "Cyan"],
|
|
[85, 255, 255, 255, "Light Cyan"],
|
|
[85, 85, 255, 255, "Light Blue"],
|
|
[255, 85, 255, 255, "Pink"],
|
|
[85, 85, 85, 255, "Grey"],
|
|
[187, 187, 187, 255, "Light Grey"],
|
|
];
|
|
|
|
# vim:expandtab foldmethod=marker sw=4 ts=4 tw=120
|