LibreOffice Module vcl (master) 1
|
#include <sal/log.hxx>
#include <comphelper/string.hxx>
#include <vcl/event.hxx>
#include <vcl/decoview.hxx>
#include <vcl/glyphitemcache.hxx>
#include <vcl/svapp.hxx>
#include <vcl/help.hxx>
#include <vcl/vcllayout.hxx>
#include <vcl/status.hxx>
#include <vcl/virdev.hxx>
#include <vcl/settings.hxx>
#include <config_features.h>
#include <svdata.hxx>
#include <window.h>
Go to the source code of this file.
Classes | |
class | StatusBar::ImplData |
struct | ImplStatusItem |
Macros | |
#define | STATUSBAR_OFFSET_X STATUSBAR_OFFSET |
#define | STATUSBAR_OFFSET_Y 2 |
#define | STATUSBAR_OFFSET_TEXTY 3 |
#define | STATUSBAR_PRGS_OFFSET 3 |
#define | STATUSBAR_PRGS_COUNT 100 |
#define | STATUSBAR_PRGS_MIN 5 |
#define | STATUSBAR_MIN_HEIGHT 16 |
Functions | |
static tools::Long | ImplCalcProgressWidth (sal_uInt16 nMax, tools::Long nSize) |
static Point | ImplGetItemTextPos (const Size &rRectSize, const Size &rTextSize, StatusBarItemBits nStyle) |
void | DrawProgress (vcl::Window *pWindow, vcl::RenderContext &rRenderContext, const Point &rPos, tools::Long nOffset, tools::Long nPrgsWidth, tools::Long nPrgsHeight, sal_uInt16 nPercent1, sal_uInt16 nPercent2, sal_uInt16 nPercentCount, const tools::Rectangle &rFramePosSize) |
#define STATUSBAR_MIN_HEIGHT 16 |
Definition at line 44 of file status.cxx.
#define STATUSBAR_OFFSET_TEXTY 3 |
Definition at line 38 of file status.cxx.
#define STATUSBAR_OFFSET_X STATUSBAR_OFFSET |
Definition at line 36 of file status.cxx.
#define STATUSBAR_OFFSET_Y 2 |
Definition at line 37 of file status.cxx.
#define STATUSBAR_PRGS_COUNT 100 |
Definition at line 41 of file status.cxx.
#define STATUSBAR_PRGS_MIN 5 |
Definition at line 42 of file status.cxx.
#define STATUSBAR_PRGS_OFFSET 3 |
Definition at line 40 of file status.cxx.
void DrawProgress | ( | vcl::Window * | pWindow, |
vcl::RenderContext & | rRenderContext, | ||
const Point & | rPos, | ||
tools::Long | nOffset, | ||
tools::Long | nPrgsWidth, | ||
tools::Long | nPrgsHeight, | ||
sal_uInt16 | nPercent1, | ||
sal_uInt16 | nPercent2, | ||
sal_uInt16 | nPercentCount, | ||
const tools::Rectangle & | rFramePosSize | ||
) |
Definition at line 474 of file status.cxx.
References vcl::Window::AbsoluteScreenToOutputPixel(), tools::Rectangle::AdjustLeft(), tools::Rectangle::AdjustRight(), vcl::CLIPREGION, OutputDevice::DrawNativeControl(), OutputDevice::DrawRect(), ENABLED, Entire, OutputDevice::Erase(), tools::Rectangle::GetSize(), ImplGetSVData(), vcl::Window::ImplGetWindowImpl(), OutputDevice::IntersectClipRegion(), vcl::Window::Invalidate(), OutputDevice::IsNativeControlSupported(), vcl::Window::IsPaintTransparent(), ImplSVData::maNWFData, WindowImpl::mbFrame, ImplSVNWFData::mbProgressNeedsErase, WindowImpl::mpParent, NoChildren, NoClipChildren, vcl::Window::OutputToAbsoluteScreenPixel(), vcl::Window::PaintImmediately(), OutputDevice::Pop(), Progress, OutputDevice::Push(), tools::Rectangle::TopLeft(), Transparent, Point::X(), and Point::Y().
Referenced by StatusBar::ImplDrawProgress().
|
static |
Definition at line 90 of file status.cxx.
References STATUSBAR_PRGS_OFFSET.
Referenced by StatusBar::ImplCalcProgressRect().
|
static |
Definition at line 95 of file status.cxx.
References Size::Height(), Left, Right, and Size::Width().
Referenced by StatusBar::GetItemTextPos(), and StatusBar::ImplDrawItem().