Skip to content

ImGuiFileDialog v0.6.3

Compare
Choose a tag to compare
@aiekick aiekick released this 26 Oct 23:51

add a new style system for file / dir / links

  • can be used for define color, icon, font
  • can be used for define global style for all files / dirs / links

add IGFD_FileStyleFlags

  • IGFD_FileStyleByTypeFile mean define style for all files
  • IGFD_FileStyleByTypeDir mean define style for all dir
  • IGFD_FileStyleByTypeLink mean define style for all link
  • IGFD_FileStyleByExtention mean define style by extention, for files or links
  • IGFD_FileStyleByFullName mean define style for particular file/dir/link full name (filename + extention)
  • IGFD_FileStyleByContainedInFullName mean define style for file/dir/link when criteria is contained in full name

BREAKING CHANGE :

  • IGFD::FileExtentionInfos become IGFD::FileStyle
  • CPP : ImGuiFileDialog::SetExtentionInfos become ImGuiFileDialog::SetFileStyle(IGFD_FileStyleByExtention,
  • CPP : ImGuiFileDialog::GetExtentionInfos become ImGuiFileDialog::GetFileStyle(IGFD_FileStyleByExtention,
  • CPP : ImGuiFileDialog::ClearExtentionInfos become ImGuiFileDialog::ClearFilesStyle
  • C : IGFD_SetExtentionInfos become IGFD_SetFileStyle
  • C : IGFD_GetExtentionInfos become IGFD_GetFileStyle
  • C : IGFD_ClearExtentionInfos become IGFD_ClearFilesStyle