summaryrefslogtreecommitdiff
path: root/src/eom-scroll-view.c
AgeCommit message (Collapse)AuthorFilesLines
2018-05-07svg: Fix offset coordinates when transforming SVG images on HiDPI displaysVictor Kareh1-5/+6
2018-05-03replace deprecated gdk_flushraveit651-1/+1
2018-05-03fix some -Wincompatible-pointer-types warningsraveit651-1/+1
2018-05-01Scale HiDPI images correctlyVictor Kareh1-21/+19
2018-01-30require GTK+ 3.22 and GLib 2.50monsta1-15/+0
and drop additional checks for min/max GLib versions, it's not needed
2017-04-26EomScrollView: fix override_background deprecated callEmmanuel Pacaud1-15/+17
Do the necessary background drawing in draw callback. taken from: https://git.gnome.org/browse/eog/commit/?id=aea6404
2017-04-26EomScrollView: Replace deprecated gtk_menu_popup functionAlexei Sorokin1-22/+11
2017-04-26EomScrollView: Switch from GtkDeviceManager to GdkSeatFelix Riemann1-2/+11
taken from: https://git.gnome.org/browse/eog/commit/?id=3de58ce
2017-04-23EomScrollView: Switch to GdkRGBA for background and transparent colorsFelix Riemann1-76/+62
This allows passing the colors more or less directly to cairo without having to convert it from and to the GdkColor format. taken from: https://git.gnome.org/browse/eog/commit/?id=823a4cd
2016-11-27EomScrollView: remove style_setmonsta1-14/+0
as done in: https://git.gnome.org/browse/eog/commit/?id=b099142374f277817e1f0c09c9ef743179184be1
2016-11-21move to GTK+3 (>= 3.14), drop GTK+2 code and --with-gtk build optionmonsta1-88/+0
and require libmate-desktop >= 1.17
2016-06-08Fix the zoom and scroll performance. Closes #105.Martin Wimpress1-3/+4
Adapted from https://git.gnome.org/browse/eog/commit/?id=3d1859e321b9dea27e49bab9626044f3f5835420
2016-02-28fix svg rendering that's broken with GTK+3monsta1-1/+3
from https://git.gnome.org/browse/eog/commit/?id=a33950c14d7b8da8e1c6289709022affb910be2a
2015-12-03remove unneeded assert - the code following it is enoughmonsta1-2/+0
from https://git.gnome.org/browse/eog/commit/?id=ee33862e7cede4fd2ff34e4cfcb4192dfdd52b46
2015-10-02EomScrollView: clip all types of images to the visible image areamonsta1-2/+7
previously it wasn't done for SVGs, now it is. taken from https://git.gnome.org/browse/eog/commit?id=3fb558e1861d3d75bca23946fcf3f62c80daeeec
2015-10-02EomScrollView: remove ancient commented out codemonsta1-695/+0
adapted from https://git.gnome.org/browse/eog/commit?id=ef626dc9094d191d55a9cba854380696cadd7627
2015-10-02enable double-buffer in EomScrollViewmonsta1-2/+0
taken from https://git.gnome.org/browse/eog/commit/?id=f0410a55778e719da8f2b62f0e5060bb128f028e it was already committed here in b51631c40b743d224cda4b7fd63e3d60b84218ae but then got lost in 77f6ed0e2a178b9934baee8b846cdd1cc88b2eab
2015-09-06EogScrollView: Use gdk_cursor_new_for_displayraveit651-1/+1
gdk_cursor_new() will be deprecated in GTK+ 3.16 and we have the correct display at hand already anyway. taken from: https://git.gnome.org/browse/eog/commit/?id=ab4e432
2015-09-06Gtk3: Fix GDK deprecationsraveit651-0/+15
- deprecated gdk_window_get_pointer taken from: https://git.gnome.org/browse/eog/commit/?id=c87818d
2015-09-06Gtk3: fix deprecated gtk_vscrollbar_newraveit651-0/+4
taken from: https://git.gnome.org/browse/eog/commit/?id=59e675c
2015-08-31GTK3: Fix deprecated GTK API usageraveit651-0/+10
taken from: https://git.gnome.org/browse/eog/commit/?id=9bd1a07
2015-08-31GTK3: EomScrollView, Convert to GtkGridraveit651-1/+22
GtkTable is deprecated. taken from: https://git.gnome.org/browse/eog/commit/?id=c19345e
2015-08-31GTK3: Don't use deprecated gdk_cursor_unref() for gtk+ >=3.0.0raveit651-0/+4
2015-06-22mispositioned brackets in update_scrollbar_valueslyokha1-1/+1
make high images scroll bad after zoom-ins until hbar appears
2014-12-23use guint for signals arrays, and zero-initialize themMonsta1-1/+2
2014-07-29all: Fix a load of warningsinfirit1-2/+0
Partly based on eog commit 3859553433838e97367e7678f9da4ba2bcc7f973 From Cosimo Cecchi <[email protected]>
2014-07-29Have GSettings use enum for transparency styleinfirit1-31/+3
Based on eog commit e8f2f6ecdd99dc5dce35a044e84738fe73f937e0 From Felix Riemann <[email protected]> ps infirit: eom never had this value in the convert file
2014-07-28Add API docs for EomScrollView's new propertiesinfirit1-1/+13
Based on eog commit c630747b02a9589a993c28d244448cdc291131e8 From Felix Riemann <[email protected]>
2014-07-28Make setting the image view background color work againinfirit1-0/+4
The color was assigned to the parent container and not to the drawing area. That made it draw the default theme background color all the time instead. Based on eog commit 64ffb683343d9af629671ea82c85f91130c3ea7d From Felix Riemann <[email protected]>
2014-07-28Make sure EomScrollView's adjustment values are always correctly setinfirit1-34/+21
Ensures one can only scroll as far as necessary. If one scrolled to far the images's last line/column was used for padding. Eog bug https://bugzilla.gnome.org/show_bug.cgi?id=631710 Based one eog commit b21dd56b9437e53b7ba8abdd96942c1871edc02c From Felix Riemann <[email protected]>
2014-07-28Replace missed GDK_INTERP_NEAREST with CAIRO_FILTER_NEARESTinfirit1-2/+2
Missed in 72dee2d1a95db4dfa335d98358fdf3f294a9fbaa
2014-07-28Add gtk-doc annotations to the new properties in EomScrollViewinfirit1-0/+11
Based on ec93e7f2c26a09a69dbc93241a50badccb0f6b21 From Felix Riemann <[email protected]>
2014-07-27Set transparency style using GSettingsinfirit1-0/+47
Based on eog commit acdafc3563c5c88d3c2d2a25e4602d774dad92fa From Felix Riemann <[email protected]>
2014-07-27Set transparency fill color using GSettingsinfirit1-18/+52
Based on eog commit 2a4e4c30e4a41a1f4b7b452243a56851cdebe442 From Felix Riemann <[email protected]>
2014-07-27Set zoomed out antialiasing using a GSettings bindinginfirit1-0/+19
Based on eog commit bfef239942645fff4a5efe71d801ccb92a185cf7 From Felix Riemann <[email protected]>
2014-07-27Set zoomed in antialiasing using a GSettings bindinginfirit1-0/+19
Based on eog commit 15917972d9a60fc185b1cc9a7b4e304952c49d2d From Felix Riemann <[email protected]>
2014-07-27Rework gsettings code to be more like eoginfirit1-6/+58
2014-07-27Switch scrollwheel zoom setting with GSettingsinfirit1-2/+17
Based on eog commit 8c7cf9f8938673eda2843be650b558084b44303e From Felix Riemann <[email protected]>
2014-07-27Bind zoom multiplier to GSettings instead of setting it by handinfirit1-1/+16
Based on eog commit 0cadaebd5c7561991eceaf3ed9af32f50e63b1e9 From Felix Riemann <[email protected]>
2014-07-27Handle EomScrollView's instance initialization in the right functioninfirit1-69/+84
Moves most of the other stuff done in eom_scroll_view_new over to eom_scroll_view_init. Based on eog commit e7243a9ddad0f31f8759aadbd92ad551781b8480 From Felix Riemann <[email protected]>
2014-07-24Disable more of the old drawing codeinfirit1-3/+11
Based on eog commit 8db7761ea28a9c214fe02dd4aca9c25166eded68 From Felix Riemann <[email protected]>
2014-07-24Gtk+3: Connect to the ::draw signalinfirit1-0/+16
Based on eog commit e300daf3ad2743199cab0263d945e3bf732a05b3 From Claudio Saavedra <[email protected]>
2014-07-24Simplify create_surface_from_pixbuf()infirit1-5/+1
Based on eog commit f9ba7f06d73fcd901691e5fa375d87a3a9981cd6 From Claudio Saavedra <[email protected]>
2014-07-24Improve the rendering of scaled imagesinfirit1-8/+5
Based on eog commit 2be68aaee33e3e6732e512a22d9ee5b681e95cc5 From Claudio Saavedra <[email protected]>
2014-07-24Honour the antialiasing-in and antialiasing-out EomScrollView propertiesinfirit1-0/+3
Based on eog commit 9e6f9ee6ea2c0ca4338445a55ff3c6175ca6f623 From Claudio Saavedra <[email protected]>
2014-07-24Replace GdkInterpType with cairo_filter_t in EomScrollViewinfirit1-20/+20
Basedon eog commit 793ede27dd4cd0aa73d5e84cc478641e25424f54 From Claudio Saavedra <[email protected]>
2014-07-24Remove unneeded codeinfirit1-5/+14
Based on eog commit bb9d00011e07e9ad68b5e4968a2c1e68596c5684 From Claudio Saavedra <[email protected]>
2014-07-24Fix the SVG renderinginfirit1-3/+51
Based on eog commit 8654e7de549d8edf34c14f3f0a655d8773b1e433 From Claudio Saavedra <[email protected]>
2014-07-24Enable double-buffer in EomScrollViewinfirit1-2/+0
Based on eog commit f0410a55778e719da8f2b62f0e5060bb128f028e From Claudio Saavedra <[email protected]>
2014-07-24Fully rely on cairo to render the image in EomScrollViewinfirit1-13/+92
Based on eog commit 919929eea1d63380f773f9c0a339a32149e592ba From Claudio Saavedra <[email protected]>