Пример #1
0
 void selectedRowsChanged (int /*lastRowselected*/)
 {
     refreshPreviewBoxFont();
 }
Пример #2
0
 void sliderValueChanged (Slider* sliderThatWasMoved)
 {
     if (sliderThatWasMoved == &heightSlider)            refreshPreviewBoxFont();
     else if (sliderThatWasMoved == &kerningSlider)      refreshPreviewBoxFont();
     else if (sliderThatWasMoved == &scaleSlider)        refreshPreviewBoxFont();
 }
Пример #3
0
 void buttonClicked (Button* buttonThatWasClicked)
 {
     if (buttonThatWasClicked == &boldToggle)            refreshPreviewBoxFont();
     else if (buttonThatWasClicked == &italicToggle)     refreshPreviewBoxFont();
 }
Пример #4
0
 void comboBoxChanged (ComboBox* box) override
 {
     if (box == &styleBox)
         refreshPreviewBoxFont();
 }