Re: [Plib-devel] Submenu Colors in PUI
Brought to you by:
sjbaker
From: Bram S. <br...@sa...> - 2006-04-30 14:23:25
|
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... > > |