|
Boost : |
From: E. Gladyshev (egladysh_at_[hidden])
Date: 2003-08-04 12:29:11
--- Brock Peabody <brock.peabody_at_[hidden]>
wrote:
>
> http://groups.yahoo.com/group/boost/files/
>
> The name is boost_gui.zip. There is a ton of code,
> but the interface
I think, your library has a lot of good stuff. However
it does need a major redesign to cleanly remove all
direct references to the physhical layer (MFC) in the
template code. For example I am a bit worried about
defintions like this one:
namespace controls {
struct static_control :
controls::callback_cwnd<CStatic> {
enum { default_style = WS_CHILD | WS_VISIBLE |
SS_CENTERIMAGE };
void create(CWnd& parent,
const std::string& text = "",
unsigned int style = default_style,
const CRect& = CRect(0,0,0,0));
void create(CWnd& parent, unsigned int style);
};
}
It seems to me that it might not be very easy to clean
it up from all MFC references w/o a sustantial
architectural redesign.
As far as I remember you suggested to overwrite it
from scratch too. If we are to do it anyway, I think
we need to redesign it from scratch as well using your
library as a knowledge/experience base.
Eugene
__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk