Michael Natterer
4ea6f6dd28
app: minor formatting cleanup in gimpdisplayshell-tool-events.c
2015-04-18 08:40:31 +02:00
Michael Natterer
6f104ff2ac
Bug 747224 - Too easy to accidentially close an image tab
...
Show the close button only on the active tab, so it's not
accidentially hit when changing between images.
2015-04-03 20:28:57 +02:00
Michael Natterer
2e316a342e
app: change the image window icon size from 32x32 to 64x64, because it's 2015
2015-03-29 21:50:34 +02:00
Mukund Sivaraman
2c80affe4c
app: Include commit hash in display shell message
2015-03-12 12:07:45 +05:30
Michael Natterer
ce29043315
app: some cleanup in GimpCanvasBufferPreview
2015-03-01 00:18:10 +01:00
Marek Dvoroznak
10255eddbb
app: npd-tool: add option to apply or cancel the deformation
2015-02-27 20:21:52 +01:00
Marek Dvoroznak
781f0b79f8
app: add canvas buffer preview
...
It is used by n-point deformation tool to preview a deformation process.
2015-02-27 20:21:52 +01:00
Joao S. O. Bueno
2746544328
Add new codes for title bar: '%e' for offsets, '%r' for rotation
2015-01-29 11:06:54 -02:00
Kristian Rietveld
cea42c73d8
app: fix implicit enum casting
...
Silences clang.
2015-01-10 00:02:28 +01:00
Michael Natterer
c17e8b0412
app: add crosshair drawing to GimpCanvasAnchor and use it in GimpPaintTool
...
instead of drawing the crosshair cursor manually.
2014-11-18 23:06:43 +01:00
Alexia Death
7c00dcd71d
app: use variable buffer length for a more stable direction
2014-11-17 21:36:06 +02:00
Alexia Death
b161253939
app: refactor all motion managment to use scale factors passed with coords
2014-11-17 00:03:13 +02:00
Alexia Death
9a953a9239
app: locking brush size to zoom
2014-11-17 00:03:10 +02:00
Michael Natterer
225a0ce27c
Bug 567333 - Using tab to toggle docked "utility windows" does not...
...
...bring focus back to GIMP image window
When showing docks in multi-window-mode, try to set the keyboard focus
back to the active display because it might have been stolen by a dock.
2014-10-29 23:34:41 +01:00
Michael Natterer
c5ed3e56c9
Bug 735505 - Weird Characters in Zoom Button
...
On windows, use a normal space instead of U+2009 THIN SPACE for
separating the scale percentage from the percent sign.
2014-09-27 23:48:39 +02:00
Michael Natterer
53f4dda3b4
Bug 735894 - Option to display the image ICC profile...
...
...on the title bar and status bar
Implement %o for the title and status format strings, which expands
to the image profile's label.
2014-09-03 22:20:36 +02:00
Mukund Sivaraman
a805f8426a
app: Use gint64 for dirty_time
2014-08-25 19:55:29 +05:30
Michael Natterer
328e4eff18
app: add gimp_progress_set_text_literal()
...
and use it instead of set_text (progress, "%s", literal_message);
2014-07-20 23:32:19 +02:00
Michael Natterer
a6601d563b
app: some GimpProgress cleanup
...
- change start() and set_text() to use "format" and "..." instead of
"message", allowing to format progress messages in place
- s/cancelable/cancellable/
- move "cancellable" to be the second argument of start()
2014-07-12 23:45:20 +02:00
Michael Natterer
d0a6d95dad
app: remove a bunch of file-utils.h includes
2014-07-08 00:23:34 +02:00
Michael Natterer
ff6ea69569
app: change the image's various URIs to GFiles
...
which gets rid of a lot of temporarily added GFile code again because
we don't need to convert between URI and GFile any longer.
2014-07-07 23:58:11 +02:00
Michael Natterer
0f8d84d5e9
app: port all file_open() and file_save() functions to GFile
2014-07-07 23:58:11 +02:00
Michael Natterer
52032961c2
app: add (disabled) code that blits the image directly from the graph
...
bypassing the projection buffer.
2014-07-03 20:52:02 +02:00
Michael Natterer
c88800e840
app: add gimp-priorities.h and keep the most important priorities there
...
also add comments with all predefined priorities as documentation.
2014-07-02 04:47:24 +02:00
Michael Natterer
2d2bdbd48f
app: implement GimpCanvasItem::hit() in GimpCanvasProgress
...
Allow hits only on the progress text. Hackish proof-of-concept hack.
2014-06-30 03:40:34 +02:00
Michael Natterer
2ac5ab7dc3
app: don't use the projection in gimpdisplayshell-render.c
...
The image implements the GimpPickable interface too.
2014-06-29 23:11:53 +02:00
Michael Natterer
34dd127ace
app: don't include gimpprojection.h in gimpdisplayshell-scroll.c
...
It's not needed.
2014-06-29 23:11:12 +02:00
Michael Henning
2e3e4597ef
app: Slight cleanup in gimpdisplayshell-rotate-dialog.c
2014-06-29 14:58:12 -04:00
Michael Natterer
78bc7ac94e
app: improve and clean up the canvas rotation dialog
...
Make the action area buttons behave less unexpected, and add and angle
dial.
2014-06-26 13:48:12 +02:00
Michael Natterer
a665c30823
app: gimp_spin_button_new() -> gtk_spin_button_new()
2014-06-21 22:39:37 +02:00
Michael Natterer
921bd34495
app: fix GimpCanvasProgress' extents for short progress texts
2014-06-19 23:29:00 +02:00
Michael Natterer
3af1fff5af
app: make the first image jump to the center of the canvas before rendering
...
Make GIMP_DISPLAY_SHELL_FILL_IDLE_PRIORITY a bit higher than
GIMP_PROJECTION_IDLE_PRIORITY which is the priority of chunk
rendering.
2014-06-17 23:29:24 +02:00
Michael Natterer
21a8f9c96b
app: add boolean "mask_inverted" to GimpDisplayShell
...
and to gimp_display_shell_set_mask(). It allows to choose whether the
mask is drawn inverted, instead of always drawing it inverted.
2014-06-11 21:33:57 +02:00
Michael Natterer
cd479ce04e
app: add an "auto overlay" API to GimpToolGui
...
which makes tool dialogs auto-overlay if the canvas is large
enough. Set all tools dialogs except GimpImageMapTool's dialog to
auto.
2014-06-09 03:08:43 +02:00
Michael Natterer
17bd4d2c28
app: make GimpOverlayDialog's title and icon-name settable after construction
2014-06-09 01:42:09 +02:00
Michael Natterer
8e948d29e0
app: properly disconnect from the old shell in gimp_tool_dialog_set_shell()
...
Also clean up the function a bit.
2014-06-05 22:19:23 +02:00
Øyvind Kolås
69b7cda375
app: fix projection and display render chunk-size envvars
2014-06-04 02:07:08 +02:00
Michael Natterer
2c4d5e4391
app: make projection chunk size and display render chunk size configurable
...
Set the GIMP_PROJECTION_CHUNK_SIZE and GIMP_DISPLAY_RENDER_BUF_SIZE
environment variables to "WIDTHxHEIGHT".
2014-06-04 01:23:41 +02:00
Michael Natterer
c78d82a43c
app: render/update the visible part of the image first
...
Set the active display's viewport as priority rectangle on the image.
Update the rectangle in the default implementations of
GimpDisplayShell::scaled(), ::scrolled() and ::rotated(), which isn't
entirely correct yet but much better than before, and the only "bad"
thing that can happen with a bogus priority rectangle is that the
image is updated as out-of-viewport as before, just differently.
2014-05-31 02:36:25 +02:00
Michael Natterer
9b341d05bb
app: remove GimpArea and use cairo_region_t instead
...
This may or may not remove some logic that avoids drawing tiny update
regions, and may or may not improve things or make them worse. Will
add code that actually tile-aligns update areas later.
2014-05-31 01:26:06 +02:00
Michael Natterer
bb8d65bcee
Bug 730862 - Preview frozen while dragging selection tools...
...
...(crop, rectangle, etc) in large image zoomed-to-fit
Introduce a hash of the last 16 used icons in GimpStatusbar, it was
loading icons at a very high frequency. Found by Massimo.
2014-05-30 19:40:11 +02:00
Michael Natterer
dd0098524f
app: add a little hint about reporting bugs against unstable git
2014-05-27 21:58:10 +02:00
Michael Henning
6923f49b0d
app: Fix broken header guards.
2014-05-25 20:50:56 -04:00
Michael Natterer
453882c81e
app: add gimp_tool_gui_set_icon_name()
2014-05-22 23:29:24 +02:00
Michael Natterer
d3966c2c90
app: add more accessors to GimpGrid and use them instead of grid->foo
2014-05-21 21:44:28 +02:00
Michael Natterer
5e2ded5020
app: add gimp_grid_get_spacing() and gimp_grid_get_offset()
...
and do the rounding to integer there instead of in several places.
2014-05-21 21:25:41 +02:00
Michael Natterer
08c6aefa23
Bug 588512 - Grid Spacing errors depending on unit
...
Always round grid spacings and offsets to integer precision when
using them for snapping and grid drawing. While we might *want* to
have subpixel precision grids, all the UI is pretending it to be
on pixel boundaries. Make that pretense an fact.
2014-05-21 20:43:05 +02:00
Michael Natterer
bbf01ebabf
libgimpwidgets, app: add gdk_screen_get_monitor_workarea()
...
to the gimp3migration hack and use it where appropriate, so in the
gtk3-port branch windows will not overlap with docks, panels etc.
2014-05-19 14:37:32 +02:00
Michael Natterer
65a65947d9
app, libgimp: replace GTK_STOCK_FOO by icon names
...
unless it's a stock ID used for an action button, will address that
later.
2014-05-11 22:49:22 +02:00
Michael Natterer
7d0b326359
app: add gimp_widget_load_icon() as replacement for gtk_widget_render_icon()
...
...and use it instead.
2014-05-08 09:11:31 +02:00