{
int id = ED_SELECTBOX_ID_COLORS_FIRST + nr;
struct GadgetInfo *gi = level_editor_gadget[selectbox_info[id].gadget_id];
{
int id = ED_SELECTBOX_ID_COLORS_FIRST + nr;
struct GadgetInfo *gi = level_editor_gadget[selectbox_info[id].gadget_id];
int pos = type_id - ED_TEXTINPUT_ID_COLORS_FIRST;
*bd_color[pos] = gd_color_get_from_string(bd_color_text[pos]);
int pos = type_id - ED_TEXTINPUT_ID_COLORS_FIRST;
*bd_color[pos] = gd_color_get_from_string(bd_color_text[pos]);