From kde-games-devel Mon Jun 09 07:47:01 2003 From: Nicolas Hadacek Date: Mon, 09 Jun 2003 07:47:01 +0000 To: kde-games-devel Subject: Re: [Kde-games-devel] Re: REKO cardsets for KDE cardgames? X-MARC-Message: https://marc.info/?l=kde-games-devel&m=105525276424138 On Tuesday 10 June 2003 04:57 am, blachner@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 _______________________________________________ kde-games-devel mailing list kde-games-devel@mail.kde.org http://mail.kde.org/mailman/listinfo/kde-games-devel