1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-22 01:34:21 +00:00
Commit graph

79 commits

Author SHA1 Message Date
jules
f6ce67ed4a OpenGL context now supports high DPI displays. Added operator* to Rectangle class. 2012-11-15 17:55:57 +00:00
jules
5ed768e953 New enum: NotificationType, to indicate whether to send a change message or not (and whether it should be async). Updates to ListBox, TreeView and Slider methods to use this type instead of bools. 2012-10-18 13:53:02 +01:00
jules
53784490b2 Minor fixes and clean-ups. 2012-09-26 12:38:56 +01:00
jules
6b1654e1d2 Fixed some more warnings. 2012-09-24 15:45:25 +01:00
jules
faf92ea026 Old jucer: eliminated the 'L' string literal prefix. 2012-09-21 12:15:39 +01:00
jules
08dd8f62c7 Got rid of the remaining uses of juce_useDebuggingNewOperator in the old Jucer template. 2012-09-20 13:49:12 +01:00
jules
9a24aa8a20 Minor clean-ups. 2012-09-11 09:35:03 +01:00
jules
8e0d120421 Small fix for the demo on iOS. 2012-08-29 13:35:44 +01:00
jules
d7cea05104 Added a new struct DialogWindow::LaunchOptions, to provide a better mechanism than the existing static methods for launching dialog boxes. I've left the old static methods in there but will probably deprecate them at some point in the future. Also added a couple of methods to OptionalOwnedPointer. 2012-08-29 11:01:47 +01:00
jules
ffbf1cd5c4 Gave DrawableButton a bit of a spring-cleaning: got rid of its non-standard setBackgroundColours() method, and instead gave it some colour IDs for setting its colours, like other components do. 2012-08-25 20:36:45 +01:00
jules
b4fe06fb81 CallOutBox: changed parameters to allow better positioning, and improved layout algorithm. 2012-08-17 20:08:55 +01:00
jules
c93d7a31d5 Added some colour IDs for TextPropertyComponent 2012-07-30 08:34:44 +01:00
jules
bddebf3433 Added a couple of reduced/expanded methods to Rectangle. 2012-07-25 13:10:21 +01:00
jules
cf4c9c9823 Tweaks to some posix code. 2012-07-18 09:45:59 +01:00
jules
40fd93e32e Fixed a typo in the widgets demo. 2012-07-18 08:53:53 +01:00
jules
9b8a39e27c Removed some default parameters in NamedPipe methods and fixed time-outs when using posix NamedPipe::read(). 2012-07-17 15:49:55 +01:00
jules
dc9e0cb9bb Added some new versions of Graphics::drawText and drawFittedText that take Rectangle parameters. 2012-07-14 11:54:29 +01:00
jules
b1d73f2086 Minor internal refactoring and clean-ups. 2012-07-14 10:02:45 +01:00
jules
df729be74a Cleaned-up class inheritance visibilities and encapsulation for some internal classes. 2012-07-12 14:10:46 +01:00
jules
3ddc6dd43d New class: DropShadow, and a complete refactoring of the way shadows are rendered. The DropShadowEffect and DropShadower classes now take a DropShadow object to describe their shadow parameters, instead of the raw numbers. 2012-07-11 21:07:47 +01:00
jules
591ce2a396 Added TabBarButton::setExtraComponent() method to allow custom components to be inserted into tabs. This involved a big refactoring and clean-up of all the tab drawing methods in the LookAndFeel class. Also (slightly) cleaned up some of the crappy old code in the WidgetsDemo while I was adding a demo for this. 2012-07-11 15:12:29 +01:00
jules
9074f68da8 Introjucer: more AAX support and some clean-ups. 2012-06-26 15:30:48 +01:00
jules
f5d72f1406 Removed the style parameter from Graphics::setFont(), because if the current font doesn't support that style, it'll give the wrong results. If this breaks your code, just wrap your arguments in a Font constructor, e.g. g.setFont (Font (mySize, myStyle)); 2012-06-26 13:18:03 +01:00
jules
87175c91f5 Changed the signature of MouseListener::mouseWheelMove() to take a struct MouseWheelDetails rather than raw floats. This will require updates in source code that uses mouse-wheel callbacks, but provides some new abilities, including a flag to indicate inverted wheel direction. 2012-05-25 16:42:36 +01:00
jules
cb169b251d Altered BubbleMessageComponent to take an AttributedString rather than a plain String, for more control over its layout. 2012-05-25 10:16:55 +01:00
jules
4e754a838b Changed the constness of the return type of MenuBarModel::getMenuBarNames() and MenuBarModel::getMenuForIndex(). Easy to update your code to handle this, just remove the 'const'. 2012-05-23 21:31:44 +01:00
jules
5caaa4009a Added class: TextDragAndDropTarget. 2012-05-23 13:07:27 +01:00
jules
67c1ad6d4a Fixed some findParentComponentOfClass() calls. 2012-05-09 21:14:29 +01:00
jules
7a36867150 Workaround for VS2005 compiler bugs. 2012-05-09 16:53:42 +01:00
jules
44ac462768 New methods SystemStats::getUserLanguage(), SystemStats::getUserRegion(). 2012-05-04 20:07:24 +01:00
jules
7e9fbd30c3 Some font style tweaks, and update of the juce demo fonts page to show a list of available styles. 2012-05-02 11:12:31 +01:00
jules
ccb357d23a Fixed a typo in the demo app. 2012-04-03 17:50:24 +01:00
jules
04c2d6cfc1 Added some GL error handling and tweaks to support older PC builds. 2012-04-03 14:51:22 +01:00
jules
351416c09a Tidied up some docs and comments. 2012-04-03 11:36:31 +01:00
jules
0f8cc04904 GL fixes, clean-ups, docs. 2012-03-30 15:28:26 +01:00
jules
91a41ddbd8 OpenGL refactoring (stage 1) 2012-03-27 17:22:54 +01:00
jules
b338698e34 OpenGL: removed the fixed-function rendering code, replacing it with a simple software renderer that blits its results to the GL context. Removed the public OpenGLGraphicsContext class, replacing it with a createOpenGLGraphicsContext() function which returns an appropriate shader-based or software-based renderer object. 2012-03-15 11:13:38 +00:00
jules
5b22611306 Cleaned up and simplified the ThreadPool class - addJob now takes a flag to indicate whether the pool should delete that job, and the class's constructor arguments have been simplified. 2012-02-28 15:08:26 +00:00
jules
ea0260cfc7 Fix for OpenGL demo. 2012-02-07 16:10:39 +00:00
jules
47fa7c992b OpenGLComponent changes: new requirement that when using a background thread, your subclass must call stopRenderThread() in its destructor to avoid race conditions. 2012-02-07 10:19:03 +00:00
jules
b65b34ad40 More openGL refactoring, completion of all-shader graphic pipeline. 2012-01-09 17:07:14 +00:00
jules
a997490f17 Updated the OpenGLComponent so that it can render sub-components when using a background thread, and changed the demo to use this mode (which is faster). 2011-12-23 10:33:05 +00:00
jules
2c0902833d Lock for multithreaded font rendering. Tweaks for some openGL settings. Updated the demo to have an openGL rendering engine option. 2011-12-20 13:32:11 +00:00
jules
a56a285e58 OpenGL work: renamed OpenGLGraphicsContext class, and made it use shaders for rendering where available. 2011-12-15 13:50:19 +00:00
jules
173e8c083f CoreAudio: detection of disabled devices. Avoided some internal exceptions in the demo. 2011-12-08 21:30:11 +00:00
jules
ea6df1c8f1 New internal class CachedComponentImage, which is used internally to manage component buffering. I've used this to rebuild the OpenGLComponent's rendering algorithm so that it now supports sub-components and can have 2D content drawn in its paint method. Updated the openGL demo to show this in action. 2011-12-08 19:50:45 +00:00
jules
d38057b304 Fixed bugs in the audio demo page, TextLayout, and AudioUnitPluginFormat. 2011-11-29 14:18:53 +00:00
jules
a9fbfad8c1 Tarted up the audio playback demo slightly, to show a playback cursor and let you drag it with the mouse, zoom with mouse-wheel etc. Fixed a VST plugin host typo. Gave the ImageButton a default constructor. 2011-11-28 19:19:07 +00:00
jules
96c0a756e0 Linux windowing tweak for menus + tooltips. 2011-11-08 11:56:45 +00:00
jules
7cf9e480b2 Some new 3D utility classes: Vector3D, Matrix3D, Quaternion, Draggable3DOrientation. 2011-11-07 18:58:37 +00:00