+AutocolorAssets::AutocolorAssets(PreferencesWindow *pwindow, int x, int y)
+ : BC_CheckBox(x, y, pwindow->thread->preferences->autocolor_assets,
+ _("Autocolor assets"))
+{
+ this->pwindow = pwindow;
+}
+
+int AutocolorAssets::handle_event()
+{
+ pwindow->thread->preferences->autocolor_assets = get_value();
+ return 1;
+}
+