From 68372156a54c1ce6e0582ad745923397cb6f6d48 Mon Sep 17 00:00:00 2001 From: Indrajith K L Date: Mon, 13 May 2024 02:31:57 +0530 Subject: Minor Changes * Updates Readme * Updates Window Titles --- CSV Editor/CSV Editor.vcxproj | 2 -- CSV Editor/CSV Editor.vcxproj.filters | 6 ------ CSV Editor/src/main.cpp | 6 +++--- README.md | 2 +- screenshot.png | Bin 0 -> 51476 bytes 5 files changed, 4 insertions(+), 12 deletions(-) create mode 100644 screenshot.png diff --git a/CSV Editor/CSV Editor.vcxproj b/CSV Editor/CSV Editor.vcxproj index 79866f5..41b2c73 100644 --- a/CSV Editor/CSV Editor.vcxproj +++ b/CSV Editor/CSV Editor.vcxproj @@ -141,7 +141,6 @@ - @@ -151,7 +150,6 @@ - diff --git a/CSV Editor/CSV Editor.vcxproj.filters b/CSV Editor/CSV Editor.vcxproj.filters index e489d0b..a9113d1 100644 --- a/CSV Editor/CSV Editor.vcxproj.filters +++ b/CSV Editor/CSV Editor.vcxproj.filters @@ -39,9 +39,6 @@ Source Files - - Source Files - @@ -71,8 +68,5 @@ Header Files - - Header Files - \ No newline at end of file diff --git a/CSV Editor/src/main.cpp b/CSV Editor/src/main.cpp index d8cd2d5..cb07c53 100644 --- a/CSV Editor/src/main.cpp +++ b/CSV Editor/src/main.cpp @@ -40,9 +40,9 @@ int main(int, char**) std::vector headers = getCSVHeader(); std::vector> data = getCSVData(); - WNDCLASSEXW wc = { sizeof(wc), CS_CLASSDC, WndProc, 0L, 0L, GetModuleHandle(nullptr), nullptr, nullptr, nullptr, nullptr, L"ImGui Example", nullptr }; + WNDCLASSEXW wc = { sizeof(wc), CS_CLASSDC, WndProc, 0L, 0L, GetModuleHandle(nullptr), nullptr, nullptr, nullptr, nullptr, L"CSV Editor", nullptr }; ::RegisterClassExW(&wc); - HWND hwnd = ::CreateWindowW(wc.lpszClassName, L"Dear ImGui DirectX9 Example", WS_OVERLAPPEDWINDOW, 100, 100, 1280, 800, nullptr, nullptr, wc.hInstance, nullptr); + HWND hwnd = ::CreateWindowW(wc.lpszClassName, L"Indrajith's CSV Editor", WS_OVERLAPPEDWINDOW, 100, 100, 1280, 800, nullptr, nullptr, wc.hInstance, nullptr); // Initialize Direct3D if (!CreateDeviceD3D(hwnd)) @@ -113,7 +113,7 @@ int main(int, char**) { for (const auto& header : headers) { //std::cout << header << std::endl; - ImGui::TableSetupColumn(header.c_str(), ImGuiTableColumnFlags_WidthFixed); + ImGui::TableSetupColumn(header.c_str(), ImGuiTableColumnFlags_NoClip); } ImGui::TableHeadersRow(); for (size_t i = 0; i < data.size(); i++) { diff --git a/README.md b/README.md index 6cfdf66..ab720e5 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ ## CSV Editor A Basic CSV Editor using ImGui + DirectX9 - +![CSV Editor](screenshot.png "CSV Editor") ### WIP

Indrajith's CSV Editor by Indrajith K L is licensed under CC BY-NC-SA 4.0

\ No newline at end of file diff --git a/screenshot.png b/screenshot.png new file mode 100644 index 0000000..46d65c9 Binary files /dev/null and b/screenshot.png differ -- cgit v1.2.3