Browse Source

添加压缩json功能

weicky 2 years ago
parent
commit
3d9f7401fe
2 changed files with 947 additions and 890 deletions
  1. 914 858
      main.c
  2. 33 32
      resources.h

File diff suppressed because it is too large
+ 914 - 858
main.c


+ 33 - 32
resources.h

@@ -1,32 +1,33 @@
-#ifndef _RESOURCES_H
-#define _RESOURCES_H
-
-#define IDI_APP 2
-
-#define IDC_EDIT 10
-#define IDC_LABEL 11
-#define IDC_UTF8 12
-#define IDC_GBK 13
-#define IDC_ENC 21
-#define IDC_DEC 22
-#define IDC_FORMAT 23
-#define IDC_TIME2STR 24
-#define IDC_STR2TIME 25
-
-#define IDM_MAIN 100
-#define IDM_BASE64 101
-#define IDM_URL 102
-#define IDM_MD5 103
-#define IDM_SHA1 104
-#define IDM_JSON 105
-#define IDM_TIME 106
-#define IDM_ABOUT 107
-
-#define IDD_ACCEL 200
-#define IDD_SELECT 201
-#define IDD_QUIT 202
-#define IDD_FOCUS 203
-#define IDD_UTF8 204
-#define IDD_GBK 205
-
-#endif
+#ifndef _RESOURCES_H
+#define _RESOURCES_H
+
+#define IDI_APP 2
+
+#define IDC_EDIT 10
+#define IDC_LABEL 11
+#define IDC_UTF8 12
+#define IDC_GBK 13
+#define IDC_ENC 21
+#define IDC_DEC 22
+#define IDC_FORMAT 23
+#define IDC_MINIFY 24
+#define IDC_TIME2STR 25
+#define IDC_STR2TIME 26
+
+#define IDM_MAIN 100
+#define IDM_BASE64 101
+#define IDM_URL 102
+#define IDM_MD5 103
+#define IDM_SHA1 104
+#define IDM_JSON 105
+#define IDM_TIME 106
+#define IDM_ABOUT 107
+
+#define IDD_ACCEL 200
+#define IDD_SELECT 201
+#define IDD_QUIT 202
+#define IDD_FOCUS 203
+#define IDD_UTF8 204
+#define IDD_GBK 205
+
+#endif