… | |
… | |
691 | |
691 | |
692 | if (scrollBar.state) |
692 | if (scrollBar.state) |
693 | { |
693 | { |
694 | sb_w = scrollbar_TotalWidth (); |
694 | sb_w = scrollbar_TotalWidth (); |
695 | szHint.base_width += sb_w; |
695 | szHint.base_width += sb_w; |
|
|
696 | |
696 | if (!OPTION (Opt_scrollBar_right)) |
697 | if (!OPTION (Opt_scrollBar_right)) |
697 | window_vt_x += sb_w; |
698 | window_vt_x += sb_w; |
698 | } |
699 | } |
699 | |
700 | |
700 | szHint.width_inc = fwidth; |
701 | szHint.width_inc = fwidth; |
… | |
… | |
931 | |
932 | |
932 | #if OFF_FOCUS_FADING |
933 | #if OFF_FOCUS_FADING |
933 | if (rs[Rs_fade]) |
934 | if (rs[Rs_fade]) |
934 | { |
935 | { |
935 | rgba c; |
936 | rgba c; |
936 | pix_colors [Color_fade].get (this, c); |
937 | pix_colors [Color_fade].get (c); |
937 | pix_colors_focused [idx].fade (this, atoi (rs[Rs_fade]), pix_colors_unfocused [idx], c); |
938 | pix_colors_focused [idx].fade (this, atoi (rs[Rs_fade]), pix_colors_unfocused [idx], c); |
938 | } |
939 | } |
939 | #endif |
940 | #endif |
940 | |
941 | |
941 | /*TODO: handle Color_BD, scrollbar background, etc. */ |
942 | /*TODO: handle Color_BD, scrollbar background, etc. */ |