Skip to content

Conversation

@guidocalvano
Copy link

I couldn't merge the RGBA and GdkRGBA because the rgba values were of different primitive types. I also couldn't figure out how to expose GdkRGBA analogous to for instance @TextBuffer, so now it can be accessed with Gtk.GdkRGBA.

…splay rgba and replaced deprecated calls to bool() with calls to Bool()
immutable RGBA
r::UInt8; g::UInt8; b::UInt8; a::UInt8
RGBA(r,g,b) = new(r,g,b)
RGBA(r,g,b,a) = new(r,g,b,q)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

r,g,b,a

@vtjnash
Copy link
Contributor

vtjnash commented Jul 11, 2016

Thanks, this looks right to me. I didn't realize that they were exposing different primitive types. Can you get CI passing and then I can merge this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants