mirror of
https://github.com/genodelabs/genode.git
synced 2025-04-07 19:34:56 +00:00
sculpt: slight visual improvements of leitzentrale
This patch improves the appearance of the leitzentrale by eliminating the (hardly visible) decorations from the GUI and graph views, and by animating the motion of the graph position. The latter is meant to remove the stuttering effect when the graph's size changes (and re-centered).
This commit is contained in:
parent
a636f90240
commit
97bfc13237
@ -137,6 +137,9 @@
|
||||
</dir>
|
||||
<dir name="dev"> <log/> </dir>
|
||||
</vfs>
|
||||
<policy label="log" decoration="yes"/>
|
||||
<policy label="runtime -> leitzentrale -> runtime_view" decoration="no" motion="20"/>
|
||||
<policy label_prefix="gui" decoration="no"/>
|
||||
</config>
|
||||
<route>
|
||||
<service name="ROM" label="default.png"> <parent label="drop_shadow.png"/> </service>
|
||||
|
@ -620,11 +620,12 @@ void Sculpt::Main::_handle_window_layout()
|
||||
auto gen_window = [&] (Xml_node win, Rect rect) {
|
||||
if (rect.valid()) {
|
||||
xml.node("window", [&] () {
|
||||
xml.attribute("id", win.attribute_value("id", 0UL));
|
||||
xml.attribute("id", win.attribute_value("id", 0UL));
|
||||
xml.attribute("xpos", rect.x1());
|
||||
xml.attribute("ypos", rect.y1());
|
||||
xml.attribute("width", rect.w());
|
||||
xml.attribute("height", rect.h());
|
||||
xml.attribute("title", win.attribute_value("label", Label()));
|
||||
});
|
||||
}
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user