I’m trying to write a crossword program (presents a crossword and clues,
and lets the user solve the crossword) using FXRuby, and I’m a bit lost
among the various widgets. I was planning to inherit from FXTable, but I
ran into the fact that I couldn’t colour cells individually, or have
multiple fonts within a cell - it’s still doable, but it made me wonder
whether there was some more appropriate base class. The requirements are
- A base object that contains a grid of cells
- Each cell should itself be just a container, and let the contained
object handle its own display - FXTable style navigation in the grid (respond to keyboard movement
keys and mouse clicks)
i.e., something slightly less specialised than a fullfledged FXTable. Is
there an existing starting point, or will I have to implement this from
scratch?
martin
p.s. What would really be nice would be a place where people could share
FXRuby widgets they feel are reusable. I keep wondering which wheel I’m
reinventing this time.