mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
ObjCHelpers: Rename makeCGRect from makeNSRect
This commit is contained in:
parent
90e72dbd98
commit
2d01e326db
9 changed files with 23 additions and 20 deletions
|
|
@ -1687,7 +1687,7 @@ public:
|
|||
static NSView* createViewFor (AudioProcessor* filter, JuceAU* au, AudioProcessorEditor* const editor)
|
||||
{
|
||||
auto* editorCompHolder = new EditorCompHolder (editor);
|
||||
auto r = convertToHostBounds (makeNSRect (editorCompHolder->getSizeToContainChild()));
|
||||
auto r = convertToHostBounds (makeCGRect (editorCompHolder->getSizeToContainChild()));
|
||||
|
||||
static JuceUIViewClass cls;
|
||||
auto* view = [[cls.createInstance() initWithFrame: r] autorelease];
|
||||
|
|
@ -1766,7 +1766,7 @@ public:
|
|||
[CATransaction begin];
|
||||
[CATransaction setValue: (id) kCFBooleanTrue forKey:kCATransactionDisableActions];
|
||||
|
||||
auto rect = convertToHostBounds (makeNSRect (lastBounds));
|
||||
auto rect = convertToHostBounds (makeCGRect (lastBounds));
|
||||
auto* view = (NSView*) getWindowHandle();
|
||||
|
||||
auto superRect = [[view superview] frame];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue