From: <sv...@ww...> - 2007-08-27 18:28:00
|
Author: nsmoooose Date: 2007-08-27 11:27:51 -0700 (Mon, 27 Aug 2007) New Revision: 2176 Modified: branches/first_tutorial/csp/cspsim/wf/CheckBox.cpp branches/first_tutorial/csp/cspsim/wf/Container.cpp branches/first_tutorial/csp/cspsim/wf/Control.cpp branches/first_tutorial/csp/cspsim/wf/Control.h branches/first_tutorial/csp/cspsim/wf/ControlGeometryBuilder.cpp branches/first_tutorial/csp/cspsim/wf/ControlGeometryBuilder.h branches/first_tutorial/csp/cspsim/wf/ListBox.cpp branches/first_tutorial/csp/cspsim/wf/ListBoxItem.cpp branches/first_tutorial/csp/cspsim/wf/ListBoxItem.h branches/first_tutorial/csp/cspsim/wf/Serialization.cpp branches/first_tutorial/csp/cspsim/wf/SingleControlContainer.cpp branches/first_tutorial/csp/cspsim/wf/Style.cpp branches/first_tutorial/csp/cspsim/wf/Style.h branches/first_tutorial/csp/cspsim/wf/StyleBuilder.cpp branches/first_tutorial/csp/cspsim/wf/StyleBuilder.h branches/first_tutorial/csp/cspsim/wf/Tab.cpp branches/first_tutorial/csp/cspsim/wf/TableControlContainer.cpp branches/first_tutorial/csp/cspsim/wf/Window.cpp branches/first_tutorial/csp/cspsim/wf/Window.h branches/first_tutorial/csp/cspsim/wf/WindowManager.cpp Log: Changes to the csp::wf::Style object: * Converted to a class from a struct. * Now inherits from the csp::Referenced * All style members are now accessed with set and get methods. These changes makes it possible for the Style object to send signals when something change (not implemented yet). The Control that owns the style object can listen to these signals and rebuild the geometry when width, background color etc changes. Browse at: https://www.zerobar.net/viewcvs/viewcvs.cgi?view=rev&rev=2176 Diff omitted (68442 bytes). |