Skip to content
Snippets Groups Projects
Commit adebb639 authored by Deucе's avatar Deucе :ok_hand_tone4:
Browse files

Draw the shadow if the API bgcolor is blue

WIN_INACT was not getting a border because it changes the value
of bclr which is explicitly compared with BLUE to detect if a
shadow should be drawn.

Instead, draw a shadow any time it would normally be drawn.
parent b8aa20b3
No related branches found
No related tags found
1 merge request!463MRC mods by Codefenix (2024-10-20)
Pipeline #2243 passed
...@@ -1003,7 +1003,7 @@ int ulist(int mode, int left, int top, int width, int *cur, int *bar ...@@ -1003,7 +1003,7 @@ int ulist(int mode, int left, int top, int width, int *cur, int *bar
if(!(mode&WIN_NOBRDR)) { if(!(mode&WIN_NOBRDR)) {
/* Shadow */ /* Shadow */
if(bclr==BLUE) { if(api->bclr==BLUE) {
vmem_gettext(s_left+left+width,s_top+top+1,s_left+left+width+1 vmem_gettext(s_left+left+width,s_top+top+1,s_left+left+width+1
,s_top+top+height-1,shade); ,s_top+top+height-1,shade);
for(i=0;i<height*2;i++) for(i=0;i<height*2;i++)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment