Add initial bindings to Core Animation.
Bound types include `CALayer`, `CATransaction`, and `CATransform3D`.
This commit is contained in:
@@ -16,5 +16,7 @@ crate-type = ["rlib"]
|
||||
block = "0.1"
|
||||
bitflags = "1.0"
|
||||
libc = "0.2"
|
||||
core-foundation = { path = "../core-foundation", version = "0.6" }
|
||||
core-graphics = { path = "../core-graphics", version = "0.17" }
|
||||
foreign-types = "0.3"
|
||||
objc = "0.2.3"
|
||||
|
||||
+5
-1
@@ -15,8 +15,10 @@
|
||||
extern crate block;
|
||||
#[macro_use]
|
||||
extern crate bitflags;
|
||||
extern crate libc;
|
||||
extern crate core_foundation;
|
||||
extern crate core_graphics;
|
||||
extern crate foreign_types;
|
||||
extern crate libc;
|
||||
#[macro_use]
|
||||
extern crate objc;
|
||||
|
||||
@@ -24,3 +26,5 @@ extern crate objc;
|
||||
pub mod appkit;
|
||||
pub mod base;
|
||||
pub mod foundation;
|
||||
#[cfg(target_os = "macos")]
|
||||
pub mod quartzcore;
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -12,6 +12,8 @@ use base::CGFloat;
|
||||
use core_foundation::base::TCFType;
|
||||
use super::sys::{CGColorRef};
|
||||
|
||||
pub use super::sys::CGColorRef as SysCGColorRef;
|
||||
|
||||
declare_TCFType!{
|
||||
CGColor, CGColorRef
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user