RE: [Plib-devel] Submenu Colors in PUI
Brought to you by:
sjbaker
From: Fay J. F Dr C. U. AFSEO/SK <joh...@eg...> - 2006-05-01 12:38:52
|
Bram, I sent the P-guide files last Friday. I don't know why they would not have gotten to you yet. I will try again in a minute. The "puAux" library is for all those widgets that Steve doesn't want cluttering up PUI. One of the purposes of PUI was to be small. I needed a bunch of additional widgets for my application and so I finally (some time ago now) split off the additional widgets into "puAux". I thought the vertical menu was one of those that got moved. It certainly should have been moved. I use SVN locally and I like it. John F. Fay Technical Fellow, Jacobs/Sverdrup TEAS Group 850-729-6330 joh...@eg... -----Original Message----- From: pli...@li... [mailto:pli...@li...] On Behalf Of Bram Stolk Sent: Sunday, April 30, 2006 9:16 AM To: pli...@li... Subject: Re: [Plib-devel] Submenu Colors in PUI Fay John F Dr CTR USAF AFSEO/SK wrote: > Gentlemen, > > I would like to modify puAux so that the submenus in a > vertical menu are colored slightly differently from the color of the > main menu bar. As things now stand, it is difficult to see where the > submenu ends and the remainder of the vertical menu continues. To > this end, I propose to add to "puaVerticalMenu.cxx" starting at line 56: I don't have a puaVerticalMenu.cxx in my cvs tree: stolk@suske:~/src/plib$ find . -name puaVert\* -print stolk@suske:~/src/plib$ Do you mean puVerticalMenu ? This pu/pua thing has always been confusing me. What is the rationale for pu/puAux When does something go in pui, when does something go in pui? Also, I haven't received your pguide file yet. If you want them updated, mail them to me, or get a working cvs client ofcourse. Sidenote: recently I've been using svn. I like it better than cvs. Especially on SF, because SF cvs sucks. Steve... do you have an opinion on svn? Bram > > puPopupMenu *p = new puPopupMenu ( w+10, 0 ) ; > p->setActiveButton ( active_mouse_button ) ; > + p -> setColourScheme ( colour[PUCOL_FOREGROUND][0] * 0.9f, > + colour[PUCOL_FOREGROUND][1] * 0.9f, > + colour[PUCOL_FOREGROUND][2] * 0.9f, > + colour[PUCOL_FOREGROUND][3] * 0.9f ) ; > > b -> setUserData ( p ) ; > > This will make the submenu a little darker and give it a hint of > transparency. Does anybody object? > > John F. Fay > Technical Fellow, Jacobs/Sverdrup TEAS Group 850-729-6330 > joh...@eg... > > ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ plib-devel mailing list pli...@li... https://lists.sourceforge.net/lists/listinfo/plib-devel |