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 #include "../../include/pdfwindow/PDFWindow.h" | 7 #include "fpdfsdk/include/pdfwindow/PDFWindow.h" |
8 #include "../../include/pdfwindow/PWL_Wnd.h" | 8 #include "fpdfsdk/include/pdfwindow/PWL_Button.h" |
9 #include "../../include/pdfwindow/PWL_Button.h" | 9 #include "fpdfsdk/include/pdfwindow/PWL_SpecialButton.h" |
10 #include "../../include/pdfwindow/PWL_SpecialButton.h" | 10 #include "fpdfsdk/include/pdfwindow/PWL_Utils.h" |
11 #include "../../include/pdfwindow/PWL_Utils.h" | 11 #include "fpdfsdk/include/pdfwindow/PWL_Wnd.h" |
12 | 12 |
13 /* --------------------------- CPWL_PushButton ---------------------------- */ | 13 /* --------------------------- CPWL_PushButton ---------------------------- */ |
14 | 14 |
15 CPWL_PushButton::CPWL_PushButton() {} | 15 CPWL_PushButton::CPWL_PushButton() {} |
16 | 16 |
17 CPWL_PushButton::~CPWL_PushButton() {} | 17 CPWL_PushButton::~CPWL_PushButton() {} |
18 | 18 |
19 CFX_ByteString CPWL_PushButton::GetClassName() const { | 19 CFX_ByteString CPWL_PushButton::GetClassName() const { |
20 return "CPWL_PushButton"; | 20 return "CPWL_PushButton"; |
21 } | 21 } |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
78 } | 78 } |
79 | 79 |
80 FX_BOOL CPWL_RadioButton::IsChecked() const { | 80 FX_BOOL CPWL_RadioButton::IsChecked() const { |
81 return m_bChecked; | 81 return m_bChecked; |
82 } | 82 } |
83 | 83 |
84 FX_BOOL CPWL_RadioButton::OnChar(FX_WORD nChar, FX_DWORD nFlag) { | 84 FX_BOOL CPWL_RadioButton::OnChar(FX_WORD nChar, FX_DWORD nFlag) { |
85 SetCheck(TRUE); | 85 SetCheck(TRUE); |
86 return TRUE; | 86 return TRUE; |
87 } | 87 } |
OLD | NEW |