smoothcontract / mediate

Automatically exported from code.google.com/p/mediate
0 stars 0 forks source link

Preview rendering #105

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Each UIObject should be able to render a preview when selected in the
preview pane. For screens or newly selected descriptors this can be mediate
as currently. But if we select a bitmap or a control it would be cool to
see the item rendered exclusively in the preview window. This could
radically simplify the current toolset by allowing tools to be made
available according to the editing context. For rendering UIObjects this
could be quite straightforward for most things by using a dummy control,
then resizing and rendering the control to suit using the normal associated
style. Styles do make some assumptions about the type of control they will
be called from, so we might need to make some case by case tweaks but on
the whole this should work fairly well, and allow a far nicer functional
feel to the designer. We could for example show a single control on screen
with drag handles and allow the UI to drag control dimensions, and also use
the mouse to set/unset focus, click the control etc. to test the
functionality and appearance. So, what we really need is a custom screen
for the designer for it to render these previews - either as an overlay
(slow but slick with an alpha blend) or as a replacement in the uimanager
rendering code.

Original issue reported on code.google.com by aretman...@gmail.com on 11 Jun 2008 at 10:42

GoogleCodeExporter commented 9 years ago
add custom rendering to highlight the controls within selected container, or to
highlight a specific control - i.e. this is the beginning of a styleless render 
for
the control. So, what we actually want is a default render method for the 
control
perhaps?, or a default style object that can be called for any control to 
render it.
So, if we use this we also need a highlight style object so we can distinguish 
things
in the designer. Think of a suitable class/unit name(s) for this.

Original comment by aretman...@gmail.com on 11 Jun 2008 at 10:44

GoogleCodeExporter commented 9 years ago
add support for invisible controls in designer - render these using hatching or 
alpha
blending

Original comment by aretman...@gmail.com on 11 Jun 2008 at 1:47

GoogleCodeExporter commented 9 years ago

Original comment by aretman...@gmail.com on 11 Mar 2009 at 3:24

GoogleCodeExporter commented 9 years ago
Implemented in mediate designer 0.0.33

Original comment by aretman...@gmail.com on 15 Apr 2009 at 11:17