| OLD | NEW | 
|---|
| 1 // Copyright 2014 PDFium Authors. All rights reserved. | 1 // Copyright 2014 PDFium Authors. All rights reserved. | 
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be | 
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. | 
| 4 | 4 | 
| 5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com | 5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com | 
| 6 | 6 | 
| 7 #ifndef _PWL_SPECIALBUTTON_H_ | 7 #ifndef _PWL_SPECIALBUTTON_H_ | 
| 8 #define _PWL_SPECIALBUTTON_H_ | 8 #define _PWL_SPECIALBUTTON_H_ | 
| 9 | 9 | 
| 10 #if _MSC_VER > 1000 | 10 #if _MSC_VER > 1000 | 
| (...skipping 12 matching lines...) Expand all  Loading... | 
| 23 }; | 23 }; | 
| 24 | 24 | 
| 25 class PWL_CLASS CPWL_CheckBox : public CPWL_Button | 25 class PWL_CLASS CPWL_CheckBox : public CPWL_Button | 
| 26 { | 26 { | 
| 27 public: | 27 public: | 
| 28         CPWL_CheckBox(); | 28         CPWL_CheckBox(); | 
| 29         virtual ~CPWL_CheckBox(); | 29         virtual ~CPWL_CheckBox(); | 
| 30 | 30 | 
| 31 public: | 31 public: | 
| 32         virtual CFX_ByteString          GetClassName() const; | 32         virtual CFX_ByteString          GetClassName() const; | 
| 33 »       virtual FX_BOOL»»       »       »       OnLButtonUp(const CPDF_Point & p
    oint); | 33 »       virtual FX_BOOL»»       »       »       OnLButtonUp(const CPDF_Point & p
    oint, FX_DWORD nFlag); | 
| 34 »       virtual FX_BOOL»»       »       »       OnChar(FX_WORD nChar); | 34 »       virtual FX_BOOL»»       »       »       OnChar(FX_WORD nChar, FX_DWORD n
    Flag); | 
| 35 | 35 | 
| 36         void                                            SetCheck(FX_BOOL bCheck)
    ; | 36         void                                            SetCheck(FX_BOOL bCheck)
    ; | 
| 37         FX_BOOL                                         IsChecked() const; | 37         FX_BOOL                                         IsChecked() const; | 
| 38 | 38 | 
| 39 private: | 39 private: | 
| 40         FX_BOOL                                         m_bChecked; | 40         FX_BOOL                                         m_bChecked; | 
| 41 }; | 41 }; | 
| 42 | 42 | 
| 43 class PWL_CLASS CPWL_RadioButton : public CPWL_Button | 43 class PWL_CLASS CPWL_RadioButton : public CPWL_Button | 
| 44 { | 44 { | 
| 45 public: | 45 public: | 
| 46         CPWL_RadioButton(); | 46         CPWL_RadioButton(); | 
| 47         virtual ~CPWL_RadioButton(); | 47         virtual ~CPWL_RadioButton(); | 
| 48 | 48 | 
| 49 public: | 49 public: | 
| 50         virtual CFX_ByteString          GetClassName() const; | 50         virtual CFX_ByteString          GetClassName() const; | 
| 51 »       virtual FX_BOOL»»       »       »       OnLButtonUp(const CPDF_Point & p
    oint); | 51 »       virtual FX_BOOL»»       »       »       OnLButtonUp(const CPDF_Point & p
    oint, FX_DWORD nFlag); | 
| 52 »       virtual FX_BOOL»»       »       »       OnChar(FX_WORD nChar); | 52 »       virtual FX_BOOL»»       »       »       OnChar(FX_WORD nChar, FX_DWORD n
    Flag); | 
| 53 | 53 | 
| 54         void                                            SetCheck(FX_BOOL bCheck)
    ; | 54         void                                            SetCheck(FX_BOOL bCheck)
    ; | 
| 55         FX_BOOL                                         IsChecked() const; | 55         FX_BOOL                                         IsChecked() const; | 
| 56 | 56 | 
| 57 private: | 57 private: | 
| 58         FX_BOOL                                         m_bChecked; | 58         FX_BOOL                                         m_bChecked; | 
| 59 }; | 59 }; | 
| 60 | 60 | 
| 61 #endif | 61 #endif | 
| 62 | 62 | 
| 63 | 63 | 
| OLD | NEW | 
|---|