Fresco/Berlin/modules/Widgets/Motif Choice.cc,1.20,1.21

Neil John Pilgrim <[email protected]>
Newsgroups gmane.comp.video.fresco.cvs
Message-ID <[email protected]>
Update of /cvs/fresco/Fresco/Berlin/modules/Widgets/Motif
In directory purcel:/tmp/cvs-serv24083/Berlin/modules/Widgets/Motif

Modified Files:
	Choice.cc 
Log Message:
Tidy-up to sync layout of Choice widgets - code should now be identical apart
from class names - please comment in task80



Index: Choice.cc
===================================================================
RCS file: /cvs/fresco/Fresco/Berlin/modules/Widgets/Motif/Choice.cc,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -d -r1.20 -r1.21
--- Choice.cc	5 Jan 2003 16:21:36 -0000	1.20
+++ Choice.cc	19 Feb 2003 23:54:18 -0000	1.21
@@ -141,11 +141,11 @@
   append_controller(toggle_box);
 
   // 'toggle': simply a graphic with bevel dependent upon toggle_box state
-
   Graphic_var toggle = my_tools->create_switch(my_in_box, my_out_box,
 					       Fresco::Controller::toggled, 
 					       toggle_box);
 
+  // now add the toggle button into the button box, along with g
   box->append_graphic(RefCount_var<Fresco::Graphic>(my_layout->valign(RefCount_var<Fresco::Graphic>(my_layout->margin(toggle, 50.)), 0.5)));
   box->append_graphic(RefCount_var<Fresco::Graphic>(my_layout->hspace(100.)));
   box->append_graphic(RefCount_var<Fresco::Graphic>(my_layout->valign(g, 0.5)));
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.