$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: Jon Kalb (jonkalb_at_[hidden])
Date: 2003-07-25 14:57:32
This sounds to me like the goals of the Whisper framework. Check out
Whisper 2 on source forge.
> -----Original Message-----
> From: boost-bounces_at_[hidden] 
> [mailto:boost-bounces_at_[hidden]] On Behalf Of E. Gladyshev
> Sent: Friday, July 25, 2003 11:11 AM
> To: boost_at_[hidden]
> Subject: [boost] GUI/GDI template library
> 
> 
> I was thinking about designing a GUI/GDI template
> library.  
> 
> The main ideas are:
> 1. Create a portable template abstraction for standard
> GUI/GDI elements and dialog boxes.
> 2. Design an "iterator-like" interface.
> 3. The most important goal is design a natural
> connection between STL containers and GUI elements, so
> that STL data can be easily presented in the GUI
> environment.
> 
> For example
> template < typename IT, typename PhysicalGuiLayer >
> class ListControl
> {
> public:
> 	template < typename Filter, typename Format >
> 	void push_back( IT& FirstIt, 
> 			IT& EndIt, 
> 			Filter& filter, 
> 			Format& format )
> 	{
> 		for( IT it = FirstIt; it < EndIt; ++it )
> 		{
> 			if( filter(it) )
> 			{
> 				PhysicalGuiLayer::list_add_item( 
> 					m_hnd, 
> 					format.get_list_item(it) 
> 				);
> 			}
> 		}
> 	}
> };
> 
> Does something similar exist already?
> It seems like a challenging project. If anybody is
> interested, let me know.  
> 
> Eugene
> 
> 
> __________________________________
> Do you Yahoo!?
> Yahoo! SiteBuilder - Free, easy-to-use web site design 
> software http://sitebuilder.yahoo.com 
> _______________________________________________
> Unsubscribe & other changes: 
> http://listarchives.boost.org/mailman/listinfo.cgi/bo> ost
>