emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: More enhancements to fringe bitmaps.


From: Kim F. Storm
Subject: Re: More enhancements to fringe bitmaps.
Date: 14 Feb 2004 01:39:27 +0100
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50

YAMAMOTO Mitsuharu <address@hidden> writes:

> >>>>> On 11 Feb 2004 12:17:24 +0100, address@hidden (Kim F. Storm) said:
> 
> > Supposing that fb->bits was word aligned and 16 bits per row, what
> > would the code for drawing the bitmap look like then?
> 
> Just like the following: Functions mac_create_bitmap_from_bitmap_data
> and mac_free_bitmap are no longer used for drawing fringe bitmaps.
> The function mac_draw_bitmap additionally takes width and height 
> as arguments.

Thanks for you help and suggestions.

I have just installed changes that allows fringe bitmaps to be up to
16 bits wide, and properly support any width between 1 and 16 on X.

I believe I have made the necessary changes to the W32 and MAC ports
(including not doing bit-swapping on MAC_OS).  As we previously
discussed, the code is simpler on both W32 and MAC after these change,
but as usual I cannot test whether it works.


Vi fans may want to try this...

(require 'fringe)

(define-fringe-bitmap  
 [#b000000000
  #b000100100
  #b001010100
  #b001001000]
 nil 9 'top empty-line-fringe-bitmap)

(setq indicate-empty-lines t)


-- 
Kim F. Storm <address@hidden> http://www.cua.dk





reply via email to

[Prev in Thread] Current Thread [Next in Thread]