1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-13 00:04:19 +00:00
Commit graph

402 commits

Author SHA1 Message Date
ed
6881795d40 Ensure that font width is correct when changing the TextEditor password character 2019-07-12 17:53:19 +01:00
Tom Poole
79d3e8b3f5 Windows: Removed some VS2013 workarounds 2019-07-11 15:28:41 +01:00
jules
0367d5c3a9 Added some PopupMenu::addItem overloads which let you attach a lambda callback to be invoked for a menu item. 2019-06-19 11:39:28 +01:00
jules
9a06be6d61 Some minor cleanups 2019-06-17 15:48:56 +01:00
Tom Poole
16dd26649a Fixed some GCC compiler warnings and removed deprecated functions 2019-06-04 16:48:44 +01:00
jules
c6d1828a32 A few more internal updates for better smart pointer use 2019-05-19 11:44:22 +01:00
jules
2e2cfb5f6c Made a lot of the functions that used to return a raw XmlElement* instead return a std::unique_ptr<XmlElement> to make it safer and more concise to capture them. Also added new methods to XmlElement for generating text, and deprecated the old ones 2019-05-09 10:51:19 +01:00
ed
c6502e2a83 Added a TextEditor::getTextToShowWhenEmpty() method 2019-04-29 14:21:47 +01:00
ed
bbbb1719f9 Made ListBox::createSnapshotOfRows() take the list and row scale factors into account 2019-04-29 12:55:39 +01:00
ed
2539f4d24f DRY-ed some code by adding a static Component::getApproximateScaleFactorForComponent() method 2019-04-29 12:55:39 +01:00
ed
b88d5adab7 Always call TextEditor::checkFocus() when focus is gained to ensure that the software keyboard is shown on Android when a TextEditor has content 2019-04-16 10:24:55 +01:00
Tom Poole
92c30e780d Allowed linear-drag rotary sliders to rollover 2019-04-09 16:26:25 +01:00
ed
9715e77e0f Only call ComponentPeer::textInputRequired() from TextEditor::checkFocus() if the focus status has changed to fix the soft input keyboard constantly re-opening on Android 2019-03-19 17:48:52 +00:00
ed
1a46fb3a5f Minor whitespace tidying 2019-03-15 14:10:14 +00:00
ed
a234721110 Added various clang-tidy modernize-* fixes 2019-01-31 15:15:31 +00:00
jules
da2b10ada6 Got rid of some methods which had inexplicably ended up marked both 'virtual' and 'override'. 2019-01-18 09:09:06 +00:00
jules
cadac817c6 Enabled some more warning flags in Xcode, and fixed the problems they caused 2019-01-11 09:52:10 +00:00
ed
a5ad90edd4 Avoid hitting an assertion when calling Toolbar::showMissingItems() with JUCE_MODAL_LOOPS_PERMITTED=0 2019-01-10 12:38:06 +00:00
ed
257b40eddb Added an optional argument to Slider::setDoubleClickReturnValue() to specify the key modifiers used to reset the value with a single-click 2019-01-10 10:59:25 +00:00
Tom Poole
6d2e17ed85 APVTS: Fixed an issue displaying slider value suffixes 2018-11-30 18:18:07 +00:00
ed
eaf0f990d4 Replaced all uses of static_cast<Type&&> with std::move 2018-11-28 17:29:20 +00:00
jules
768139a298 Added some free functions to help make XML parsing less verbose: parseXML() 2018-10-15 16:08:25 +01:00
jules
6fda0bffca Fixed some stray zeros that were still being passed as null pointers 2018-10-05 12:15:04 +01:00
ed
a9eb179dc2 Fixed a warning in the recent Label LookAndFeel changes 2018-09-04 14:29:52 +01:00
Tom Poole
02f8a125c4 Added some more places where we can use the BorderSize from a Label's LookAndFeel 2018-09-04 12:47:30 +01:00
Tom Poole
0165e066b2 Added a LookAndFeel method to modify Label borders 2018-09-04 10:11:29 +01:00
ed
666d9d1ed4 Add a nullptr check in Slider PopupDisplayComponent destructor 2018-07-31 09:23:02 +01:00
ed
fcecf67ab3 Added a drawComboBoxTextWhenNothingSelected() method to ComboBox::LookAndFeelMethods and made the drawing code consistent with drawLabel() 2018-07-27 09:18:19 +01:00
ed
33fb0e9d60 Fixed an error in the documentation of ComboBox::setText() 2018-07-27 09:15:49 +01:00
jules
7ab4d1708b Some misc cleanups, mainly around WeakReference usage and rectangles 2018-07-09 16:00:45 +01:00
jules
47535718dc Added an assertion to Label to help catch some 'doh!' moments 2018-07-09 15:11:15 +01:00
hogliux
e71084a7e9 Fixed a windows warning in the previous commit 2018-06-26 18:13:46 +01:00
hogliux
64be913fa2 Added a LookAndFeel method to customise the options of a ComboBox's PopupMenu 2018-06-26 18:07:31 +01:00
jules
974b4a8351 Removed some legacy friend class declarations that are no longer needed with modern compilers 2018-06-13 17:11:37 +01:00
ed
a1363c1825 Slider: Don't update lastAngle in mouseDown() if the Slider style is two-value as it uses currentValue. Added isTwoValue() and isThreeValue() methods. 2018-06-11 11:21:14 +01:00
hogliux
9fee13ba82 Slider: Added missing ComponentPeer flags to the popup display of a slider 2018-05-30 17:33:04 +01:00
hogliux
8377a6406b Scaling: Ensured that the Slider's PopupDisplayComponent will have the same transform applied as the Slider itself 2018-05-29 11:43:30 +01:00
ed
f70a450bd4 Ensure that ComboBox::menuActive flag is set when calling showPopup() 2018-05-15 11:00:02 +01:00
ed
481221a256 Cleaned up the ModifierKeys class and removed the peer-specific implementations of ModifierKeys::getCurrentModifiersRealtime() and ModifierKeys::updateCurrentModifiers() 2018-05-09 10:04:27 +01:00
Tom Poole
9f85d53c66 Made Sliders preserve their skews when updating their range 2018-04-23 09:18:12 +01:00
Tom Poole
ab863a6dc2 Replaced all usage of ScopedPointer with std::unique_ptr 2018-04-19 20:27:47 +01:00
Tom Poole
df6f60f2e0 Fixed a bug calculating the number of decimal places displayed in a slider 2018-04-16 09:56:48 +01:00
Lukasz Kozakiewicz
c8b9bc79ba AlertWindow: ensure a native keyboard is hidden when alert window gets dismissed. 2018-04-09 18:56:38 +02:00
ed
cdbc28c18b Add documentation tags 2018-03-15 12:10:32 +00:00
Tom Poole
c2a877cac8 Passed the valueToTextFunction and textToValueFunction lambdas from an AudioProcessorValueTreeState parameter to an attached slider 2018-03-12 10:08:38 +00:00
Tom Poole
284fdc51df Added a setNormalisableRange method to Slider 2018-03-02 14:36:49 +00:00
Lukasz Kozakiewicz
4469217b3e Android: un-focus TextEditor when keyboard is hidden from nav bar. Ensure immersive mode is properly restored. Fix TextEditor not hiding keyboard if deleted immediately after getting focus. 2018-03-02 11:48:37 +00:00
hogliux
c72cf7ed64 Added Slider method to modify the number of decimal places that are displayed in a slider's text box 2018-02-12 09:21:08 +00:00
Noah Dayan
e690350df3 Use lambda callbacks instead of listeners with Slider, Button, Label, ComboBox and TextEditor classes 2018-01-18 15:23:57 +00:00
Noah Dayan
77c3d790a5 Added helper objects to Label and Slider to allow lambda callbacks 2018-01-17 14:31:05 +00:00