freetype-commit
[Top][All Lists]
Advanced

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

[Git][freetype/freetype-demos][master] 2 commits: * graph/win32/grwin32.


From: Alexei Podtelezhnikov (@apodtele)
Subject: [Git][freetype/freetype-demos][master] 2 commits: * graph/win32/grwin32.c (gr_win32_device_init): Use neutral background.
Date: Fri, 01 Oct 2021 16:07:31 +0000

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

Commits:

2 changed files:

Changes:

  • graph/grtypes.h
    ... ... @@ -17,7 +17,11 @@
    17 17
     
    
    18 18
     #if defined( __STDC_VERSION__ ) && __STDC_VERSION__ >= 199901L
    
    19 19
     
    
    20
    +#if defined( __VMS ) && __CRTL_VER <= 80400000
    
    21
    +#include <inttypes.h>
    
    22
    +#else
    
    20 23
     #include <stdint.h>
    
    24
    +#endif
    
    21 25
     
    
    22 26
     #endif
    
    23 27
     
    

  • graph/win32/grwin32.c
    ... ... @@ -722,7 +722,7 @@ LRESULT CALLBACK Message_Process( HWND handle, UINT mess,
    722 722
         ourClass.hInstance    = GetModuleHandle( NULL );
    
    723 723
         ourClass.hIcon        = LoadIcon(0, IDI_APPLICATION);
    
    724 724
         ourClass.hCursor      = LoadCursor(0, IDC_ARROW);
    
    725
    -    ourClass.hbrBackground= GetStockObject(BLACK_BRUSH);
    
    725
    +    ourClass.hbrBackground= GetStockObject( LTGRAY_BRUSH );
    
    726 726
     
    
    727 727
         if ( RegisterClass(&ourClass) == 0 )
    
    728 728
           return -1;
    


  • reply via email to

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