Skip to content
This repository has been archived by the owner on Jul 22, 2024. It is now read-only.

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

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants