Skip to content

Commit

Permalink
Update main.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
emartisoft committed May 7, 2023
1 parent 8c50978 commit 521690d
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,21 +15,21 @@ static void glfw_error_callback(int error, const char* description)
fprintf(stderr, "GLFW Error %d: %s\n", error, description);
}

// https://github.com/ocornut/imgui/issues/1880#issuecomment-817197889
static const ImWchar icons_ranges_Turkish[] = {
0x0020, 0x00FF, // Basic Latin + Latin Supplement
0x00c7, 0x00c7, // Ç
0x00e7, 0x00e7, // ç
0x011e, 0x011e, // Ð
0x011f, 0x011f, // ð
0x0130, 0x0130,// Ý
0x0131, 0x0131, // ý
0x00d6, 0x00d6, // Ö
0x00f6, 0x00f6, // ö
0x015e, 0x015e, // Þ
0x015f, 0x015f, // þ
0x00dc, 0x00dc, // Ü
0x00fc, 0x00fc, // ü

0x00c7, 0x00c7, // Ç
0x00e7, 0x00e7, // ç
0x011e, 0x011e, // Ð
0x011f, 0x011f, // ð
0x0130, 0x0130,// Ý
0x0131, 0x0131, // ý
0x00d6, 0x00d6, // Ö
0x00f6, 0x00f6, // ö
0x015e, 0x015e, // Þ
0x015f, 0x015f, // þ
0x00dc, 0x00dc, // Ü
0x00fc, 0x00fc, // ü
0, };

// Main code
Expand Down Expand Up @@ -112,10 +112,10 @@ int main(int, char**)
static float f = 0.0f;
static int counter = 0;

ImGui::Begin(u8"Hello, world! Türkçe öçþiðüÖÇÞÝÐÜ"); // Create a window called "Hello, world!" and append into it.
ImGui::Begin(u8"Hello, world! Türkçe öçþiðüÖÇÞÝÐÜ"); // Create a window called "Hello, world!" and append into it.


ImGui::Text(u8"This is some useful text. Türkçe öçþiðüÖÇÞÝÐÜ"); // Display some text (you can use a format strings too)
ImGui::Text(u8"This is some useful text. Türkçe öçþiðüÖÇÞÝÐÜ"); // Display some text (you can use a format strings too)
ImGui::Checkbox("Demo Window", &show_demo_window); // Edit bools storing our window open/close state
ImGui::Checkbox("Another Window", &show_another_window);

Expand Down

0 comments on commit 521690d

Please sign in to comment.