On Wed, 12 Mar 2003, Alfredo Braunstein wrote:

> Christian Ridderström wrote:
> 
> > I fiddled a bit with 'qscreen.C', but for some reason I wasn't able to
> > get it thicker (I'm guessing that 'cursor_h_' should control it's
> > height?).
> 
> Partially. The cursor right now is a line with 1 pixel thickness. If you go
> to the switch downwards you have (qscreen.C but same thing would eventually
> apply to xscreen.C):
>                 case HORIZONTAL_SHAPE:
>                         owner_.getPainter().line(cursor_x_, cursor_y_, 
>                                                  cursor_x_ + cursor_w_ - 1, 
>                                                  cursor_y_, LColor::cursor);
> 
> Change this into line(X1,Y1,X2,Y2,line_style,line_widht) see
> frontends/Painter.h for options, or a rectangle and here you go. Or draw an
> arrow if you want (always inside the saved rectangular region defined
> before). Post a screenshot ;). But I warn you: I would be very very
> conservative wrt. cursor shapes. They can be very annoying.
> 
Thanks, I'll play with this tonight and then make some screenshots.. if I 
can, the cursor vanishes when the window goes out of focus.

Hmm.. maybe I should do this the other way around... take a screenshot 
without cursor and then draw different cursor.

/Christian

-- 
Christian Ridderström                           http://www.md.kth.se/~chr


Reply via email to