summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/main.cpp4
-rw-r--r--src/main_windows.cpp16
2 files changed, 2 insertions, 18 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 4a26ceb..16b46d1 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -117,9 +117,9 @@ static int _ts_create_menu() {
}
void ts_init() {
- snprintf(path_buffer, MAX_INPUT_LENGTH, "%s", "C:\\Users\\aldri\\Desktop\\Vault\\Projects\\allegro5");
+ snprintf(path_buffer, MAX_INPUT_LENGTH, "%s", "C:\\Users\\aldri\\Desktop\\Vault\\Projects\\test");
snprintf(filter_buffer, MAX_INPUT_LENGTH, "%s", "*.h");
- snprintf(query_buffer, MAX_INPUT_LENGTH, "%s", "test");
+ snprintf(query_buffer, MAX_INPUT_LENGTH, "%s", "あいうえお");
}
int _tb_query_input_cb(ImGuiInputTextCallbackData* data) {
diff --git a/src/main_windows.cpp b/src/main_windows.cpp
index d0db43e..8492725 100644
--- a/src/main_windows.cpp
+++ b/src/main_windows.cpp
@@ -94,22 +94,6 @@ int main(int, char**)
ts_init();
ts_load_images();
- // Load Fonts
- // - If no fonts are loaded, dear imgui will use the default font. You can also load multiple fonts and use ImGui::PushFont()/PopFont() to select them.
- // - AddFontFromFileTTF() will return the ImFont* so you can store it if you need to select the font among multiple.
- // - If the file cannot be loaded, the function will return a nullptr. Please handle those errors in your application (e.g. use an assertion, or display an error and quit).
- // - The fonts will be rasterized at a given size (w/ oversampling) and stored into a texture when calling ImFontAtlas::Build()/GetTexDataAsXXXX(), which ImGui_ImplXXXX_NewFrame below will call.
- // - Use '#define IMGUI_ENABLE_FREETYPE' in your imconfig file to use Freetype for higher quality font rendering.
- // - Read 'docs/FONTS.md' for more instructions and details.
- // - Remember that in C/C++ if you want to include a backslash \ in a string literal you need to write a double backslash \\ !
- //io.Fonts->AddFontDefault();
- //io.Fonts->AddFontFromFileTTF("c:\\Windows\\Fonts\\segoeui.ttf", 18.0f);
- //io.Fonts->AddFontFromFileTTF("../../misc/fonts/DroidSans.ttf", 16.0f);
- //io.Fonts->AddFontFromFileTTF("../../misc/fonts/Roboto-Medium.ttf", 16.0f);
- //io.Fonts->AddFontFromFileTTF("../../misc/fonts/Cousine-Regular.ttf", 15.0f);
- //ImFont* font = io.Fonts->AddFontFromFileTTF("c:\\Windows\\Fonts\\ArialUni.ttf", 18.0f, nullptr, io.Fonts->GetGlyphRangesJapanese());
- //IM_ASSERT(font != nullptr);
-
ImVec4 clear_color = ImVec4(0.45f, 0.55f, 0.60f, 1.00f);
bool done = false;
while (!done)