T12567: Reduce code/effort duplication around color scheme support

2020-01-21 Thread Noah Davis
ndavis added a comment. In T12567#218405 , @davidedmundson wrote: > The former won't know when to update, the latter can. So we'll need to make property bindings anyway? Or maybe we can use arrays instead of writing 108 individual variab

T12567: Reduce code/effort duplication around color scheme support

2020-01-21 Thread David Edmundson
davidedmundson added a comment. > QML can use C++ functions right? Would we still need to make property bindings for all the colors if we had color() functions? C++ functions can be exposed to QML. However: color: myObject.color(fooBar); has one behaviour big behavioural

T12567: Reduce code/effort duplication around color scheme support

2020-01-21 Thread Noah Davis
ndavis added a comment. QML can use C++ functions right? Would we still need to make property bindings for all the colors if we had color() functions? TASK DETAIL https://phabricator.kde.org/T12567 To: ndavis Cc: ognarb, plasma-devel, kde-frameworks-devel, ndavis, Orage, LeGast00n, The-Fe

T12567: Reduce code/effort duplication around color scheme support

2020-01-20 Thread Noah Davis
ndavis updated the task description. TASK DETAIL https://phabricator.kde.org/T12567 To: ndavis Cc: plasma-devel, kde-frameworks-devel, ndavis, Orage, LeGast00n, The-Feren-OS-Dev, jraleigh, zachus, davidre, fbampaloukas, GB_2, ekasprzak, ragreen, domson, michaelh, ahmadsamir, dkardarakos, Zren