Skip to content
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

[Just information] The oekaki gem in ruby-gtk2 #7

Open
rubyFeedback opened this issue Aug 24, 2022 · 0 comments
Open

[Just information] The oekaki gem in ruby-gtk2 #7

rubyFeedback opened this issue Aug 24, 2022 · 0 comments

Comments

@rubyFeedback
Copy link

Heya Andy,

This is just (or mostly) information.

There is a fairly old gem called: oekaki

It requires gtk2 aka ruby-gtk2. Not sure if gtk2 works well on OSX but anyway,
if you ever have time, install the gem and try it out:

https://rubygems.org/gems/oekaki

Download link to the latest gem:

https://rubygems.org/downloads/oekaki-0.1.7.gem

Latest release already 4 years ago ... so it seems no longer ative.

If you extract the .gem, there are several examples. These are
the things I want to bring to your attention, the examples. They
work on my linux machine too, so it is fairly old code but still
works.

Try to run these examples.

One fast screenshot for one of these examples:

https://i.imgur.com/az5Yh4r.png

Here above ^^ is one example currently being drawn. It is basically
using the draw functionality of Gdk/GC in gtk. I think you
are doing something similar in libui or across the whole
glimmer suite (e. g. the polygon thing you did; I am not aware
of how far you progressed, e. g. I saw the polyogns and
stuff but I am not sure how many animated components
are added to glimmer yet).

I am trying to polish the code base of oekaki and port it to ruby-gtk3
but I'd have to read up on what things changed between gtk2
and gtk3, so I am not sure when I can do so (just switching
to gtk3 does not work, it has an issue with Gdk::GC or something).

But the old examples in ruby-gtk2 work fine still and I think it may be
itneresting to you to just get a quick glance and overview, in the
event that you may want to have more custom control
elements and drawings and what not. These could all
be nice for UI elements too, e. g. an animated border
or something. Or even just a glimmer logo drawn or
something. 🗡️

So this is really a "just information" and "give ideas",
not so much a "implement everything" issue again. :D

Either way that's it! Glimmer on. \o/

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

No branches or pull requests

1 participant