• R/O
  • SSH
  • HTTPS

bchan: 提交


Commit MetaInfo

修訂453 (tree)
時間2012-04-30 21:42:47
作者ornse01

Log Message

change and add menu item for external bbs.

Change Summary

差異

--- bchanl/trunk/src/bchanl_menus.c (revision 452)
+++ bchanl/trunk/src/bchanl_menus.c (revision 453)
@@ -1,7 +1,7 @@
11 /*
22 * bchanl_menus.c
33 *
4- * Copyright (c) 2011 project bchan
4+ * Copyright (c) 2011-2012 project bchan
55 *
66 * This software is provided 'as-is', without any express or implied
77 * warranty. In no event will the authors be held liable for any damages
@@ -40,7 +40,7 @@
4040 # define DP_ER(msg, err) /**/
4141 #endif
4242
43-#define BCHANL_MAINMENU_ITEMNUM_WINDOW 3
43+#define BCHANL_MAINMENU_ITEMNUM_WINDOW 4
4444 #define BCHANL_MAINMENU_ITEMNUM_GADGET (BCHANL_MAINMENU_ITEMNUM_WINDOW + 1)
4545
4646 EXPORT W bchanl_mainmenu_setup(bchanl_mainmenu_t *mainmenu, Bool subectjoptionenable)
--- bchanl/trunk/src/bchanl.d (revision 452)
+++ bchanl/trunk/src/bchanl.d (revision 453)
@@ -44,6 +44,7 @@
4444 .WS_SBJTOPT_ODR = 31
4545 .WS_SBJTOPT_ODRBY = 32
4646 .TEXT_CATE_EXTBBS = 33
47+.TEXT_MLIST3 = 34
4748
4849 --- for subject option window layout values.
4950
@@ -113,9 +114,17 @@
113114
114115 {# TEXT_MLIST2 0 0} -- data number
115116 MC_STR "操作"
116- MC_STR "板一覧再取得"
117- MC_STR "外部板の追加\0"
117+ MC_STR "板一覧再取得\0"
118118
119+ {# TEXT_MLIST3 0 0} -- data number
120+ MC_STR "外部板"
121+ MC_IND "外部板管理"
122+ MC_LINE
123+ MC_STR "板追加"
124+ MC_STR "一つ上げる"
125+ MC_STR "一つ下げる"
126+ MC_STR "削除\0"
127+
119128 {# TEXT_WTIT_BBSMENU 0 0} -- data number
120129 "2ちゃんねる板一覧\0"
121130
@@ -142,6 +151,7 @@
142151 0L 0L 0L TEXT_MLIST0:L 0L -- mlist0
143152 0L 0L 0L TEXT_MLIST1:L 0L -- mlist1
144153 0L 0L 0L TEXT_MLIST2:L 0L -- mlist2
154+ 0L 0L 0L TEXT_MLIST3:L 0L -- mlist2
145155 0L 0L 0L 0L 0L -- [ウィンドウ]
146156 0L 0L 0L 0L 0L -- [小物]
147157
Show on old repository browser