Skip to content

Commit

Permalink
run fix_code script
Browse files Browse the repository at this point in the history
  • Loading branch information
luismrguimaraes committed Aug 12, 2024
1 parent e40b12e commit 90189b3
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
7 changes: 6 additions & 1 deletion include/sst/jucegui/components/BaseStyles.h
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,12 @@ struct Base
SCLASS(base);
PROP(background);
PROP(background_hover);
static void initialize() { style::StyleSheet::addClass(styleClass).withProperty(background).withProperty(background_hover); }
static void initialize()
{
style::StyleSheet::addClass(styleClass)
.withProperty(background)
.withProperty(background_hover);
}
};

struct SelectableRegion
Expand Down
5 changes: 4 additions & 1 deletion include/sst/jucegui/components/ToggleButton.h
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,10 @@ struct ToggleButton : DiscreteParamEditor,
ToggleButton();
~ToggleButton();

struct Styles : base_styles::Base, base_styles::PushButton, base_styles::BaseLabel, base_styles::ValueBearing
struct Styles : base_styles::Base,
base_styles::PushButton,
base_styles::BaseLabel,
base_styles::ValueBearing
{
SCLASS(togglebutton);
static void initialize()
Expand Down
2 changes: 1 addition & 1 deletion include/sst/jucegui/style/StyleAndSettingsConsumer.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ namespace sst::jucegui::style
{
struct StyleConsumer
{
explicit StyleConsumer(const StyleSheet::Class &c) : styleClass(c){};
explicit StyleConsumer(const StyleSheet::Class &c) : styleClass(c) {};
virtual ~StyleConsumer() { stylep = nullptr; };

juce::Colour getColour(const StyleSheet::Property &p)
Expand Down

0 comments on commit 90189b3

Please sign in to comment.