aboutsummaryrefslogtreecommitdiff
path: root/CSV Editor/src
diff options
context:
space:
mode:
authorIndrajith K L2024-05-13 02:31:57 +0530
committerIndrajith K L2024-05-13 02:31:57 +0530
commit68372156a54c1ce6e0582ad745923397cb6f6d48 (patch)
treecae9f6a62576c713dbcdf163b257d6ac01a46e99 /CSV Editor/src
parente32c474ae1f43aae3f77bb18fdb57910646de0e3 (diff)
downloadcsv_editor-master.tar.gz
csv_editor-master.tar.bz2
csv_editor-master.zip
Minor ChangesHEADmaster
* Updates Readme * Updates Window Titles
Diffstat (limited to 'CSV Editor/src')
-rw-r--r--CSV Editor/src/main.cpp6
1 files changed, 3 insertions, 3 deletions
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<std::string> headers = getCSVHeader();
std::vector<std::vector<Cell>> 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++) {