OSDN Git Service

余分な処理を削除
[nlite/nlite.git] / nlite / nlite_property.h
index 140bd2a..048d462 100644 (file)
@@ -2,76 +2,12 @@
 
 namespace nlite{
 
-       ///
-       ///\83v\83\8d\83p\83e\83B\83x\81[\83X\83N\83\89\83X
-       ///
-       struct PropertyBase{
-
-       private:
-               CNLiteString sectionName;                                       //\83Z\83N\83V\83\87\83\93\96¼
-
-       public:
-               ///
-               ///\83R\83\93\83X\83g\83\89\83N\83^
-               ///
-               PropertyBase(LPCTSTR in_sectionName);
-
-               ///
-               ///\83Z\83N\83V\83\87\83\93\96¼\8eæ\93¾
-               ///
-               LPCTSTR GetSectionName();
-       };
 
 
        ///
-       ///\83N\83b\83L\81[\90Ý\92è\97p\83E\83B\83\93\83h\83E
-       ///
-       class CCookieSettingWindow:public CDialogImpl<CCookieSettingWindow>{
-               
-       private:
-               BROWSERTYPE browserType;
-
-       public:
-               enum { IDD = IDD_DIALOG_BROWSERTYPE };
-
-               BEGIN_MSG_MAP(CMainDlg)
-                       MSG_WM_INITDIALOG(OnInitDialog)
-                       COMMAND_ID_HANDLER_EX(IDC_BUTTON_COOKIE_OK, OnOK)
-                       COMMAND_ID_HANDLER_EX(IDCANCEL, OnCancel)
-               END_MSG_MAP()
-
-               VOID SetBrowserType(BROWSERTYPE browserType);
-
-               BROWSERTYPE GetBrowserType();
-
-       private:
-               ///
-               ///\83_\83C\83A\83\8d\83O\8f\89\8aú\89»\8e\9e\82É\8cÄ\82Î\82ê\82é
-               ///
-               BOOL OnInitDialog(CWindow wndFocus, LPARAM lInitParam);
-
-               ///
-               ///OK\83{\83^\83\93\89\9f\89º\8e\9e\82Ì\93®\8dì
-               ///
-               VOID OnOK(UINT uNotifyCode, int nID, CWindow wndCtl);
-
-
-               ///
-               ///\83L\83\83\83\93\83Z\83\8b\83{\83^\83\93\89\9f\89º\8e\9e\82Ì\93®\8dì
-               ///
-               VOID OnCancel(UINT uNotifyCode, int nID, CWindow wndCtl);
-
-               
-
-               
-
-
-       };
-
-       ///
        ///\83R\83\81\83\93\83g\83r\83\85\81[\90Ý\92è
        ///
-       struct CommentViewProperty:public PropertyBase{
+       struct CommentViewProperty{
 
                
                enum CommentTimeType{
@@ -82,17 +18,22 @@ namespace nlite{
 
        
        
-#define COMMENTVIEW_HEADERITEMSIZE 5
+
        public:
                INT_PTR headerholSize[COMMENTVIEW_HEADERITEMSIZE];                      //\83w\83b\83_\89¡\83T\83C\83Y
-               INT_PTR headerOraderArray[COMMENTVIEW_HEADERITEMSIZE];          //\83w\83b\83_\95À\82Ñ\8f\87\94z\97ñ
+               INT_PTR headerOrderArray[COMMENTVIEW_HEADERITEMSIZE];           //\83w\83b\83_\95À\82Ñ\8f\87\94z\97ñ
                BOOL commentFoldingFlag;                                                                        //\83R\83\81\83\93\83g\90Ü\82è\82½\82½\82Ý\83t\83\89\83O
                UINT_PTR commentTimeType;                                                                       //\83R\83\81\83\93\83g\8e\9e\8aÔ\95\\8e¦\83^\83C\83v
                COLORREF backColor;                                                                                     //\8aî\92ê\82Ì\94w\8ci\90F
+               COLORREF selectBackColor;                                                                       //\91I\91ð\8e\9e\82Ì\94w\8ci\90F
+               COLORREF selectSellLineColor;                                                           //\91I\91ð\8e\9e\82Ì\98g\90ü
+               COLORREF normalSellLineColor;                                                           //\92Ê\8fí\8e\9e\82Ì\98g\90ü
                COLORREF baseStringColor;                                                                       //\8aî\92ê\82Ì\95\8e\9a\90F
-               COLORREF IDLinkColor;                                                                           //\8aî\92ê\82Ì\83n\83C\83p\81[\83\8a\83\93\83N\82Ì\90F
+               COLORREF ownerStringColor;                                                                      //\89^\89c\95\8e\9a\90F
+               COLORREF linkStringColor;                                                                               //\8aî\92ê\82Ì\83n\83C\83p\81[\83\8a\83\93\83N\82Ì\90F
                COLORREF anonymousIDLinkColor;                                                          //\93½\96¼ID\95\\8e¦\90F
-               COLORREF lineColor;                                                                                     //\8b«\8aE\90ü\82Ì\90F
+               COLORREF colLineColor;                                                                          //\8d\80\96Ú\82Ì\8fc\90ü
+
 
                ///
                ///\83R\83\93\83X\83g\83\89\83N\83^
@@ -103,7 +44,7 @@ namespace nlite{
        ///
        ///\83R\83\81\83\93\83g\93Ç\82Ý\8fã\82°\90Ý\92è
        ///
-       struct CommentReadProperty:public PropertyBase{
+       struct CommentReadProperty{
 
        public:
 
@@ -129,14 +70,14 @@ namespace nlite{
        ///
        ///\88ê\94Ê\90Ý\92è
        ///
-       struct GeneralProperty:public PropertyBase{
+       struct GeneralProperty{
 
        public:
                CNLiteString browserPath;                                       //\83u\83\89\83E\83U\82Ì\83p\83X
                BOOL userCountUpdateFlag;                                       //\97\88\8fê\8eÒ\90\94\82ð\8dX\90V\82·\82é\82©\82Ì\83t\83\89\83O
                BOOL commentLogAutoSaveFlag;                            //\83R\83\81\83\93\83g\8e©\93®\95Û\91\97p\82Ì\83t\83\89\83O
                CNLiteString commentPath;                                       //\83R\83\81\83\93\83g\83\8d\83O\95Û\91\8fê\8f\8a
-               BOOL defaultBrowserFlag;                                                //\83\8a\83\93\83N\82ð\8aJ\82­\8dÛ\82É\8aî\92ê\82Ì\83u\83\89\83E\83U\82ð\8eg\97p\82·\82é\82©\82Ì\83t\83\89\83O
+               BOOL defaultBrowserFlag;                                        //\83\8a\83\93\83N\82ð\8aJ\82­\8dÛ\82É\8aî\92ê\82Ì\83u\83\89\83E\83U\82ð\8eg\97p\82·\82é\82©\82Ì\83t\83\89\83O
                BOOL autoNameRegisterFlag;                                      //\83\86\81[\83U\96¼\8e©\93®\93o\98^\83t\83\89\83O
                BOOL autoNameUpdateFlag;                                        //\8dX\90V\82µ\82Ä\8e©\93®\93o\98^\82·\82é\83t\83\89\83O
                BOOL numberNameFlag;                                            //\90\94\8e\9a\82Ì\82Ý\82Ì\96¼\91O\82ð\8b\96\89Â\82·\82é\82©\82Ì\83t\83\89\83O
@@ -156,7 +97,7 @@ namespace nlite{
        ///
        ///\83\81\83C\83\93\90Ý\92è
        ///
-       struct MainFrameProperty:public PropertyBase{
+       struct MainFrameProperty{
 
 
        public: