Skip to content

place cursor, GdkRGBA that works with tag, expanded constructor of di… #244

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

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()
@@ -16,7 +16,7 @@ convert{U<:Unsigned}(::Type{U},x::RGB) = convert(U,(x.r)|(x.g>>8)|(x.b>>16))

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