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_Caret.h" |
10 #include "../../include/pdfwindow/PWL_EditCtrl.h" | 10 #include "fpdfsdk/include/pdfwindow/PWL_Edit.h" |
11 #include "../../include/pdfwindow/PWL_Edit.h" | 11 #include "fpdfsdk/include/pdfwindow/PWL_Edit.h" |
12 #include "../../include/pdfwindow/PWL_ListCtrl.h" | 12 #include "fpdfsdk/include/pdfwindow/PWL_EditCtrl.h" |
13 #include "../../include/pdfwindow/PWL_ScrollBar.h" | 13 #include "fpdfsdk/include/pdfwindow/PWL_Label.h" |
14 #include "../../include/pdfwindow/PWL_Note.h" | 14 #include "fpdfsdk/include/pdfwindow/PWL_ListCtrl.h" |
15 #include "../../include/pdfwindow/PWL_Label.h" | 15 #include "fpdfsdk/include/pdfwindow/PWL_Note.h" |
16 #include "../../include/pdfwindow/PWL_Edit.h" | 16 #include "fpdfsdk/include/pdfwindow/PWL_ScrollBar.h" |
17 #include "../../include/pdfwindow/PWL_ScrollBar.h" | 17 #include "fpdfsdk/include/pdfwindow/PWL_ScrollBar.h" |
18 #include "../../include/pdfwindow/PWL_Utils.h" | 18 #include "fpdfsdk/include/pdfwindow/PWL_Utils.h" |
19 #include "../../include/pdfwindow/PWL_Caret.h" | 19 #include "fpdfsdk/include/pdfwindow/PWL_Wnd.h" |
20 | 20 |
21 #define POPUP_ITEM_HEAD_BOTTOM 3.0f | 21 #define POPUP_ITEM_HEAD_BOTTOM 3.0f |
22 #define POPUP_ITEM_BOTTOMWIDTH 1.0f | 22 #define POPUP_ITEM_BOTTOMWIDTH 1.0f |
23 #define POPUP_ITEM_SIDEMARGIN 3.0f | 23 #define POPUP_ITEM_SIDEMARGIN 3.0f |
24 #define POPUP_ITEM_SPACE 4.0f | 24 #define POPUP_ITEM_SPACE 4.0f |
25 #define POPUP_ITEM_TEXT_INDENT 2.0f | 25 #define POPUP_ITEM_TEXT_INDENT 2.0f |
26 #define POPUP_ITEM_BORDERCOLOR \ | 26 #define POPUP_ITEM_BORDERCOLOR \ |
27 CPWL_Color(COLORTYPE_RGB, 80 / 255.0f, 80 / 255.0f, 80 / 255.0f) | 27 CPWL_Color(COLORTYPE_RGB, 80 / 255.0f, 80 / 255.0f, 80 / 255.0f) |
28 | 28 |
29 #define IsFloatZero(f) ((f) < 0.0001 && (f) > -0.0001) | 29 #define IsFloatZero(f) ((f) < 0.0001 && (f) > -0.0001) |
(...skipping 1576 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1606 m_pContents->EnableRead(bEnabled); | 1606 m_pContents->EnableRead(bEnabled); |
1607 } | 1607 } |
1608 | 1608 |
1609 CFX_WideString CPWL_Note::GetReplyString() const { | 1609 CFX_WideString CPWL_Note::GetReplyString() const { |
1610 return m_sReplyString; | 1610 return m_sReplyString; |
1611 } | 1611 } |
1612 | 1612 |
1613 void CPWL_Note::SetReplyString(const CFX_WideString& string) { | 1613 void CPWL_Note::SetReplyString(const CFX_WideString& string) { |
1614 m_sReplyString = string; | 1614 m_sReplyString = string; |
1615 } | 1615 } |
OLD | NEW |