• R/O
  • SSH
  • HTTPS

vima19: Commit


Commit MetaInfo

Revision767 (tree)
Time2022-08-16 02:31:59
Authorhgtterry

Log Message

Equity_SB 150822 General

Change Summary

Incremental Difference

--- Anim19_OSDN/GD19_App.cpp (revision 766)
+++ Anim19_OSDN/GD19_App.cpp (revision 767)
@@ -108,6 +108,10 @@
108108 Brush_Red = 0;
109109 Brush_Tabs = 0;
110110 Brush_Tabs_UnSelected = 0;
111+
112+ Brush_Button = 0;
113+ Brush_Button_Hover = 0;
114+
111115 DialogBackGround = 0;
112116
113117 Hnd_PinOff = NULL;
@@ -379,6 +383,9 @@
379383 Brush_Tabs = CreateSolidBrush(RGB(255, 255, 255));
380384 Brush_Tabs_UnSelected = CreateSolidBrush(RGB(190, 190, 190));
381385
386+ Brush_Button = CreateSolidBrush(RGB(65, 147, 245));
387+ Brush_Button_Hover = CreateSolidBrush(RGB(153, 204, 255));
388+
382389 Font_CB12 = CreateFont(-12, 0, 0, 0, 0, 0, 0, 0, 0, OUT_TT_ONLY_PRECIS, 0, 0, 0, "Courier Black");
383390 Font_CB15 = CreateFont(-15, 0, 0, 0, 0, 0, 0, 0, 0, OUT_TT_ONLY_PRECIS, 0, 0, 0, "Courier Black");
384391 Font_Arial20 = CreateFont(-20, 0, 0, 0, 0, 0, 0, 0, 0, OUT_TT_ONLY_PRECIS, 0, 0, 0, "Arial");
@@ -659,11 +666,11 @@
659666
660667 if (Toggle == 1)
661668 {
662- hotbrush = CreateGradientBrush(RGB(0, 240, 0), RGB(0, 240, 0), item);
669+ hotbrush = CreateSolidBrush(RGB(154, 255, 154));
663670 }
664671 else
665672 {
666- hotbrush = CreateGradientBrush(RGB(240, 240, 240), RGB(240, 240, 240), item);;
673+ hotbrush = App->Brush_Button_Hover;
667674 }
668675
669676 HPEN pen = CreatePen(PS_INSIDEFRAME, 0, RGB(0, 0, 0));
@@ -684,11 +691,11 @@
684691
685692 if (Toggle == 1)
686693 {
687- defaultbrush = App->Brush_Green;
694+ defaultbrush = CreateSolidBrush(RGB(204, 255, 204));;
688695 }
689696 else
690697 {
691- defaultbrush = App->Brush_White;
698+ defaultbrush = App->DialogBackGround;
692699 }
693700
694701 HPEN pen = CreatePen(PS_INSIDEFRAME, 0, RGB(0, 0, 0));
--- Anim19_OSDN/GD19_App.h (revision 766)
+++ Anim19_OSDN/GD19_App.h (revision 767)
@@ -201,6 +201,9 @@
201201 HBRUSH Brush_Tabs;
202202 HBRUSH Brush_Tabs_UnSelected;
203203
204+ HBRUSH Brush_Button;
205+ HBRUSH Brush_Button_Hover;
206+
204207 HANDLE Hnd_PinOff;
205208 HANDLE Hnd_PinOn;
206209 HANDLE Hnd_FlipWindingOrder; //
Show on old repository browser