Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(653)

Side by Side Diff: fpdfsdk/include/pdfwindow/PWL_IconList.h

Issue 1513363002: Remove CFX_AffineMatrix/CPDF_Matrix (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Nits Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « fpdfsdk/include/pdfwindow/PWL_Icon.h ('k') | fpdfsdk/include/pdfwindow/PWL_Label.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 FPDFSDK_INCLUDE_PDFWINDOW_PWL_ICONLIST_H_ 7 #ifndef FPDFSDK_INCLUDE_PDFWINDOW_PWL_ICONLIST_H_
8 #define FPDFSDK_INCLUDE_PDFWINDOW_PWL_ICONLIST_H_ 8 #define FPDFSDK_INCLUDE_PDFWINDOW_PWL_ICONLIST_H_
9 9
10 #include "PWL_ListCtrl.h" 10 #include "PWL_ListCtrl.h"
(...skipping 25 matching lines...) Expand all
36 void SetIconFillColor(const CPWL_Color& color); 36 void SetIconFillColor(const CPWL_Color& color);
37 CFX_WideString GetText() const; 37 CFX_WideString GetText() const;
38 38
39 protected: 39 protected:
40 // CPWL_Wnd 40 // CPWL_Wnd
41 CFX_ByteString GetClassName() const override; 41 CFX_ByteString GetClassName() const override;
42 void CreateChildWnd(const PWL_CREATEPARAM& cp) override; 42 void CreateChildWnd(const PWL_CREATEPARAM& cp) override;
43 void RePosChildWnd() override; 43 void RePosChildWnd() override;
44 FX_FLOAT GetItemHeight(FX_FLOAT fLimitWidth) override; 44 FX_FLOAT GetItemHeight(FX_FLOAT fLimitWidth) override;
45 void DrawThisAppearance(CFX_RenderDevice* pDevice, 45 void DrawThisAppearance(CFX_RenderDevice* pDevice,
46 CPDF_Matrix* pUser2Device) override; 46 CFX_Matrix* pUser2Device) override;
47 void OnEnabled() override; 47 void OnEnabled() override;
48 void OnDisabled() override; 48 void OnDisabled() override;
49 49
50 private: 50 private:
51 int32_t m_nIconIndex; 51 int32_t m_nIconIndex;
52 void* m_pData; 52 void* m_pData;
53 FX_BOOL m_bSelected; 53 FX_BOOL m_bSelected;
54 CPWL_Label* m_pText; 54 CPWL_Label* m_pText;
55 CPWL_Color m_crIcon; 55 CPWL_Color m_crIcon;
56 }; 56 };
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
120 FX_DWORD msg, 120 FX_DWORD msg,
121 intptr_t wParam = 0, 121 intptr_t wParam = 0,
122 intptr_t lParam = 0) override; 122 intptr_t lParam = 0) override;
123 123
124 private: 124 private:
125 CPWL_IconList_Content* m_pListContent; 125 CPWL_IconList_Content* m_pListContent;
126 int32_t m_nListCount; 126 int32_t m_nListCount;
127 }; 127 };
128 128
129 #endif // FPDFSDK_INCLUDE_PDFWINDOW_PWL_ICONLIST_H_ 129 #endif // FPDFSDK_INCLUDE_PDFWINDOW_PWL_ICONLIST_H_
OLDNEW
« no previous file with comments | « fpdfsdk/include/pdfwindow/PWL_Icon.h ('k') | fpdfsdk/include/pdfwindow/PWL_Label.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698