Skip to content

Commit

Permalink
Using TTF in orca_loader example
Browse files Browse the repository at this point in the history
  • Loading branch information
johannesugb committed Dec 1, 2023
1 parent d0b27ec commit c96927a
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions examples/orca_loader/source/orca_loader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -641,6 +641,7 @@ int main() // <== Starting point ==
auto app = orca_loader_app(singleQueue);
// Create another element for drawing the UI with ImGui
auto ui = avk::imgui_manager(singleQueue);
ui.set_custom_font("assets/JetBrainsMono-Regular.ttf");

// Compile all the configuration parameters and the invokees into a "composition":
auto composition = configure_and_compose(
Expand Down
5 changes: 5 additions & 0 deletions visual_studio/examples/orca_loader/orca_loader.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,11 @@
<Project>{602f842f-50c1-466d-8696-1707937d8ab9}</Project>
</ProjectReference>
</ItemGroup>
<ItemGroup>
<None Include="..\..\..\assets\3rd_party\fonts\JetBrainsMono-2.304\fonts\ttf\JetBrainsMono-Regular.ttf">
<FileType>Document</FileType>
</None>
</ItemGroup>
<PropertyGroup Label="Globals">
<VCProjectVersion>15.0</VCProjectVersion>
<ProjectGuid>{8397baeb-c62f-4ee0-9402-e2d1b804a328}</ProjectGuid>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@
<None Include="..\..\..\assets\sponza_and_terrain.fscene">
<Filter>assets</Filter>
</None>
<None Include="..\..\..\assets\3rd_party\fonts\JetBrainsMono-2.304\fonts\ttf\JetBrainsMono-Regular.ttf">
<Filter>assets</Filter>
</None>
</ItemGroup>
<ItemGroup>
<ClCompile Include="..\..\..\examples\orca_loader\source\orca_loader.cpp" />
Expand Down

0 comments on commit c96927a

Please sign in to comment.