add frdrawseltick

This commit is contained in:
rsc 2007-05-10 19:08:09 +00:00
parent 35920e96a1
commit 813751d754
2 changed files with 27 additions and 3 deletions

View file

@ -1,6 +1,6 @@
.TH FRAME 3
.SH NAME
frinit, frsetrects, frinittick, frclear, frcharofpt, frptofchar, frinsert, frdelete, frselect, frtick, frselectpaint, frdrawsel, frdrawsel0, frgetmouse \- frames of text
frinit, frsetrects, frinittick, frclear, frcharofpt, frptofchar, frinsert, frdelete, frselect, frtick, frselectpaint, frdrawsel, frdrawsel0, frdrawseltick, frgetmouse \- frames of text
.SH SYNOPSIS
.nf
.B
@ -55,6 +55,11 @@ void frdrawsel(Frame *f, Point pt0, ulong p0, ulong p1,
int highlighted)
.PP
.B
void frdrawseltick(Frame *f, Point pt0, ulong p0, ulong p1,
.B
int highlighted, int ticked)
.PP
.B
void frdrawsel0(Frame *f, Point pt0, ulong p0, ulong p1,
.B
Image *back, Image *text)
@ -339,6 +344,19 @@ on the screen; like all of the selection-helper routines'
.B Point
arguments, it must be a value generated by
.IR frptofchar .
.I Frdrawseltick
is identical to
.I frdrawsel
except that the
.I ticked
flag controls whether to draw the tick
when
.I highlighted
is non-zero and
.I p0
and
.I p1
are equal.
.I Frdrawsel0
is a lower-level routine, taking as arguments a background color,
.IR back ,