Cleanup: Get this rid of "this->" in fpdfsdk/
[pdfium.git] / fpdfsdk / include / pdfwindow / PWL_ListBox.h
index c5a6df7..97a4529 100644 (file)
@@ -1,7 +1,7 @@
 // Copyright 2014 PDFium Authors. All rights reserved.
 // Use of this source code is governed by a BSD-style license that can be
 // found in the LICENSE file.
+
 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
 
 #ifndef FPDFSDK_INCLUDE_PDFWINDOW_PWL_LISTBOX_H_
@@ -21,11 +21,11 @@ public:
        CPWL_List_Notify(CPWL_ListBox * pList);
        virtual ~CPWL_List_Notify();
 
-       void                                                    IOnSetScrollInfoX(FX_FLOAT fPlateMin, FX_FLOAT fPlateMax, 
-                                                                                               FX_FLOAT fContentMin, FX_FLOAT fContentMax, 
+       void                                                    IOnSetScrollInfoX(FX_FLOAT fPlateMin, FX_FLOAT fPlateMax,
+                                                                                               FX_FLOAT fContentMin, FX_FLOAT fContentMax,
                                                                                                FX_FLOAT fSmallStep, FX_FLOAT fBigStep){}
-       void                                                    IOnSetScrollInfoY(FX_FLOAT fPlateMin, FX_FLOAT fPlateMax, 
-                                                                                               FX_FLOAT fContentMin, FX_FLOAT fContentMax, 
+       void                                                    IOnSetScrollInfoY(FX_FLOAT fPlateMin, FX_FLOAT fPlateMax,
+                                                                                               FX_FLOAT fContentMin, FX_FLOAT fContentMax,
                                                                                                FX_FLOAT fSmallStep, FX_FLOAT fBigStep);
        void                                                    IOnSetScrollPosX(FX_FLOAT fx){}
        void                                                    IOnSetScrollPosY(FX_FLOAT fy);
@@ -34,7 +34,7 @@ public:
        void                                                    IOnInvalidateRect(CPDF_Rect * pRect);
 
 private:
-       CPWL_ListBox*                                   m_pList;        
+       CPWL_ListBox*                                   m_pList;
 };
 
 class PWL_CLASS CPWL_ListBox : public CPWL_Wnd
@@ -59,15 +59,14 @@ public:
 
        virtual void                                    OnNotify(CPWL_Wnd* pWnd, FX_DWORD msg, intptr_t wParam = 0, intptr_t lParam = 0);
        virtual void                                    RePosChildWnd();
-       virtual void                                    SetText(FX_LPCWSTR csText,FX_BOOL bRefresh = TRUE);
-       virtual CFX_WideString                  GetText() const;        
+       virtual CFX_WideString                  GetText() const;
        virtual CPDF_Rect                               GetFocusRect() const;
        virtual void                                    SetFontSize(FX_FLOAT fFontSize);
        virtual FX_FLOAT                                GetFontSize() const;
 
        void                                                    OnNotifySelChanged(FX_BOOL bKeyDown, FX_BOOL & bExit , FX_DWORD nFlag);
 
-       void                                                    AddString(FX_LPCWSTR string);   
+       void                                                    AddString(const FX_WCHAR* string);
        void                                                    SetTopVisibleIndex(int32_t nItemIndex);
        void                                                    ScrollToListItem(int32_t nItemIndex);
        void                                                    ResetContent();
@@ -75,7 +74,7 @@ public:
        void                                                    Select(int32_t nItemIndex);
        void                                                    SetCaret(int32_t nItemIndex);
        void                                                    SetHoverSel(FX_BOOL bHoverSel);
-       
+
        int32_t                                         GetCount() const;
        FX_BOOL                                                 IsMultipleSel() const;
        int32_t                                         GetCaretIndex() const;
@@ -83,7 +82,7 @@ public:
        FX_BOOL                                                 IsItemSelected(int32_t nItemIndex) const;
        int32_t                                         GetTopVisibleIndex() const;
        int32_t                                         FindNext(int32_t nIndex,FX_WCHAR nChar) const;
-       CPDF_Rect                                               GetContentRect() const; 
+       CPDF_Rect                                               GetContentRect() const;
        FX_FLOAT                                                GetFirstHeight() const;
        CPDF_Rect                                               GetListRect() const;