From: Mattia B. <mb...@ds...> - 2003-05-16 21:08:58
|
On Wed, 14 May 2003 15:53:43 -0500 Chris Brown <ch...@ty...> wrote: > Hi all, Hello, > I'm working on a simple little game that uses a grid as the board. While > I know this probably wasn't what it was designed for, but Wx::Grid seems > to be the easiest way to go about what I'm trying to accomplish. However > it will only work if I can put bitmaps inside the cells which according > the documentation isn't implemented in wxPerl. This is correct. > I was wondering if there is some other way to do it. I could do each > element individually probably but this seems like it would be a lot of > work and I don't know if I would have the same amount of control over > the individual cells. If you just need square or rectangular cells, it is much easier to just use Wx::ScrolledWindow and draw the cells yourself. > Or if Bitmaps in the cells are going to be > implemented or how someone with little time and very rusty C++ skills > can help make it happen :) It probably takes more time testing it than writing it (but this only if you already know about wxPerl/XS); however I still think it is much better to use a Wx::ScrolledWindow. Regards Mattia |