Add initial bindings to Core Animation.

Bound types include `CALayer`, `CATransaction`, and `CATransform3D`.
This commit is contained in:
Patrick Walton
2018-09-26 19:01:51 -07:00
parent 77f53a210e
commit e0951ae07b
4 changed files with 1596 additions and 1 deletions
+2
View File
@@ -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
View File
@@ -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
+2
View File
@@ -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
}