1
0

doc: add doc for 2 win chapters and fix typo in windows dialog

This commit is contained in:
2026-01-12 17:13:16 +08:00
parent c708e1e672
commit 2b6ac98f27
7 changed files with 90 additions and 98 deletions

View File

@@ -273,7 +273,7 @@ namespace yycc::windows::dialog {
m_InitDirectory = std::nullopt;
}
FileFilters& FileDialog::configre_file_types() {
FileFilters& FileDialog::configure_file_types() {
return m_FileTypes;
}

View File

@@ -90,7 +90,7 @@ namespace yycc::windows::dialog {
* @details
* This class is served for programmer using.
* But you don't need create it on your own.
* You can simply fetch it by FileDialog::ConfigreFileTypes(),
* You can simply fetch it by FileDialog::configureFileTypes(),
* because this class is a part of FileDialog.
*/
class FileFilters {
@@ -240,7 +240,7 @@ namespace yycc::windows::dialog {
* @brief Fetch the struct describing file filters for future configuration.
* @return The reference to the struct describing file filters.
*/
FileFilters& configre_file_types();
FileFilters& configure_file_types();
/**
* @brief Set the index of default selected file filter.
* @param[in] idx