/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /* vim: set ts=8 sts=2 et sw=2 tw=80: */ /* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
class ScrollbarDrawing { protected: using DPIRatio = mozilla::CSSToLayoutDeviceScale; using ElementState = dom::ElementState; using DocumentState = dom::DocumentState; using DrawTarget = mozilla::gfx::DrawTarget; using sRGBColor = mozilla::gfx::sRGBColor; using Colors = ThemeColors; using Overlay = nsITheme::Overlay; using WebRenderBackendData = mozilla::widget::WebRenderBackendData;
private: // The scrollbar sizes for all our scrollbars. Indices are overlay or not, // then thin or not. Should be configured via ConfigureScrollbarSize.
CSSIntCoord mScrollbarSize[2][2]{};
protected: // For some kind of style differences a full virtual method is overkill, so we // store the kind here so we can branch on it if necessary.
Kind mKind;
// Configures the scrollbar sizes based on a single size. void ConfigureScrollbarSize(CSSIntCoord);
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung ist noch experimentell.