+HighlightInverseColor::HighlightInverseColor(PreferencesWindow *pwindow, int x, int y, const char *hex)
+ : BC_TextBox(x, y, 80, 1, hex)
+{
+ this->pwindow = pwindow;
+}
+
+int HighlightInverseColor::handle_event()
+{
+ int inverse_color = strtoul(get_text(),0,16);
+ inverse_color &= 0xffffff;
+ pwindow->thread->preferences->highlight_inverse = inverse_color;
+ return 1;
+}
+