@@ -2,7 +2,7 @@ use std::io::{self, Read, Write};
2
2
3
3
use serde:: { Deserialize , Serialize } ;
4
4
5
- use portlight :: { App , AppMode , AppOptions , Response , Window , WindowOptions } ;
5
+ use reflector_platform :: { App , AppMode , AppOptions , Response , Window , WindowOptions } ;
6
6
7
7
use coupler:: format:: clap:: * ;
8
8
use coupler:: format:: vst3:: * ;
@@ -138,16 +138,16 @@ pub struct GainEditor {
138
138
}
139
139
140
140
impl GainEditor {
141
- fn open ( parent : Parent ) -> portlight :: Result < GainEditor > {
141
+ fn open ( parent : Parent ) -> reflector_platform :: Result < GainEditor > {
142
142
let app = AppOptions :: new ( ) . mode ( AppMode :: Guest ) . build ( ) ?;
143
143
144
144
let mut options = WindowOptions :: new ( ) ;
145
- options. size ( portlight :: Size :: new ( 512.0 , 512.0 ) ) ;
145
+ options. size ( reflector_platform :: Size :: new ( 512.0 , 512.0 ) ) ;
146
146
147
147
let raw_parent = match parent. as_raw ( ) {
148
- RawParent :: Win32 ( window) => portlight :: RawParent :: Win32 ( window) ,
149
- RawParent :: Cocoa ( view) => portlight :: RawParent :: Cocoa ( view) ,
150
- RawParent :: X11 ( window) => portlight :: RawParent :: X11 ( window) ,
148
+ RawParent :: Win32 ( window) => reflector_platform :: RawWindow :: Win32 ( window) ,
149
+ RawParent :: Cocoa ( view) => reflector_platform :: RawWindow :: Cocoa ( view) ,
150
+ RawParent :: X11 ( window) => reflector_platform :: RawWindow :: X11 ( window) ,
151
151
} ;
152
152
unsafe { options. raw_parent ( raw_parent) } ;
153
153
0 commit comments