OSDN Git Service

リスナー設定ウィンドウ作成
authorunknown <qwerty2501@users.sourceforge.jp>
Fri, 10 Feb 2012 07:56:42 +0000 (16:56 +0900)
committerunknown <qwerty2501@users.sourceforge.jp>
Fri, 10 Feb 2012 07:56:42 +0000 (16:56 +0900)
nlite.suo
nlite/Resource.h
nlite/nlite.rc
nlite/nlite_chatData.cpp
nlite/nlite_chatData.h

index 4cd1fe9..8ef494f 100644 (file)
Binary files a/nlite.suo and b/nlite.suo differ
index 7651f38..ccd8d20 100644 (file)
 #define IDD_DIALOG_VIEW_PROPERTY                213
 #define IDD_DIALOG_GENERAL_PAGE                 216
 #define IDD_ADDMYLISTDIALOG                     219
+#define IDD_LISTENER_SETTING_DIALOG             220
+#define IDC_BUTTON1                             1000
 #define IDC_EDIT1                               1000
+#define IDC_BUTTON2                             1001
 #define IDC_BUTTON_COOKIE_OK                    1001
+#define IDC_EDIT2                               1002
 #define IDC_APPLY                               1003
 #define IDC_RADIO_IE                            1005
 #define IDM_COOKIE                              30000
index 82323cd..b2885ad 100644 (file)
@@ -114,6 +114,26 @@ FONT 8, "Ms Shell Dlg"
 
 
 
+LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL
+IDD_LISTENER_SETTING_DIALOG DIALOG 0, 0, 119, 113
+STYLE DS_3DLOOK | DS_CENTER | DS_MODALFRAME | DS_SHELLFONT | WS_CAPTION | WS_VISIBLE | WS_POPUP | WS_SYSMENU
+EXSTYLE WS_EX_WINDOWEDGE
+FONT 8, "Ms Shell Dlg"
+{
+    LTEXT           "\83j\83b\83N\83l\81[\83\80", IDC_STATIC, 13, 31, 34, 8, SS_LEFT
+    LTEXT           "\94w\8ci\90F", IDC_STATIC, 14, 69, 23, 8, SS_LEFT
+    LTEXT           "\83j\83b\83N\83l\81[\83\80\82Ì\90F", IDC_STATIC, 13, 49, 47, 8, SS_LEFT
+    PUSHBUTTON      "", IDC_BUTTON1, 69, 47, 35, 14
+    PUSHBUTTON      "", IDC_BUTTON2, 70, 70, 34, 14
+    EDITTEXT        IDC_EDIT2, 69, 27, 35, 14, ES_AUTOHSCROLL
+    PUSHBUTTON      "OK", IDOK, 25, 88, 32, 14
+    PUSHBUTTON      "\83L\83\83\83\93\83Z\83\8b", IDCANCEL, 67, 89, 33, 14
+    LTEXT           "\83\86\81[\83UID", IDC_STATIC, 13, 10, 26, 8, SS_LEFT
+    LTEXT           "", IDC_STATIC, 69, 10, 34, 8, SS_LEFT
+}
+
+
+
 //
 // String Table resources
 //
index fcee389..bc2d1b8 100644 (file)
@@ -18,7 +18,7 @@ struct ListenerPre{
        bool operator()(CListenerList::reference listenerData){
 
                
-               return (user.user_id == listenerData.user_id) && (user.community == listenerData.community);
+               return (user.user_id == listenerData.user_id)/* && (user.community == listenerData.community)*/;
        }
 
 };
@@ -35,7 +35,8 @@ name(TEXT("")),
 community(TEXT("")),
 bgcolor(INIT_COLOR),
 writePropertyFlag(FALSE),
-time(0)
+time(0),
+onlyCommunityFlag(FALSE)
 {}
 
 VOID ListenerData::SetBkColor(COLORREF bkColor_in){
index fae41f6..ab6e1a6 100644 (file)
@@ -28,8 +28,8 @@ namespace nlite{
                CNLiteString community;                                 //\93o\98^\82µ\82½\83R\83~\83\85\83j\83e\83B
                COLORREF bgcolor;                                               //\94w\8ci\90F
                time_t time;                                                    //\93o\98^\8e\9e\8aÔ
-               BOOL writePropertyFlag;                                         //\83v\83\8d\83p\83e\83B\8f\91\82«\8d\9e\82Ý\83t\83\89\83O
-//             BOOL originBkFlag;                                              //\94w\8ci\90F\90Ý\92è\83t\83\89\83O
+               BOOL writePropertyFlag;                                 //\83v\83\8d\83p\83e\83B\8f\91\82«\8d\9e\82Ý\83t\83\89\83O
+               BOOL onlyCommunityFlag;
        public:
 
                enum {