chromium/third_party/pdfium/fpdfsdk/pwl/cpwl_scroll_bar.cpp

// Copyright 2014 The PDFium Authors
// 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

#include "fpdfsdk/pwl/cpwl_scroll_bar.h"

#include <math.h>

#include <algorithm>
#include <sstream>
#include <utility>

#include "core/fxcrt/check.h"
#include "core/fxge/cfx_fillrenderoptions.h"
#include "core/fxge/cfx_path.h"
#include "core/fxge/cfx_renderdevice.h"
#include "fpdfsdk/pwl/cpwl_wnd.h"

namespace {

constexpr float kButtonWidth =;
constexpr float kPosButtonMinWidth =;

}  // namespace

void PWL_FLOATRANGE::Reset() {}

void PWL_FLOATRANGE::Set(float min, float max) {}

bool PWL_FLOATRANGE::In(float x) const {}

float PWL_FLOATRANGE::GetWidth() const {}

PWL_SCROLL_PRIVATEDATA::PWL_SCROLL_PRIVATEDATA() {}

void PWL_SCROLL_PRIVATEDATA::Default() {}

void PWL_SCROLL_PRIVATEDATA::SetScrollRange(float min, float max) {}

void PWL_SCROLL_PRIVATEDATA::SetClientWidth(float width) {}

void PWL_SCROLL_PRIVATEDATA::SetSmallStep(float step) {}

void PWL_SCROLL_PRIVATEDATA::SetBigStep(float step) {}

bool PWL_SCROLL_PRIVATEDATA::SetPos(float pos) {}

void PWL_SCROLL_PRIVATEDATA::AddSmall() {}

void PWL_SCROLL_PRIVATEDATA::SubSmall() {}

void PWL_SCROLL_PRIVATEDATA::AddBig() {}

void PWL_SCROLL_PRIVATEDATA::SubBig() {}

CPWL_ScrollBar::CPWL_ScrollBar(
    const CreateParams& cp,
    std::unique_ptr<IPWL_FillerNotify::PerWindowData> pAttachedData)
    :{}

CPWL_ScrollBar::~CPWL_ScrollBar() = default;

void CPWL_ScrollBar::OnDestroy() {}

bool CPWL_ScrollBar::RepositionChildWnd() {}

void CPWL_ScrollBar::DrawThisAppearance(CFX_RenderDevice* pDevice,
                                        const CFX_Matrix& mtUser2Device) {}

bool CPWL_ScrollBar::OnLButtonDown(Mask<FWL_EVENTFLAG> nFlag,
                                   const CFX_PointF& point) {}

bool CPWL_ScrollBar::OnLButtonUp(Mask<FWL_EVENTFLAG> nFlag,
                                 const CFX_PointF& point) {}

void CPWL_ScrollBar::SetScrollInfo(const PWL_SCROLL_INFO& info) {}

void CPWL_ScrollBar::SetScrollPosition(float pos) {}

void CPWL_ScrollBar::NotifyLButtonDown(CPWL_Wnd* child, const CFX_PointF& pos) {}

void CPWL_ScrollBar::NotifyLButtonUp(CPWL_Wnd* child, const CFX_PointF& pos) {}

void CPWL_ScrollBar::NotifyMouseMove(CPWL_Wnd* child, const CFX_PointF& pos) {}

void CPWL_ScrollBar::CreateButtons(const CreateParams& cp) {}

float CPWL_ScrollBar::GetScrollBarWidth() const {}

void CPWL_ScrollBar::SetScrollRange(float fMin,
                                    float fMax,
                                    float fClientWidth) {}

void CPWL_ScrollBar::SetScrollPos(float fPos) {}

void CPWL_ScrollBar::SetScrollStep(float fBigStep, float fSmallStep) {}

bool CPWL_ScrollBar::MovePosButton(bool bRefresh) {}

void CPWL_ScrollBar::OnMinButtonLBDown(const CFX_PointF& point) {}

void CPWL_ScrollBar::OnMinButtonLBUp(const CFX_PointF& point) {}

void CPWL_ScrollBar::OnMinButtonMouseMove(const CFX_PointF& point) {}

void CPWL_ScrollBar::OnMaxButtonLBDown(const CFX_PointF& point) {}

void CPWL_ScrollBar::OnMaxButtonLBUp(const CFX_PointF& point) {}

void CPWL_ScrollBar::OnMaxButtonMouseMove(const CFX_PointF& point) {}

void CPWL_ScrollBar::OnPosButtonLBDown(const CFX_PointF& point) {}

void CPWL_ScrollBar::OnPosButtonLBUp(const CFX_PointF& point) {}

void CPWL_ScrollBar::OnPosButtonMouseMove(const CFX_PointF& point) {}

void CPWL_ScrollBar::NotifyScrollWindow() {}

CFX_FloatRect CPWL_ScrollBar::GetScrollArea() const {}

float CPWL_ScrollBar::TrueToFace(float fTrue) {}

float CPWL_ScrollBar::FaceToTrue(float fFace) {}

void CPWL_ScrollBar::CreateChildWnd(const CreateParams& cp) {}

void CPWL_ScrollBar::OnTimerFired() {}