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 "fpdfsdk/include/formfiller/FFL_RadioButton.h" |
| 8 |
7 #include "fpdfsdk/include/formfiller/FFL_FormFiller.h" | 9 #include "fpdfsdk/include/formfiller/FFL_FormFiller.h" |
8 #include "fpdfsdk/include/formfiller/FFL_RadioButton.h" | 10 #include "fpdfsdk/include/fsdk_mgr.h" |
9 #include "fpdfsdk/include/formfiller/FormFiller.h" | 11 #include "fpdfsdk/include/pdfwindow/PWL_SpecialButton.h" |
10 | |
11 /* ------------------------------- CFFL_RadioButton | |
12 * ------------------------------- */ | |
13 | 12 |
14 CFFL_RadioButton::CFFL_RadioButton(CPDFDoc_Environment* pApp, | 13 CFFL_RadioButton::CFFL_RadioButton(CPDFDoc_Environment* pApp, |
15 CPDFSDK_Annot* pWidget) | 14 CPDFSDK_Annot* pWidget) |
16 : CFFL_Button(pApp, pWidget) {} | 15 : CFFL_Button(pApp, pWidget) {} |
17 | 16 |
18 CFFL_RadioButton::~CFFL_RadioButton() {} | 17 CFFL_RadioButton::~CFFL_RadioButton() {} |
19 | 18 |
20 CPWL_Wnd* CFFL_RadioButton::NewPDFWindow(const PWL_CREATEPARAM& cp, | 19 CPWL_Wnd* CFFL_RadioButton::NewPDFWindow(const PWL_CREATEPARAM& cp, |
21 CPDFSDK_PageView* pPageView) { | 20 CPDFSDK_PageView* pPageView) { |
22 CPWL_RadioButton* pWnd = new CPWL_RadioButton(); | 21 CPWL_RadioButton* pWnd = new CPWL_RadioButton(); |
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
113 } | 112 } |
114 } | 113 } |
115 } | 114 } |
116 } | 115 } |
117 | 116 |
118 m_pWidget->SetCheck(bNewChecked, FALSE); | 117 m_pWidget->SetCheck(bNewChecked, FALSE); |
119 m_pWidget->UpdateField(); | 118 m_pWidget->UpdateField(); |
120 SetChangeMark(); | 119 SetChangeMark(); |
121 } | 120 } |
122 } | 121 } |
OLD | NEW |