From: Duilio J. P. <dp...@fc...> - 2004-10-06 01:05:26
|
> There will be a VisUIContainer > kinda thing (don't take things to literally > btw, I'm just sketching). > > You can pack other VisUIContainers in that > like a VisUIGroup. > > (we will keep it very basic) > > For example: > ___ > VisUIContainer *uicont = visual_plugin_get_ui_container (plugin); > > VisUIGroup *uigroup = visual_ui_group_new ("Sexy configs"); > VisUILabel *uilabel = visual_ui_label_new ("Something: "); > VisUIText *uitext = visual_ui_text_new (paramentry); > VisUIBox *uibox = visual_ui_box_new (VISUAL_UI_HBOX); > > visual_ui_box_pack (uibox, uilabel); > visual_ui_box_pack (uibox, uitext); > visual_ui_group_add (uigroup, uibox); > > visual_ui_container_add (uicont, uigroup); > ___ > > > And have some good API to get extract the userinterface data > so you can easily build it within your app. I see... I was believed that extraction and generation of UI would be doing it automatically by libvisual, but if this is responsibility of the developer, I think that VisUI is the right way. We must work on this next? Bye, Duilio. |