From: Foster T. B. <fbr...@ad...> - 2005-03-22 18:30:56
|
> How much interaction is there supposed to be between the ui-core code > (window_t, button_t...) and application code? Is it all meant to > happen through Adam and Eve, is there ever a circumstance where you > want to touch a button_t directly from application code? Our contention is that if you are coding to the semantics of the widget, beating on the platform widget directly should not be necessary. If you are finding a need to do so, you should ask yourself: Am I trying to do something that would go against the semantics of the widget (irrespective of the API)? If yes, consider another widget for what you are trying to do. If not, what is lacking in the API that would improve its reflection of the semantics of the widget? The answer to this could be a good change to the API for the widget. > If not, is it > important to implement the same C++ interfaces on every platform so > long as the interface from Eve is the same? Yes. Blessings, Foster -- Foster T. Brereton <}}}>< Romans 3:21-26 A d o b e S o f t w a r e T e c h n o l o g y L a b "What 99 percent of programmers need to know is not how to build components but how to use them." -- Alexander Stepanov |