aboutsummaryrefslogtreecommitdiffhomepage
path: root/gtk/PlatGTK.cxx
AgeCommit message (Collapse)AuthorFilesLines
2013-06-05Make method const since it has no side-effects.Unknown1-1/+1
2013-05-23Switch to calls compatible with old compilers/run times so that cross compilingnyamatongwe1-3/+3
Linux -> OS X works. From Mitchell Foral.
2013-05-05Since new throws an exception on failure, remove testing of result.nyamatongwe1-5/+3
2013-05-04Replacing raw pointers and allocations with std::vector and std::string.Neil Hodgson1-59/+47
2013-04-26Release all cached fonts when finalising.Unknown1-0/+8
2013-02-21Fixed outdated comment.nyamatongwe1-2/+1
2013-01-01Properly update the Pango contexts for the target surfaceColomban Wendling1-0/+4
This fixes drawing on a surface that has different settings (like scaling) than the display surface, by performing the measurements on a layout properly set up for the target surface. In practice, this fixes e.g. printing on a scaled surface. --- gtk/PlatGTK.cxx | 4 ++++ 1 file changed, 4 insertions(+)
2013-01-01Switch to non-deprecated thread and mutex APIs when using GLib >= 2.31.Neil Hodgson1-0/+12
2012-07-21Add extra argument to RGBAImage constructor.Neil Hodgson1-1/+1
2012-05-27Disable a warning that clang 3.0 gives incorrectly.Neil Hodgson1-0/+5
2012-04-29Fix autocompletion list being too short on GTK+ 3.x.nyamatongwe1-1/+6
2012-04-21Use C++ casts instead of C casts to avoid warnings from cppcheck.nyamatongwe1-5/+5
2011-12-09Allow fractional widths for single character strings.nyamatongwe1-4/+4
2011-12-12On GTK+ 2.x, change SurfaceID from GdkDrawable* to a cairo_t* so that it isnyamatongwe1-5/+1
the same as on GTK+ 3.x. This simplifies compatibility and allows implementing printing on GTK+ 2.x.
2011-11-04Round to nearest pixels horizontally to avoid background artifacts on OS X.nyamatongwe1-0/+2
From Mitchell Foral.
2011-09-27Made recent fractional positioning and ARGB code compatible withnyamatongwe1-6/+21
old versions of Pango and Cairo.
2011-09-25Palette support removed.nyamatongwe1-129/+26
2011-09-24Merged fractional text positioning branch.nyamatongwe1-80/+76
2011-09-24Removed support for GDK drawing in favour of Cairo which has beennyamatongwe1-842/+22
available since 2.8. Removed #ifs for versions earlier than 2.8.
2011-09-09Update deprecated calls to GTK+ 3 maintained functions.nyamatongwe1-0/+4
2011-09-09Update deprecated calls to GTK+ 3 maintained functions.nyamatongwe1-0/+4
2011-09-09Merge with main repository.nyamatongwe1-20/+3
2011-09-06Always use Cairo for drawing.nyamatongwe1-3/+1
2011-09-02Removed archaic unused deallocation calls.nyamatongwe1-18/+3
2011-08-11Implement new APIs defined for technology choice on Windows.nyamatongwe1-40/+37
2011-08-07Implement fractional widths and range of weights for GTK+.nyamatongwe1-66/+66
2011-07-12Fix Shift-JIS lead byte ranges to match Windows.nyamatongwe1-1/+2
2011-06-25Initial implementation of RGBA images.nyamatongwe1-31/+85
2011-05-12Make rounded rectangle work on Cairo versions before 1.2.nyamatongwe1-0/+5
2011-05-12Switching to function that works on all supported versions of GTK+.nyamatongwe1-1/+1
2011-06-19Fix problems when using CAIRO on older GTK+ versions. Bug #3322351.Marko Njezic1-3/+31
2011-06-18Updating AlphaRectangle for Cairo mode with no palette.nyamatongwe1-8/+10
2011-06-15Fix colours appearing wrong on some systems.nyamatongwe1-8/+2
2011-05-02Retreated from turning gdk_cursor_unref into g_object_unref as this caused ↵nyamatongwe1-1/+1
crashes.
2011-05-02Switching to non-deprecated APIs.nyamatongwe1-9/+47
2011-05-02Switching from deprecated gdk_cursor_unref to g_object_unref.nyamatongwe1-2/+2
2011-05-01For GTK+ 3, define SurfaceID to be cairo_t* as this is what is receivednyamatongwe1-5/+27
by draw methods. Disable palette as can't find an equivalent for GTK+ 3.
2011-05-01Use accessor function for allocation and style for GTK+ 3.nyamatongwe1-5/+19
2011-05-01Use accessor function for adjustments and scrollbars for GTK+ 3.nyamatongwe1-1/+10
2011-05-01Use accessor function instead of widget->window for GTK+ 3.nyamatongwe1-5/+13
2011-05-01Disable all use of GdkFont with DISABLE_GDK_FONT since the identifiernyamatongwe1-3/+13
is missing in GTK+ 3.
2011-04-04Fix font rendering in the GTK+ backend when using CairoColomban Wendling1-21/+5
Always get the Pango context though GTK+ API rather than creating it from a Cairo context to always get a context set up for the screen. This fixes font size issues when using Cairo rendering.
2011-02-23Avoid some cppcheck warnings.nyamatongwe1-2/+2
2011-02-01Fix memory leak when using Cairo for drawing. Bug #3157655.nyamatongwe1-0/+1
2010-12-29Clean whitespace.nyamatongwe1-5/+5
2010-11-05Horizontal or vertical lines can be more precisely drawn as a fillednyamatongwe1-17/+31
rectangle as this avoids antialiasing the end points which makes them less intense.
2010-11-05Turn Cairo back on.nyamatongwe1-1/+1
2010-11-05Change fold markers to connect better with Cairo drawing thatnyamatongwe1-5/+5
avoids last pixel with LineTo. Changed RectangleDraw and Ellipse to align better with lines and so match fold markers.
2010-11-05Make Cairo line drawing more compatible with GDK by not drawing lastnyamatongwe1-2/+20
pixel when this is easy.
2010-11-02Can draw with Cairo rather than GDK for compatibility with newer versions of ↵nyamatongwe1-19/+253
GTK+. Will be required for GTK+ 3.0 although not tested with 3.0 or development version 2.9. Can be turned on with USE_CAIRO definition and this is selected automatically for GTK+ 2.22 or later. Cairo is antialiased so some drawing will appear different.