@@ -214,31 +214,29 @@ igfd::ImGuiFileDialog::Instance()->SetFlashingAttenuationInSeconds(1.0f);
214214
215215you can create/edit/call path bookmarks and load/save them in file
216216
217- you can activate it by uncomment : #define USE_BOOKMARK"
217+ you can activate it by uncomment : "#define USE_BOOKMARK"
218+
218219in you custom config file (CustomImGuiFileDialogConfig.h in this example)
219220
220221you can also uncomment the next lines for customize it :
221222``` cpp
222223#define bookmarkPaneWith 150.0f => width of the bookmark pane
223- #define IMGUI_TOGGLE_BUTTON ToggleButton => toggled button use (button stamp : ToggleButton (const char* label, bool * toggle)
224- #define bookmarksButtonString "Bookmark" => the text in the toggle button (can be abn icon by using font icons)
224+ #define IMGUI_TOGGLE_BUTTON ToggleButton => customize the Toggled button (button stamp must be : (const char* label, bool * toggle)
225+ #define bookmarksButtonString "Bookmark" => the text in the toggle button
225226#define bookmarksButtonHelpString "Bookmark" => the helper text when mouse over the button
226- #define addBookmarkButtonString "+" => the button fro add a bookmark (can be an icon also)
227- #define removeBookmarkButtonString "-" => the button for remove the selected bookmark (can be an icon also)
227+ #define addBookmarkButtonString "+" => the button fro add a bookmark
228+ #define removeBookmarkButtonString "-" => the button for remove the selected bookmark
228229```
229230
230- In more :
231231* you can select each bookmark for edit the displayed name corresponding to a path
232232* you must double click on the label for apply the bookmark
233233
234234
235235
236- you can also serialize/deserialize bookmarks by ex for load from /save in file : (check the app sample by ex)
236+ you can also serialize/deserialize bookmarks by ex for load/save from/to file : (check the app sample by ex)
237237```cpp
238- Load :
239- igfd::ImGuiFileDialog::Instance()->DeserializeBookmarks(bookmarString);
240- Save :
241- std::string bookmarkString = igfd::ImGuiFileDialog::Instance()->SerializeBookmarks();
238+ Load => igfd::ImGuiFileDialog::Instance()->DeserializeBookmarks(bookmarString);
239+ Save => std::string bookmarkString = igfd::ImGuiFileDialog::Instance()->SerializeBookmarks();
242240```
243241## How to Integrate ImGuiFileDialog in your porject
244242
0 commit comments