Code

RegisteredWidget has been renamed to RegisteredWdg. This is a deprecated class, all...
authorjohanengelen <johanengelen@users.sourceforge.net>
Tue, 15 Jan 2008 16:33:29 +0000 (16:33 +0000)
committerjohanengelen <johanengelen@users.sourceforge.net>
Tue, 15 Jan 2008 16:33:29 +0000 (16:33 +0000)
commit844b3f1ccd684cf1979db02b46a89c3c00fef3ec
tree6aab72d928aa91f24a208a64f3df0be611c39e5d
parentc0cd5511d3b975ebe07d019c1f5528108725e438
RegisteredWidget has been renamed to RegisteredWdg. This is a deprecated class, all that use it should be recoded and RegisteredWdg should be deleted as soon as possible.
The *new* RegisteredWidget is a template class and should be subclassed (eventually) from Gtk::Widget, for example RegisteredWidget<Scalar> will be subclassed from Scalar, which is subclassed from Labelled, => Gtk::HBox => Gtk::Widget. This way, a RegisteredWidget<T> can be directly used as Gtk::Widget, and gtk::manage works, etc! This all should solve the problem of having multiple widgets for the same parameters.
src/live_effects/parameter/random.cpp
src/live_effects/parameter/random.h
src/ui/widget/registered-enums.h
src/ui/widget/registered-widget.cpp
src/ui/widget/registered-widget.h