Skip to content

Commit

Permalink
code blocks changes
Browse files Browse the repository at this point in the history
  • Loading branch information
derwin12 authored and AzGilrock committed Feb 11, 2024
1 parent 07e980f commit efe7ba2
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 2 deletions.
8 changes: 8 additions & 0 deletions xLights/effects/TextPanel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -268,6 +268,8 @@ TextPanel::TextPanel(wxWindow* parent) : xlEffectPanel(parent)
GridBagSizer6->Add(Slider_Text_YStart, wxGBPosition(0, 1), wxGBSpan(4, 1), wxALL|wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL, 5);
FlexGridSizer142->Add(GridBagSizer6, 1, wxALL|wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL, 5);
Panel16->SetSizer(FlexGridSizer142);
FlexGridSizer142->Fit(Panel16);
FlexGridSizer142->SetSizeHints(Panel16);
Panel17 = new wxPanel(Notebook6, IDD_PANEL17, wxPoint(104,13), wxDefaultSize, wxTAB_TRAVERSAL, _T("IDD_PANEL17"));
FlexGridSizer144 = new wxFlexGridSizer(0, 2, 0, 0);
FlexGridSizer144->AddGrowableCol(0);
Expand All @@ -292,13 +294,19 @@ TextPanel::TextPanel(wxWindow* parent) : xlEffectPanel(parent)
GridBagSizer7->Add(Slider_Text_YEnd, wxGBPosition(0, 1), wxGBSpan(4, 1), wxALL|wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL, 5);
FlexGridSizer144->Add(GridBagSizer7, 1, wxALL|wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL, 5);
Panel17->SetSizer(FlexGridSizer144);
FlexGridSizer144->Fit(Panel17);
FlexGridSizer144->SetSizeHints(Panel17);
Notebook6->AddPage(Panel16, _("Start Position"), false);
Notebook6->AddPage(Panel17, _("End Position"), false);
FlexGridSizer141->Add(Notebook6, 1, wxALL|wxEXPAND, 5);
FlexGridSizer69->Add(FlexGridSizer141, 1, wxALL|wxEXPAND, 1);
Panel_Text1->SetSizer(FlexGridSizer69);
FlexGridSizer69->Fit(Panel_Text1);
FlexGridSizer69->SetSizeHints(Panel_Text1);
FlexGridSizer46->Add(Panel_Text1, 1, wxALL|wxEXPAND, 5);
SetSizer(FlexGridSizer46);
FlexGridSizer46->Fit(this);
FlexGridSizer46->SetSizeHints(this);

Connect(ID_TEXTCTRL_Text,wxEVT_COMMAND_TEXT_UPDATED,(wxObjectEventFunction)&TextPanel::OnTextCtrl_TextText);
Connect(ID_FILEPICKERCTRL_Text_File,wxEVT_COMMAND_FILEPICKER_CHANGED,(wxObjectEventFunction)&TextPanel::OnFilePickerCtrl1FileChanged);
Expand Down
2 changes: 2 additions & 0 deletions xLights/effects/TwinklePanel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,8 @@ TwinklePanel::TwinklePanel(wxWindow* parent) : xlEffectPanel(parent)
BitmapButton24->SetBackgroundColour(wxSystemSettings::GetColour(wxSYS_COLOUR_BTNHIGHLIGHT));
FlexGridSizer4->Add(BitmapButton24, 1, wxALL|wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL, 5);
SetSizer(FlexGridSizer4);
FlexGridSizer4->Fit(this);
FlexGridSizer4->SetSizeHints(this);

Connect(ID_BITMAPBUTTON_SLIDER_Twinkle_Count,wxEVT_COMMAND_BUTTON_CLICKED,(wxObjectEventFunction)&TwinklePanel::OnLockButtonClick);
Connect(ID_BITMAPBUTTON_SLIDER_Twinkle_Steps,wxEVT_COMMAND_BUTTON_CLICKED,(wxObjectEventFunction)&TwinklePanel::OnLockButtonClick);
Expand Down
1 change: 0 additions & 1 deletion xLights/wxsmith/TextPanel.wxs
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,6 @@
<object class="sizeritem">
<object class="wxSlider" name="IDD_SLIDER_Text_Speed" subclass="BulkEditSlider" variable="Slider_Text_Speed" member="yes">
<value>10</value>
<max>50</max>
</object>
<flag>wxALL|wxEXPAND</flag>
<border>1</border>
Expand Down
2 changes: 1 addition & 1 deletion xLights/wxsmith/TwinklePanel.wxs
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
<object class="wxSlider" name="ID_SLIDER_Twinkle_Steps" subclass="BulkEditSlider" variable="Slider_Twinkle_Steps" member="yes">
<value>30</value>
<min>2</min>
<max>200</max>
<max>400</max>
</object>
<flag>wxALL|wxEXPAND</flag>
<border>5</border>
Expand Down

0 comments on commit efe7ba2

Please sign in to comment.