Annotation of nono/wx/wxcolor.h, revision 1.1.1.2

1.1       root        1: //
                      2: // nono
1.1.1.2 ! root        3: // Copyright (C) 2020 nono project
        !             4: // Licensed under nono-license.txt
1.1       root        5: //
                      6: 
                      7: #pragma once
                      8: 
                      9: // https://jfly.uni-koeln.de/colorset/
                     10: 
                     11: // 結局 define が最強…
                     12: // コンストラクトしたところでたぶんたいしたコストじゃないと思うので
                     13: // 必要なところでつどつどどっかから RGB 引いてきて、てんでバラバラに
                     14: // 書くよりはマシというくらいにしておく。
                     15: 
                     16: // アクセントカラー (文字など)
                     17: #define UD_RED                         wxColour(255,  75,   0) // 赤
                     18: #define UD_YELLOW                      wxColour(255, 241,   0) // 黄色
                     19: #define UD_GREEN                       wxColour(  3, 175, 122) // 緑
                     20: #define UD_BLUE                                wxColour(  0,  90, 255) // 青
                     21: #define UD_SKYBLUE                     wxColour( 77, 196, 255) // 空色
                     22: #define UD_PINK                                wxColour(255, 128, 130) // ピンク
                     23: #define UD_ORANGE                      wxColour(246, 170,   0) // オレンジ
                     24: #define UD_PURPLE                      wxColour(153,   0, 153) // 紫
                     25: #define UD_BROWN                       wxColour(128,  64,   0) // 茶色
                     26: 
                     27: // ベースカラー (背景など)
                     28: #define UD_LIGHT_PINK          wxColour(255, 202, 191) // 明るいピンク
                     29: #define UD_CREAM                       wxColour(255, 255, 128) // クリーム
                     30: #define UD_YELLOW_GREEN                wxColour(216, 242,  85) // 明るい黄緑
                     31: #define UD_LIGHT_SKYBLUE       wxColour(191, 228, 255) // 明るい空色
                     32: #define UD_BEIGE                       wxColour(255, 202, 128) // ベージュ
                     33: #define UD_LIGHT_GREEN         wxColour(119, 217, 168) // 明るい緑
                     34: #define UD_LIGHT_PURPLE                wxColour(201, 172, 230) // 明るい紫
                     35: 
                     36: // 無彩色
                     37: #define UD_LIGHT_GREY          wxColour(200, 200, 203) // 明るいグレー
                     38: #define UD_GREY                                wxColour(132, 145, 158) // グレー

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.