src/iup_colordlg.c
static void iColorDlgHSI_TXT_Update(IcolorDlgData* colordlg_data)
{
  IupSetInt(colordlg_data->hue_txt, "VALUE", iupROUND(colordlg_data->hue));
  IupSetInt(colordlg_data->saturation_txt, "VALUE", iupRound(colordlg_data->saturation * 100));
  IupSetInt(colordlg_data->intensity_txt, "VALUE", iupRound(colordlg_data->intensity * 100));
}
/*************************************************\
* Updates text fields with the current HSI values *
\*************************************************/
\
Updates text fields with the current HSI values
\
\ Updates text fields with the current HSI values \
static void iColorDlgHSI_TXT_Update(IcolorDlgData* colordlg_data)
{
  IupSetInt(colordlg_data->hue_txt, "VALUE", iupROUND(colordlg_data->hue));
  IupSetInt(colordlg_data->saturation_txt, "VALUE", iupRound(colordlg_data->saturation * 100));
  IupSetInt(colordlg_data->intensity_txt, "VALUE", iupRound(colordlg_data->intensity * 100));
}
static void iColorDlgHSI_TXT_Update ( IcolorDlgData * colordlg_data ) { IupSetInt ( colordlg_data -> hue_txt , " " , iupROUND ( colordlg_data -> hue ) ) ; IupSetInt ( colordlg_data -> saturation_txt , " " , iupRound ( colordlg_data -> saturation * 100 ) ) ; IupSetInt ( colordlg_data -> intensity_txt , " " , iupRound ( colordlg_data -> intensity * 100 ) ) ; }
\
Updates text fields with the current HSI values
\
\ Updates text fields with the current HSI values \