[Kde-games-devel] Re: REKO cardsets for KDE cardgames?
Nicolas Hadacek
hadacek at kde.org
Mon Jun 9 02:47:01 CEST 2003
On Tuesday 10 June 2003 04:57 am, blachner at gmx.de wrote:
> >> That means the card dialog can use the png files and also other formats
> >> like the REKO formats. But unfortunally that means also that functions
> >> have to be add to the games to using this advanced dialog.
>
> Yes, I understand. But, maybe, we can add to methods to the existing dialog
> class which gives the cards as QImages back and maybe add a constructor
> which opens the advanced dialog which can also handle formats like the REKO
> format. That means, programs only mus be changed if they want to use the
> advanced dialog with e.g. REKO format support.
I personnaly don't see the problem of adding new methods to KCardDialog.
Returning QImage instead of filename seems more sensible to me. Using
directly KIO would be even more flexible.
> > Well, that's not going to happen anytime soon. Why the aversion to
> > unpacking the files into separate images?
>
> It's not direct a aversion, :-) but I think the first way is a cleaner way
> and its easier to use for "normal" users. But, if most people on the list
> think the second, conversion to separate images, way is better or the first
> way is not possible for compatibility reasons, I can also write a
> conversion program. But I see no reason to add this converison program to
> the KDE game module. I think it can be done outside the KDE CVS.
yes I don't see any reason why to *not* support this format. I must admit I
have no idea about it but if someone is willing to make the support, that's
great. I really don't understand why Neil have such a big aversion to it ! Is
it something philosophical or what ?
I'd say: write the stuff, don't break binary compatibility in the libs and if
it works, someone will commit it for you.
see you,
Nicolas
More information about the kde-games-devel
mailing list