11 typedef CommentInfo<COLORREF> CommentColorInfo;
12 typedef CommentInfo<LPCTSTR> CommentSizeInfo;
13 typedef CommentInfo<LPCTSTR> CommentPosInfo;
15 class CNicoLiveStream;
18 ///
\88ê
\94Ê
\89ï
\88õ
\83R
\83}
\83\93\83h
20 namespace generalUser{
22 ///
\88ê
\94Ê
\89ï
\88õ
\83R
\83\81\83\93\83g
\90F
\83\8a\83X
\83g
24 extern const CommentColorInfo COMMENT_COLORLIST[];
27 ///
\88ê
\94Ê
\89ï
\88õ
\83T
\83C
\83Y
\83R
\83}
\83\93\83h
\83\8a\83X
\83g
29 extern const CommentSizeInfo COMMENT_SIZELIST[];
32 ///
\88ê
\94Ê
\89ï
\88õ
\83R
\83\81\83\93\83g
\88Ê
\92u
\83\8a\83X
\83g
34 extern const CommentPosInfo COMMENT_POSLIST[];
39 ///
\83v
\83\8c\83~
\83A
\83\80\89ï
\88õ
\83R
\83}
\83\93\83h
41 namespace premiumUser{
43 ///
\83v
\83\8c\83~
\83A
\83\80\89ï
\88õ
\83R
\83\81\83\93\83g
\90F
\83\8a\83X
\83g
45 extern const CommentColorInfo COMMENT_COLORLIST[];
49 ///
\83v
\83\8c\83~
\83A
\83\80\89ï
\88õ
\83T
\83C
\83Y
\83R
\83}
\83\93\83h
\83\8a\83X
\83g
51 extern const CommentSizeInfo COMMENT_SIZELIST[];
54 ///
\83v
\83\8c\83~
\83A
\83\80\89ï
\88õ
\83R
\83\81\83\93\83g
\88Ê
\92u
\83\8a\83X
\83g
56 extern const CommentPosInfo COMMENT_POSLIST[];
62 const static LPCTSTR COMMENTWRITEWINDOW = TEXT("commentWriteWindow");
64 class CCommentWriteWindow:public CWindowImpl<CCommentWriteWindow>{
67 CComboBox commentPosBox;
68 CComAutoCriticalSection commentPosBoxCS;
69 CComboBox commentSizeBox;
70 CComAutoCriticalSection commentSizeBoxCS;
71 CComboBox commentColorBox;
72 CButton anonymousButton;
74 CButton commentWriteButton;
75 UINT_PTR commentWriteMaxLength;
76 UINT_PTR commentWriteInternalHeight;
77 CNicoLiveStream &nicoLiveStream;
85 COMMENTWRITE_BOTTON = 6,
90 UINT_PTR commentWriteHeight;
93 CCommentWriteWindow(CNicoLiveStream &nicoLiveStream);
97 DECLARE_WND_CLASS(COMMENTWRITEWINDOW)
98 //
\83\81\83b
\83Z
\81[
\83W
\83}
\83b
\83v
99 BEGIN_MSG_MAP(CCommentWriteWindow)
100 MSG_WM_CREATE(OnCreate)
101 MSG_WM_DESTROY(OnDestroy)
102 MSG_WM_SIZING(OnSizing)
103 MSG_WM_PAINT(OnPaint)
105 MSG_WM_ERASEBKGND(OnEraseBkGnd)
106 MSG_WM_DRAWITEM(OnDrawItem)
107 MSG_WM_MEASUREITEM(OnMeasureItem)
111 CCommentWriteWindow();
114 //
\83\81\83b
\83Z
\81[
\83W
\83n
\83\93\83h
\83\89
117 LRESULT OnCreate(LPCREATESTRUCT lpReateStruct);
122 VOID OnSizing(UINT wParam,LPRECT lParam);
124 VOID OnPaint(HDC hdc);
126 LRESULT OnSize(UINT wParam,SIZE lParam);
128 VOID ChangeSize(SIZE &size);
130 VOID OnDrawItem(UINT wParam,LPDRAWITEMSTRUCT lParam);
132 VOID OnMeasureItem(UINT wParam,LPMEASUREITEMSTRUCT lParam);
134 LRESULT OnEraseBkGnd(HDC wParam);