Fix some exported private type warnings.

This commit is contained in:
Ms2ger 2014-07-04 11:54:19 +02:00
parent 19560c0390
commit e1098232eb
4 changed files with 15 additions and 15 deletions

View file

@ -47,15 +47,15 @@ extern crate core_text;
pub use compositor_task::{CompositorChan, CompositorTask};
pub use constellation::Constellation;
mod compositor_task;
pub mod compositor_task;
mod compositor_data;
mod compositor;
mod headless;
mod pipeline;
mod constellation;
pub mod pipeline;
pub mod constellation;
mod windowing;

View file

@ -6,7 +6,7 @@ pub use windowing;
use compositor;
use headless;
use constellation::SendableFrameTree;
pub use constellation::SendableFrameTree;
use windowing::{ApplicationMethods, WindowMethods};
use platform::Application;

View file

@ -42,7 +42,7 @@ pub struct Constellation {
pub compositor_chan: CompositorChan,
pub resource_task: ResourceTask,
pub image_cache_task: ImageCacheTask,
pub pipelines: HashMap<PipelineId, Rc<Pipeline>>,
pipelines: HashMap<PipelineId, Rc<Pipeline>>,
navigation_context: NavigationContext,
next_pipeline_id: PipelineId,
pending_frames: Vec<FrameChange>,

View file

@ -85,22 +85,22 @@ macro_rules! glfw_callback(
/// The type of a window.
pub struct Window {
pub glfw: glfw::Glfw,
glfw: glfw::Glfw,
pub glfw_window: glfw::Window,
pub events: Receiver<(f64, glfw::WindowEvent)>,
glfw_window: glfw::Window,
events: Receiver<(f64, glfw::WindowEvent)>,
pub event_queue: RefCell<Vec<WindowEvent>>,
event_queue: RefCell<Vec<WindowEvent>>,
pub drag_origin: Point2D<c_int>,
drag_origin: Point2D<c_int>,
pub mouse_down_button: Cell<Option<glfw::MouseButton>>,
pub mouse_down_point: Cell<Point2D<c_int>>,
mouse_down_button: Cell<Option<glfw::MouseButton>>,
mouse_down_point: Cell<Point2D<c_int>>,
pub ready_state: Cell<ReadyState>,
pub render_state: Cell<RenderState>,
ready_state: Cell<ReadyState>,
render_state: Cell<RenderState>,
pub last_title_set_time: Cell<Timespec>,
last_title_set_time: Cell<Timespec>,
}
impl WindowMethods<Application> for Window {