pub fn create_render_window<'a, TProperties: 'a+FloWindowProperties>(properties: TProperties) -> (Publisher<Vec<RenderAction>>, impl Clone+Send+Stream<Item=DrawEvent>) {
    // Create the publisher to send the render actions to the stream
    let mut render_publisher    = Publisher::new(1);
    let event_subscriber        = create_render_window_from_stream(render_publisher.subscribe(), properties);

    // Publisher can now be used to render to the window
    (render_publisher, event_subscriber)
}
///
/// Creates a window that can be rendered to by sending groups of render actions
///
Creates a window that can be rendered to by sending groups of render actions
Creates a window that can be rendered to by sending groups of render actions
pub fn create_render_window<'a, TProperties: 'a+FloWindowProperties>(properties: TProperties) -> (Publisher<Vec<RenderAction>>, impl Clone+Send+Stream<Item=DrawEvent>) {
    // Create the publisher to send the render actions to the stream
    let mut render_publisher    = Publisher::new(1);
    let event_subscriber        = create_render_window_from_stream(render_publisher.subscribe(), properties);
    // Publisher can now be used to render to the window
    (render_publisher, event_subscriber)
}
pub fn create_render_window < ' a , TProperties : ' a + FloWindowProperties > ( properties : TProperties ) -> ( Publisher < Vec < RenderAction > > , impl Clone + Send + Stream < Item = DrawEvent > ) { // Create the publisher to send the render actions to the stream let mut render_publisher = Publisher :: new ( 1 ) ; let event_subscriber = create_render_window_from_stream ( render_publisher . subscribe ( ) , properties ) ; // Publisher can now be used to render to the window ( render_publisher , event_subscriber ) }
Creates a window that can be rendered to by sending groups of render actions
Creates a window that can be rendered to by sending groups of render actions
properties
TProperties