Changeset View
Changeset View
Standalone View
Standalone View
src/plasma/private/framesvg_p.h
Show First 20 Lines • Show All 166 Lines • ▼ Show 20 Line(s) | 141 | public: | |||
---|---|---|---|---|---|
167 | void updateNeeded(); | 167 | void updateNeeded(); | ||
168 | void updateAndSignalSizes(); | 168 | void updateAndSignalSizes(); | ||
169 | QSizeF frameSize(FrameData *frame) const; | 169 | QSizeF frameSize(FrameData *frame) const; | ||
170 | void paintBorder(QPainter& p, FrameData* frame, Plasma::FrameSvg::EnabledBorders border, const QSize& originalSize, const QRect& output) const; | 170 | void paintBorder(QPainter& p, FrameData* frame, Plasma::FrameSvg::EnabledBorders border, const QSize& originalSize, const QRect& output) const; | ||
171 | void paintCorner(QPainter& p, FrameData* frame, Plasma::FrameSvg::EnabledBorders border, const QRect& output) const; | 171 | void paintCorner(QPainter& p, FrameData* frame, Plasma::FrameSvg::EnabledBorders border, const QRect& output) const; | ||
172 | void paintCenter(QPainter& p, FrameData* frame, const QRect& contentRect, const QSize& fullSize); | 172 | void paintCenter(QPainter& p, FrameData* frame, const QRect& contentRect, const QSize& fullSize); | ||
173 | QRect contentGeometry(FrameData* frame, const QSize& size) const; | 173 | QRect contentGeometry(FrameData* frame, const QSize& size) const; | ||
174 | void updateFrameData(UpdateType updateType = UpdateFrameAndMargins); | 174 | void updateFrameData(UpdateType updateType = UpdateFrameAndMargins); | ||
175 | FrameData *lookupOrCreateMaskFrame(FrameData *frame, const QString &maskPrefix, const QString &maskRequestedPrefix); | ||||
175 | 176 | | |||
176 | Types::Location location; | 177 | Types::Location location; | ||
177 | QString prefix; | 178 | QString prefix; | ||
178 | //sometimes the prefix we requested is not available, so prefix will be emoty | 179 | //sometimes the prefix we requested is not available, so prefix will be emoty | ||
179 | //keep track of the requested one anyways, we'll try again when the theme changes | 180 | //keep track of the requested one anyways, we'll try again when the theme changes | ||
180 | QString requestedPrefix; | 181 | QString requestedPrefix; | ||
181 | 182 | | |||
182 | FrameSvg *q; | 183 | FrameSvg *q; | ||
Show All 20 Lines |