Skip to content

Commit 6f11828

Browse files
committed
[frontend] AssimpImporter: Add in-app link to wiki docs
1 parent 8b4c1c8 commit 6f11828

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

source/frontend/editors/AssimpImporter.cpp

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,15 @@
88
namespace riistudio::frontend {
99

1010
void AssimpEditorPropertyGrid::Draw(librii::assimp2rhst::Settings& ctx) {
11+
if (ImGui::BeginChild("HelpBox", ImVec2(0, ImGui::GetTextLineHeightWithSpacing() * 1.5f), true, ImGuiWindowFlags_NoScrollbar)) {
12+
ImGui::TextColored(ImVec4(0.4f, 0.8f, 1.0f, 1.0f), (const char*)ICON_FA_BOOK_OPEN);
13+
ImGui::SameLine();
14+
ImGui::Text("Documentation: ");
15+
ImGui::SameLine();
16+
ImGui::TextLinkOpenURL("https://wiki.tockdom.com/wiki/Creating_a_BRRES_with_RiiStudio#RiiStudio");
17+
}
18+
ImGui::EndChild();
19+
1120
if (ImGui::CollapsingHeader("Importing Settings"_j,
1221
ImGuiTreeNodeFlags_DefaultOpen)) {
1322
//

0 commit comments

Comments
 (0)