freetype-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Git][freetype/freetype-demos][master] [ftgrid] Use lighter gridlines to


From: Alexei Podtelezhnikov (@apodtele)
Subject: [Git][freetype/freetype-demos][master] [ftgrid] Use lighter gridlines to improve readability.
Date: Wed, 12 Jan 2022 18:28:53 +0000

Alexei Podtelezhnikov pushed to branch master at FreeType / FreeType Demo Programs

Commits:

1 changed file:

Changes:

  • src/ftgrid.c
    ... ... @@ -197,7 +197,7 @@
    197 197
                           FTDemo_Display*  display )
    
    198 198
       {
    
    199 199
         st->axis_color    = grFindColor( display->bitmap,   0,   0,   0, 255 ); /* black       */
    
    200
    -    st->grid_color    = grFindColor( display->bitmap, 192, 192, 192, 255 ); /* gray        */
    
    200
    +    st->grid_color    = grFindColor( display->bitmap, 216, 216, 216, 255 ); /* gray        */
    
    201 201
         st->outline_color = grFindColor( display->bitmap, 255,   0,   0, 255 ); /* red         */
    
    202 202
         st->on_color      = grFindColor( display->bitmap, 255,   0,   0, 255 ); /* red         */
    
    203 203
         st->off_color     = grFindColor( display->bitmap,   0, 128,   0, 255 ); /* dark green  */
    
    ... ... @@ -213,7 +213,7 @@
    213 213
         /* colours are adjusted for color-blind people, */
    
    214 214
         /* cf. http://jfly.iam.u-tokyo.ac.jp/color      */
    
    215 215
         st->axis_color    = grFindColor( display->bitmap,   0,   0,   0, 255 ); /* black          */
    
    216
    -    st->grid_color    = grFindColor( display->bitmap, 192, 192, 192, 255 ); /* gray           */
    
    216
    +    st->grid_color    = grFindColor( display->bitmap, 216, 216, 216, 255 ); /* gray           */
    
    217 217
         st->outline_color = grFindColor( display->bitmap, 230, 159,   0, 255 ); /* orange         */
    
    218 218
         st->on_color      = grFindColor( display->bitmap, 230, 159,   0, 255 ); /* orange         */
    
    219 219
         st->off_color     = grFindColor( display->bitmap,  86, 180, 233, 255 ); /* sky blue       */
    


  • reply via email to

    [Prev in Thread] Current Thread [Next in Thread]