From: Daryl V. H. <dva...@sf...> - 2005-04-30 05:42:23
|
Good point about having an interface to implement. However, stuff like buttonsAt[whatever]() may have restrictions, like must be called before any buttons have been added, or must be called while the window is not visible, otherwise it might not display/work unless I specifically add code to fix threading issues. I wasn't quite finished the code, I hadn't finished testing it, so it still had some bugs in it. I don't know what you added to know what to keep, so I might just overwrite something you had in there. So if you find I removed something, I probably didn't notice it. Also, what do you think about having a small icon for the "default" buttons? I'm thinking they're not such a good idea because they indicate that they're "pre-built," and not just included with the programs. In other words, because these buttons have icons, all the buttons that your programs add need icons so they don't look out of place. Daryl. Toby Donaldson wrote: >Daryl, when I run TheButtonMatrixTest, I don't see any other windows or >buttons, just the picture. > >I think the calling code is still a little too complex. I think it would be >better if --- for the generic save/load/save buttons --- it worked like >this: > >TheButtonMatrix bm = new TheButtonMatrix("something.jpg"); >bm.enableSaveButton(); >bm.enableLoadButton(); >bm.enableCloseButton(); > >I've added an interface called GenericButtons to your developer package. >Have TheButtonMatrix implement it. > >Toby > > >On 4/29/05 10:30 AM, "Daryl Van Humbeck" <dva...@sf...> wrote: > > > >>Hi, all. >> >>I've updated TheButtonMatrix extension in csimage.developers.dvanhumb to >>use a separate window for the buttons, showing it only when there are >>buttons to display. >>You should be able to see it if you wait a couple hours (maybe until 1pm >>today, but I'm not sure). I just know that commits don't appear right >>after you commit them. >> >>Anyway, comments and feedback accepted. >>Daryl. >> >> >> > > > > >------------------------------------------------------- >This SF.Net email is sponsored by: NEC IT Guy Games. >Get your fingers limbered up and give it your best shot. 4 great events, 4 >opportunities to win big! Highest score wins.NEC IT Guy Games. Play to >win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20 >_______________________________________________ >csjava-developer mailing list >csj...@li... >https://lists.sourceforge.net/lists/listinfo/csjava-developer > > > > > -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.308 / Virus Database: 266.11.0 - Release Date: 29/04/05 |