Default button chrome improvement

This commit is contained in:
elasota
2020-05-17 23:02:08 -04:00
parent c0878fe66d
commit f590613f83
5 changed files with 116 additions and 35 deletions

View File

@@ -20,9 +20,14 @@ namespace PortabilityLayer
int16_t Capture(const Point &pos, WidgetUpdateCallback_t callback) override;
void SetHighlightStyle(int16_t style, bool enabled) override;
static void DrawDefaultButtonChrome(const Rect &rect, DrawSurface *surface);
private:
void DrawControlInternal(DrawSurface *surface, bool inverted);
PascalStr<255> m_text;
bool m_haveHighlightOverride;
};
}