Fix a mouse cursor that appeared on palette screen when opening palette
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1130 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
parent
1582d9e6d9
commit
373e39abe8
26
palette.c
26
palette.c
@ -893,27 +893,27 @@ void Button_Palette(void)
|
|||||||
Window_set_normal_button(96,32,29,14,"HSL" ,1,1,SDLK_h); // 22
|
Window_set_normal_button(96,32,29,14,"HSL" ,1,1,SDLK_h); // 22
|
||||||
Window_set_normal_button(96,47,29,14,"Srt" ,1,1,SDLK_s); // 23
|
Window_set_normal_button(96,47,29,14,"Srt" ,1,1,SDLK_s); // 23
|
||||||
|
|
||||||
if (Config.Auto_nb_used)
|
|
||||||
{
|
|
||||||
Update_color_count(&used_colors,color_usage);
|
|
||||||
|
|
||||||
Num2str(color_usage[Fore_color], str, 6);
|
|
||||||
Print_in_window(222, 33, str, MC_Black, MC_Light);
|
|
||||||
Print_in_window(222, 42, "pixels", MC_Dark, MC_Light);
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
// Dessin des petits effets spéciaux pour les boutons [+] et [-]
|
// Dessin des petits effets spéciaux pour les boutons [+] et [-]
|
||||||
Draw_thingumajig(263, 74,MC_White,-1);
|
Draw_thingumajig(263, 74,MC_White,-1);
|
||||||
Draw_thingumajig(280, 74,MC_White,+1);
|
Draw_thingumajig(280, 74,MC_White,+1);
|
||||||
Draw_thingumajig(263,165,MC_Dark,-1);
|
Draw_thingumajig(263,165,MC_Dark,-1);
|
||||||
Draw_thingumajig(280,165,MC_Dark,+1);
|
Draw_thingumajig(280,165,MC_Dark,+1);
|
||||||
|
|
||||||
Update_window_area(0,0,299,188);
|
|
||||||
|
|
||||||
Display_cursor();
|
Display_cursor();
|
||||||
|
|
||||||
|
if (Config.Auto_nb_used)
|
||||||
|
{
|
||||||
|
Update_color_count(&used_colors,color_usage);
|
||||||
|
|
||||||
|
Hide_cursor();
|
||||||
|
Print_in_window(222, 42, "pixels", MC_Dark, MC_Light);
|
||||||
|
Num2str(color_usage[Fore_color], str, 6);
|
||||||
|
Print_in_window(222, 33, str, MC_Black, MC_Light);
|
||||||
|
Display_cursor();
|
||||||
|
}
|
||||||
|
|
||||||
|
Update_window_area(0,0,299,188);
|
||||||
|
|
||||||
do
|
do
|
||||||
{
|
{
|
||||||
old_mouse_x=Mouse_X;
|
old_mouse_x=Mouse_X;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user