1. Re: IDE bugs

Judith Evans wrote:

>>Problems:
> >1.  The IDE takes 15 seconds to load on
> my system ...
>
> Yep. I don't know of a faster way to draw it;
> although I'm sure there is one.

*Whew* I was thinking that perhaps there was some bug in Win32Lib.

I haven't tested this, but you should be able to break this up into a
two-part process.

First, build a tile with the correct dot pattern. The size of the tile will
depend on the spacing of the dots the user selects. But you should ensure
that the tile is fairly large; at least 20x20.

Then fill the window with that tile pattern using BitBlt. Something like
(entirely untested):

   -- fill the window with the given tile pattern
   for y = 0 to winY by tileWidth do
      for x = 0 to to winX by tileWidth do
         bitBlt( window, tile, winX, winY )
      end for
   end for

You might be able to use PatBlt, although I *think* brushes are limited to
32 pixels in size, so this would only work in special cases.

-- David Cuny

new topic     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu