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

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: 
1.1.1.4 ! root        7: //
        !             8: // 色管理
        !             9: //
        !            10: 
1.1       root       11: #pragma once
                     12: 
1.1.1.4 ! root       13: #include "color.h"
        !            14: 
1.1.1.3   root       15: // カラーユニバーサルデザイン推奨配色セット (ver.4)
1.1       root       16: // https://jfly.uni-koeln.de/colorset/
1.1.1.3   root       17: //
                     18: // 基本はこの配色のみを用いること。
                     19: // ただし色を区別する(色の違いを認識できる)必要のない箇所ならここにない
                     20: // 色も使用可とする。
1.1       root       21: 
                     22: // アクセントカラー (文字など)
1.1.1.4 ! root       23: #define UD_RED                         Color(255,  75,   0)    // 赤
        !            24: #define UD_YELLOW                      Color(255, 241,   0)    // 黄色
        !            25: #define UD_GREEN                       Color(  3, 175, 122)    // 緑
        !            26: #define UD_BLUE                                Color(  0,  90, 255)    // 青
        !            27: #define UD_SKYBLUE                     Color( 77, 196, 255)    // 空色
        !            28: #define UD_PINK                                Color(255, 128, 130)    // ピンク
        !            29: #define UD_ORANGE                      Color(246, 170,   0)    // オレンジ
        !            30: #define UD_PURPLE                      Color(153,   0, 153)    // 紫
        !            31: #define UD_BROWN                       Color(128,  64,   0)    // 茶色
1.1       root       32: 
                     33: // ベースカラー (背景など)
1.1.1.4 ! root       34: #define UD_LIGHT_PINK          Color(255, 202, 191)    // 明るいピンク
        !            35: #define UD_CREAM                       Color(255, 255, 128)    // クリーム
        !            36: #define UD_YELLOW_GREEN                Color(216, 242,  85)    // 明るい黄緑
        !            37: #define UD_LIGHT_SKYBLUE       Color(191, 228, 255)    // 明るい空色
        !            38: #define UD_BEIGE                       Color(255, 202, 128)    // ベージュ
        !            39: #define UD_LIGHT_GREEN         Color(119, 217, 168)    // 明るい緑
        !            40: #define UD_LIGHT_PURPLE                Color(201, 172, 230)    // 明るい紫
1.1       root       41: 
                     42: // 無彩色
1.1.1.4 ! root       43: #define UD_WHITE                       Color(255, 255, 255)    // 白
        !            44: #define UD_LIGHT_GREY          Color(200, 200, 203)    // 明るいグレー
        !            45: #define UD_GREY                                Color(132, 145, 158)    // グレー
        !            46: #define UD_BLACK                       Color(  0,   0,   0)    // 黒
1.1.1.3   root       47: 
                     48: // 以下独自色
                     49: 
                     50: // パネルの背景色。
                     51: // パネルの背景色は本来 wxSystemSettings::GetColour(wxSYS_COLOUR_WINDOW) で
                     52: // 取得できる色だと思うが、これが環境依存となると前景色との兼ね合いも再現
                     53: // できなくなるということなのでこれには依存せず、背景色は自分で確定させる。
                     54: // UD_LIGHT_GREY は背景用ではないので背景色にするには暗い。
                     55: // wxGTK(2) の wxLIGHT_GREY は (211, 211, 211) で、これも結構暗め。
                     56: // wxGTK3 はほぼ白(250) で、これは明るすぎて好みではない。
1.1.1.4 ! root       57: #define BGPANEL                                Color(224, 224, 227)

unix.superglobalmegacorp.com

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