> 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