Introduction
Introduction Statistics Contact Development Disclaimer Help
Fix scrollbar colors. - sam - An updated version of the sam text editor.
git clone git://vernunftzentrum.de/sam.git
Log
Files
Refs
LICENSE
---
commit bbfde92dd63eb2d1d28f48aff13ecd90e6574c76
parent 633439bcbcf35eaaf0f3ba743049f29f72d08bea
Author: Rob King <[email protected]>
Date: Sun, 14 Aug 2016 23:04:27 -0500
Fix scrollbar colors.
Diffstat:
samterm/scroll.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/samterm/scroll.c b/samterm/scroll.c
@@ -38,7 +38,7 @@ void
scrflip(Flayer *l, Rectangle r)
{
if(rectclip(&r, l->scroll))
- bitblt(l->f.b, r.min, l->f.b, r, F&~D);
+ bitblt2(l->f.b, r.min, l->f.b, r, F&~D, l->bg);
}
void
@@ -67,12 +67,12 @@ scrdraw(Flayer *l, long tot)
r1.max.x = Dx(r);
}else
b = l->f.b;
- bitblt(b, r1.min, b, r1, F);
+ bitblt2(b, r1.min, b, r1, F, l->bg);
texture(b, inset(r1, 1), darkgrey, S);
r2 = scrpos(r1, l->origin, l->origin+l->f.nchars, tot);
- bitblt(b, r2.min, b, r2, 0);
+ bitblt2(b, r2.min, b, r2, 0, l->bg);
if(b!=l->f.b)
- bitblt(l->f.b, r.min, b, r1, S);
+ bitblt2(l->f.b, r.min, b, r1, S, l->bg);
}
void
You are viewing proxied material from vernunftzentrum.de. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.