pharo-spec / mars-gtk

The Gtk3 bindings for Pharo and Spec
14 stars 6 forks source link

Useful to know more about high-resolution displays. #19

Closed tinchodias closed 4 years ago

tinchodias commented 4 years ago

Fix #18.

I implemented them when investigated about Hiedra in a GTK window in a Apple Retina screen.

Useful? else I just delete them.

Tell me if you want some test to be written,I can do it if not too difficult.

estebanlm commented 4 years ago

oops. I completely forget this, sorry. Now, there is another small issue :(

this notation:

^ self ffiCall: #(gint gtk_widget_get_scale_factor #(self))

is not quite correct for our conventions. This one (closer to C declaration), is:

^ self ffiCall: #(gint gtk_widget_get_scale_factor (self))

If you fix that, you can merge yourself :)

tinchodias commented 4 years ago

Done.

These 2 should be fixed too, but not in this PR: GtkWidget >> dragDestSetFlags:... and GtkWidget >> dragDestUnset.

tinchodias commented 4 years ago

I don't have write access to merge it myself :)

estebanlm commented 4 years ago

sorry for the delay!