chore: 添加构建产物和IDE配置文件到.gitignore

- 忽略obj/和dist/目录中的构建产物
- 添加Visual Studio Code的C/C++配置、调试和设置文件
- 添加编译生成的二进制文件(PathEditor.exe, Gobang_*_Setup.exe)和对象文件(*.o)
This commit is contained in:
2026-03-16 17:33:29 +08:00
parent 13e683e7fd
commit e4a2713ef8
2 changed files with 13 additions and 5 deletions
+7 -1
View File
@@ -10,4 +10,10 @@
*.tmp *.tmp
*.bak *.bak
Thumbs.db Thumbs.db
Desktop.ini Desktop.ini
# 忽略obj目录
/obj/
# 忽略dist目录
/dist/
+6 -4
View File
@@ -36,11 +36,13 @@ int main(int argc, char **argv)
IupSetGlobal("UTF8MODE", "YES"); IupSetGlobal("UTF8MODE", "YES");
// 创建列表控件 // 创建列表控件
list_path = IupList(NULL); list_path = IupFlatList();
IupSetAttribute(list_path, "EXPAND", "YES"); IupSetAttribute(list_path, "EXPAND", "YES");
IupSetAttribute(list_path, "VISIBLELINES", "15"); IupSetAttribute(list_path, "HLINE", "YES");
IupSetAttribute(list_path, "MULTIPLE", "NO"); IupSetAttribute(list_path, "HLINECOLOR", "200 200 200");
IupSetAttribute(list_path, "ITEMPADDING", "5x5");
// IupFlatList 不支持 VISIBLELINES,高度由 EXPAND 和布局决定
// 创建右侧按钮 // 创建右侧按钮
btn_new = IupButton("新建(N)", NULL); btn_new = IupButton("新建(N)", NULL);
btn_edit = IupButton("编辑(E)", NULL); btn_edit = IupButton("编辑(E)", NULL);