feat: add win.getBackgroundColor() for macOS (#21448)

thanks @vbennich - great work on this 🌟
This commit is contained in:
Victor Bennich 2019-12-13 17:08:30 +01:00 committed by Shelley Vohr
parent c1210f8ad3
commit cf833a7650
10 changed files with 46 additions and 1 deletions

View file

@ -155,6 +155,7 @@ class TopLevelWindow : public gin_helper::TrackableObject<TopLevelWindow>,
void SetKiosk(bool kiosk);
bool IsKiosk();
virtual void SetBackgroundColor(const std::string& color_name);
std::string GetBackgroundColor();
void SetHasShadow(bool has_shadow);
bool HasShadow();
void SetOpacity(const double opacity);