From: unknown Date: Fri, 10 Feb 2012 07:56:42 +0000 (+0900) Subject: リスナー設定ウィンドウ作成 X-Git-Tag: v0.002~2^2~4 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=ee003ff2e101904939c034dc17db115307442973;p=nlite%2Fnlite.git リスナー設定ウィンドウ作成 --- diff --git a/nlite.suo b/nlite.suo index 4cd1fe9..8ef494f 100644 Binary files a/nlite.suo and b/nlite.suo differ diff --git a/nlite/Resource.h b/nlite/Resource.h index 7651f38..ccd8d20 100644 --- a/nlite/Resource.h +++ b/nlite/Resource.h @@ -11,8 +11,12 @@ #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 diff --git a/nlite/nlite.rc b/nlite/nlite.rc index 82323cd..b2885ad 100644 --- a/nlite/nlite.rc +++ b/nlite/nlite.rc @@ -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 "ƒjƒbƒNƒl[ƒ€", IDC_STATIC, 13, 31, 34, 8, SS_LEFT + LTEXT "”wŒiF", IDC_STATIC, 14, 69, 23, 8, SS_LEFT + LTEXT "ƒjƒbƒNƒl[ƒ€‚̐F", 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 "ƒLƒƒƒ“ƒZƒ‹", IDCANCEL, 67, 89, 33, 14 + LTEXT "ƒ†[ƒUID", IDC_STATIC, 13, 10, 26, 8, SS_LEFT + LTEXT "", IDC_STATIC, 69, 10, 34, 8, SS_LEFT +} + + + // // String Table resources // diff --git a/nlite/nlite_chatData.cpp b/nlite/nlite_chatData.cpp index fcee389..bc2d1b8 100644 --- a/nlite/nlite_chatData.cpp +++ b/nlite/nlite_chatData.cpp @@ -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){ diff --git a/nlite/nlite_chatData.h b/nlite/nlite_chatData.h index fae41f6..ab6e1a6 100644 --- a/nlite/nlite_chatData.h +++ b/nlite/nlite_chatData.h @@ -28,8 +28,8 @@ namespace nlite{ CNLiteString community; //“o˜^‚µ‚½ƒRƒ~ƒ…ƒjƒeƒB COLORREF bgcolor; //”wŒiF time_t time; //“o˜^ŽžŠÔ - BOOL writePropertyFlag; //ƒvƒƒpƒeƒB‘‚«ž‚݃tƒ‰ƒO -// BOOL originBkFlag; //”wŒiFÝ’èƒtƒ‰ƒO + BOOL writePropertyFlag; //ƒvƒƒpƒeƒB‘‚«ž‚݃tƒ‰ƒO + BOOL onlyCommunityFlag; public: enum {