On 25 Apr 2003 23:11:00 +0200, Uwe Pross wrote: > > I have finished the layout description using php classes. The current > two layouts have been ported to php class descriptions. > Currently the new layout files are not used since I have not tested > them very carefully :-| > > The new layouts are accessable via > > www.fvwm.org/?layout=plain_class > and > www.fvwm.org/?layout=default_class > > Don't be disappointed. They hardly look different to the current > layouts. (On the plain layout the navigation is different. On the > default layout the pager color is changed a bit to show that a > different layout descriptions is used.) > > The difference is that classes are used for the layout description > which makes it quite easy to derive new layouts from a existing ones.
This is good. Can I suggest to move all layout classes to the separate directory? I.e. layout/default.inc instead of layout_default.inc. > Currently the following files are used: > > class_layout_base.inc: description of base layout class > interface_definitions.inc: mapping of object functions to global functions. > > layout_default_class.inc: default layout using classes (might be splitted) > layout_plain_class.inc: plain layout using classes (might be splitted) I think the navigation methods may be (if possible of course) moved to separate elements. Like: layout/navigation/pager.inc layout/navigation/parent_list.inc layout/navigation/void.inc # does not exist in the new version layout/navigation/menus.inc # does not exist yet How about to separate the decoration methods too: layout/decor/window.inc # there is also the actual image/color theme layout/decor/border.inc # there is also the actual image/color theme layout/decor/void.inc This way, the current layout=default consists of navigation=pager and decor=window, layout=plain consists of navigation=parent_list (or void) and decor=void. This is just a working suggestion without all details. BTW, I think "layout" is not the best term for what it does. Maybe "skin", "view" or "look" (other names: "theme", "design", "looknfeel"). On the other subjects. Why do you set decoration windows to be 800 pixels tall - to always force a side scrollbar? An empty window taller than the page looks very bad. I think we are not going to return to the old pages, so I will remove all .html files soon. Regards, Mikhael. -- Visit the official FVWM web page at <URL:http://www.fvwm.org/>. To unsubscribe from the list, send "unsubscribe fvwm-workers" in the body of a message to [EMAIL PROTECTED] To report problems, send mail to [EMAIL PROTECTED]