Gimp/app/display
Michael Natterer 8356003fa2 app: pass the startup monitor to displays opened from the copmmand line
Change gimp_get_display_name() to also return the screen, and its
implementation in the GUI to return the initial monitor during
startup. Retrieve that information in app.c using a weird callback
construct and pass the monitor to file_open_from_command_line().

Half-related, add screen and monitor parameters to GimpDisplayShell
and use these initial values for calculating the canvas's initial
extents.

The image windows still don't position themselves correctly though
because we have no mechanism for that whatsoever just yet, but we now
at least pass the needed monitor information to the right objects.
2014-05-03 00:54:20 +02:00
..
.gitignore
display-enums.c app,libgimp*: fix includes to follow our include policy 2013-10-15 01:58:39 +02:00
display-enums.h transformtool: Add temporary new handles 2012-08-20 15:22:22 +02:00
display-types.h app: add new helper object GimpToolGui 2013-06-07 10:24:51 +02:00
gimpcanvas-style.c app: rename gimpdisplayshell-style to gimpcanvas-style 2013-04-18 16:46:01 +02:00
gimpcanvas-style.h app: rename gimpdisplayshell-style to gimpcanvas-style 2013-04-18 16:46:01 +02:00
gimpcanvas.c libgimpcolor: add gimp_rgb[a]_set,get_pixel() 2012-05-02 17:50:43 +02:00
gimpcanvas.h Bug 677375: tools do not strictly follow mouse... 2012-06-10 17:22:33 +02:00
gimpcanvasarc.c Bug 701410 - Small artifacts appear when performing a selection 2013-06-21 20:17:01 +02:00
gimpcanvasarc.h app: add a "shell" property to GimpCanvasItem 2010-10-01 14:13:45 +02:00
gimpcanvasboundary.c app: remove GimpDisplayShell parameters from all GimpCanvasItem vfuncs 2013-04-18 16:46:01 +02:00
gimpcanvasboundary.h app: BoundSeg -> GimpBoundSeg, boundary_foo() -> gimp_boundary_foo() 2012-05-02 17:46:02 +02:00
gimpcanvascorner.c app: remove GimpDisplayShell parameters from all GimpCanvasItem vfuncs 2013-04-18 16:46:01 +02:00
gimpcanvascorner.h app: introduce enum GimpHandleAnchor as replacement for GtkAnchorType 2010-10-18 12:50:17 +02:00
gimpcanvascursor.c app: remove GimpDisplayShell parameters from all GimpCanvasItem vfuncs 2013-04-18 16:46:01 +02:00
gimpcanvascursor.h app: add and use more GimpCanvasItem setters 2011-03-28 15:15:43 +02:00
gimpcanvasgrid.c app: remove GimpDisplayShell parameters from all GimpCanvasItem vfuncs 2013-04-18 16:46:01 +02:00
gimpcanvasgrid.h app: add a canvas grid item class and use it to draw the grid 2010-10-02 20:57:40 +02:00
gimpcanvasgroup.c app: remove GimpDisplayShell parameters from all GimpCanvasItem vfuncs 2013-04-18 16:46:01 +02:00
gimpcanvasgroup.h app: add a "shell" property to GimpCanvasItem 2010-10-01 14:13:45 +02:00
gimpcanvasguide.c app: draw guides across the entire canvas also when rotated 2013-04-25 09:12:35 +02:00
gimpcanvasguide.h app: add and use more GimpCanvasItem setters 2011-03-28 15:15:43 +02:00
gimpcanvashandle.c Bug 722034 - Incorrect snapping behaviour for scale tool 2014-01-29 23:40:35 +01:00
gimpcanvashandle.h Bug 722034 - Incorrect snapping behaviour for scale tool 2014-01-29 23:40:35 +01:00
gimpcanvasitem-utils.c app: make the shift-coordinates-by-anchor functions public API 2010-11-09 11:27:51 +01:00
gimpcanvasitem-utils.h app: make the shift-coordinates-by-anchor functions public API 2010-11-09 11:27:51 +01:00
gimpcanvasitem.c app: consolidate all transform API in gimpdisplayshell-transform.[ch] 2013-04-25 00:29:58 +02:00
gimpcanvasitem.h app: remove GimpDisplayShell parameters from all GimpCanvasItem vfuncs 2013-04-18 16:46:01 +02:00
gimpcanvaslayerboundary.c app: don't crash when adjusting quality during an export to jpeg 2013-05-04 18:13:19 +02:00
gimpcanvaslayerboundary.h app: add a layer boundary canvas item class 2010-10-03 00:28:40 +02:00
gimpcanvasline.c app: remove GimpDisplayShell parameters from all GimpCanvasItem vfuncs 2013-04-18 16:46:01 +02:00
gimpcanvasline.h app: change GimpCanvasItem setters to take GimpCanvasItem* 2011-03-28 12:20:36 +02:00
gimpcanvaspassepartout.c Bug 711329 - Artifacts on crop tool's passepartout when set to "allow growing" 2013-11-03 15:21:22 +01:00
gimpcanvaspassepartout.h app/display: add new canvas item GimpCanvasPassePartout 2010-10-18 22:17:27 +02:00
gimpcanvaspath.c app: remove GimpDisplayShell parameters from all GimpCanvasItem vfuncs 2013-04-18 16:46:01 +02:00
gimpcanvaspath.h app: clean up the new brush outline stuff a bit 2011-06-30 09:27:43 +02:00
gimpcanvaspen.c app: remove GimpDisplayShell parameters from all GimpCanvasItem vfuncs 2013-04-18 16:46:01 +02:00
gimpcanvaspen.h app: whitespace fix in gimpcanvaspen.h 2013-04-30 17:18:28 +02:00
gimpcanvaspolygon.c app: remove GimpDisplayShell parameters from all GimpCanvasItem vfuncs 2013-04-18 16:46:01 +02:00
gimpcanvaspolygon.h app: implement the "points" property using GimpArray 2010-10-03 01:43:22 +02:00
gimpcanvasprogress.c app: remove GimpDisplayShell parameters from all GimpCanvasItem vfuncs 2013-04-18 16:46:01 +02:00
gimpcanvasprogress.h app: add GimpCanvasProgress, an on-canvas progress item 2010-11-09 19:35:04 +01:00
gimpcanvasproxygroup.c app: rename gimpdisplayshell-style to gimpcanvas-style 2013-04-18 16:46:01 +02:00
gimpcanvasproxygroup.h app: add a "shell" property to GimpCanvasItem 2010-10-01 14:13:45 +02:00
gimpcanvasrectangle.c app: remove GimpDisplayShell parameters from all GimpCanvasItem vfuncs 2013-04-18 16:46:01 +02:00
gimpcanvasrectangle.h app: port GimpMagnifyTool away from draw_tool_pause()/resume() 2011-03-28 12:22:29 +02:00
gimpcanvasrectangleguides.c app: remove GimpDisplayShell parameters from all GimpCanvasItem vfuncs 2013-04-18 16:46:01 +02:00
gimpcanvasrectangleguides.h app: add "n-lines" property to GimpCanvasRectangleGuides 2011-07-24 17:49:31 +02:00
gimpcanvassamplepoint.c app: remove GimpDisplayShell parameters from all GimpCanvasItem vfuncs 2013-04-18 16:46:01 +02:00
gimpcanvassamplepoint.h app: gimp_canvas_sample_point_set(): x and y are integers not doubles 2011-04-03 23:42:26 +02:00
gimpcanvastextcursor.c app: remove GimpDisplayShell parameters from all GimpCanvasItem vfuncs 2013-04-18 16:46:01 +02:00
gimpcanvastextcursor.h app: add a "shell" property to GimpCanvasItem 2010-10-01 14:13:45 +02:00
gimpcanvastransformguides.c app: remove GimpDisplayShell parameters from all GimpCanvasItem vfuncs 2013-04-18 16:46:01 +02:00
gimpcanvastransformguides.h app: add GimpCanvasTransformGuides and use them in the transform tool 2011-07-24 18:42:13 +02:00
gimpcanvastransformpreview.c app: remove GimpDisplayShell parameters from all GimpCanvasItem vfuncs 2013-04-18 16:46:01 +02:00
gimpcanvastransformpreview.h app: refactor GimpCanvasTransformPreview to not know GimpTransformTool any more 2011-03-27 21:19:38 +02:00
gimpcursorview.c app: port gimp_image_pick_color() to return a Babl format 2012-05-02 17:50:39 +02:00
gimpcursorview.h
gimpdisplay-foreach.c app: avoid inadvertent calls to image actions on file -> revert 2012-12-09 22:54:30 +01:00
gimpdisplay-foreach.h
gimpdisplay-handlers.c
gimpdisplay-handlers.h
gimpdisplay.c app: pass the startup monitor to displays opened from the copmmand line 2014-05-03 00:54:20 +02:00
gimpdisplay.h app: add screen and monitor to all display and image window constructors 2014-05-02 20:21:41 +02:00
gimpdisplayshell-appearance.c Bug 704065 - Snap default preferences are now settable in the preferences. 2013-08-27 23:31:22 +12:00
gimpdisplayshell-appearance.h app: turn the transform preview into a GimpCanvasItem 2011-03-27 16:40:41 +02:00
gimpdisplayshell-autoscroll.c app: add gimp_context_get_foreground,background_pixel() 2012-05-02 17:50:41 +02:00
gimpdisplayshell-autoscroll.h
gimpdisplayshell-callbacks.c app: write "Unstable Development Version" across the empty image window 2014-03-07 11:33:14 +01:00
gimpdisplayshell-callbacks.h app: remove the manual double buffering from the canvas 2013-04-28 14:56:07 +02:00
gimpdisplayshell-close.c app: fix typo in last commit 2013-11-08 23:33:54 +01:00
gimpdisplayshell-close.h
gimpdisplayshell-cursor.c app: rotate cursors that indicate a direction with the view 2013-04-20 17:21:01 +02:00
gimpdisplayshell-cursor.h app: rename the functions dealing with GimpDisplayShell's software cursor 2011-02-20 14:46:52 +01:00
gimpdisplayshell-dnd.c app: add screen and monitor to all display and image window constructors 2014-05-02 20:21:41 +02:00
gimpdisplayshell-dnd.h
gimpdisplayshell-draw.c Bug 681968 - Disabling 'Dot for Dot' glitches display 2014-04-20 22:01:57 +02:00
gimpdisplayshell-draw.h app: remove rectangle parameters from gimp_display_shell_draw_checkerboard() 2013-04-20 10:47:13 +02:00
gimpdisplayshell-expose.c Bug 702369 - foreground selection doesnt work with image precision >8 bit 2013-06-22 22:26:46 +02:00
gimpdisplayshell-expose.h app: remove the unused gimp_display_shell_expose_vectors() 2010-11-13 23:02:07 +01:00
gimpdisplayshell-filter-dialog.c Bug 397359 - Can't access color management parameters 2013-03-13 10:37:25 +01:00
gimpdisplayshell-filter-dialog.h
gimpdisplayshell-filter.c Bug 702369 - foreground selection doesnt work with image precision >8 bit 2013-06-22 22:26:46 +02:00
gimpdisplayshell-filter.h
gimpdisplayshell-grab.c Bug 702369 - foreground selection doesnt work with image precision >8 bit 2013-06-22 22:26:46 +02:00
gimpdisplayshell-grab.h app: sprinkle const qualifiers in the tool event callback functions 2011-05-31 23:18:11 +02:00
gimpdisplayshell-handlers.c app: rename gimp_get_screen_resolution() to get_monitor_resolution() 2014-05-02 23:58:14 +02:00
gimpdisplayshell-handlers.h
gimpdisplayshell-icon.c
gimpdisplayshell-icon.h
gimpdisplayshell-items.c Bug 702369 - foreground selection doesnt work with image precision >8 bit 2013-06-22 22:26:46 +02:00
gimpdisplayshell-items.h app: add an unrotated canvas item group to GimpDisplayShell 2013-04-24 00:01:01 +02:00
gimpdisplayshell-layer-select.c app: use gtk_box_new() 2011-09-30 11:29:11 +02:00
gimpdisplayshell-layer-select.h
gimpdisplayshell-progress.c Bug 702369 - foreground selection doesnt work with image precision >8 bit 2013-06-22 22:26:46 +02:00
gimpdisplayshell-progress.h
gimpdisplayshell-render.c Bug 681968 - Disabling 'Dot for Dot' glitches display 2014-04-20 22:01:57 +02:00
gimpdisplayshell-render.h app: Use SHM transport for data transfer for display 2013-02-02 13:59:59 +01:00
gimpdisplayshell-rotate-dialog.c app: update the rotate dialog's spinbutton when the view is rotated 2013-04-22 23:18:27 +02:00
gimpdisplayshell-rotate-dialog.h app: add a rotate dialog to rotate to exact degrees 2013-04-20 23:22:14 +02:00
gimpdisplayshell-rotate.c app: consolidate all transform API in gimpdisplayshell-transform.[ch] 2013-04-25 00:29:58 +02:00
gimpdisplayshell-rotate.h app: consolidate all transform API in gimpdisplayshell-transform.[ch] 2013-04-25 00:29:58 +02:00
gimpdisplayshell-scale-dialog.c app: pass a format, not bpp, to gimp_viewable_get_dummy_pixbuf() 2012-05-02 17:51:08 +02:00
gimpdisplayshell-scale-dialog.h
gimpdisplayshell-scale.c app: remove useless real_new_scale variable from gimp_display_shell_scale() 2013-04-21 03:14:36 +02:00
gimpdisplayshell-scale.h app: move the "get scaled image size" functions from shell-draw to -scale 2013-04-18 19:06:17 +02:00
gimpdisplayshell-scroll.c Bug 55367 - Rotated view of the canvas (view is rotated, not image contents) 2013-04-20 15:11:01 +02:00
gimpdisplayshell-scroll.h app: remove GimpDisplayShell-scroll API that is now unused 2012-06-30 14:22:47 +02:00
gimpdisplayshell-selection.c app: gimp_display_shell_selection_init(): fix declaration after statement 2013-06-21 14:37:56 +02:00
gimpdisplayshell-selection.h app: get rid of selection_control() in core/ and display/ 2010-10-09 20:28:37 +02:00
gimpdisplayshell-title.c app: clenup and fixes in gimp_display_shell_format_title() 2014-04-21 16:15:49 +02:00
gimpdisplayshell-title.h
gimpdisplayshell-tool-events.c app: Fix on canvas widgets ignoring clicks from tablets - bug 614441 2014-02-10 22:28:08 +01:00
gimpdisplayshell-tool-events.h app: GimpMotionBuffer API cleanup and refactoring 2011-04-18 11:08:24 +02:00
gimpdisplayshell-transform.c app: Fix a typo in an unused function 2013-09-05 13:20:03 +02:00
gimpdisplayshell-transform.h app: consolidate all transform API in gimpdisplayshell-transform.[ch] 2013-04-25 00:29:58 +02:00
gimpdisplayshell.c app: pass the startup monitor to displays opened from the copmmand line 2014-05-03 00:54:20 +02:00
gimpdisplayshell.h app: pass the startup monitor to displays opened from the copmmand line 2014-05-03 00:54:20 +02:00
gimpdisplayxfer.c app: rename gimpdisplay-transport.[ch] to gimpdisplayxfer.[ch] 2013-02-03 13:26:32 +01:00
gimpdisplayxfer.h Bug 681968 - Disabling 'Dot for Dot' glitches display 2014-04-20 22:01:57 +02:00
gimpimagewindow.c app: add screen and monitor to all display and image window constructors 2014-05-02 20:21:41 +02:00
gimpimagewindow.h app: add screen and monitor to all display and image window constructors 2014-05-02 20:21:41 +02:00
gimpmotionbuffer.c Bug 676270 - cppcheck report 2012-08-04 03:20:36 +02:00
gimpmotionbuffer.h app: add gimp_motion_buffer_get_last_motion_time() and use it 2011-04-18 13:13:51 +02:00
gimpmultiwindowstrategy.c app: make things behave more reasonable with multiple monitors 2014-05-02 03:01:23 +02:00
gimpmultiwindowstrategy.h app: Make positioning of new dockables depend on window mode 2011-07-03 21:20:36 +02:00
gimpnavigationeditor.c libgimpwidgets: add gtk_scale_new() to gimp3migration.[ch] 2011-10-02 14:36:41 +02:00
gimpnavigationeditor.h app: Undeprecate GimpNavigationEditor 2011-07-05 22:13:18 +02:00
gimpscalecombobox.c Chain up unconditionally in GObject::constructed() 2012-11-12 21:51:22 +01:00
gimpscalecombobox.h app: GimpScaleComboBox: don't derive from GtkComboBoxEntry 2011-04-18 21:49:23 +02:00
gimpsinglewindowstrategy.c app: make things behave more reasonable with multiple monitors 2014-05-02 03:01:23 +02:00
gimpsinglewindowstrategy.h app: Make positioning of new dockables depend on window mode 2011-07-03 21:20:36 +02:00
gimpstatusbar.c app: add G_GNUC_PRINTF() to places where the args are a va_list 2013-11-29 00:33:05 +01:00
gimpstatusbar.h app: add G_GNUC_PRINTF() to places where the args are a va_list 2013-11-29 00:33:05 +01:00
gimptooldialog.c app: make things behave more reasonable with multiple monitors 2014-05-02 03:01:23 +02:00
gimptooldialog.h app: make things behave more reasonable with multiple monitors 2014-05-02 03:01:23 +02:00
gimptoolgui.c app: make things behave more reasonable with multiple monitors 2014-05-02 03:01:23 +02:00
gimptoolgui.h app: make things behave more reasonable with multiple monitors 2014-05-02 03:01:23 +02:00
Makefile.am app,libgimp*: fix includes to follow our include policy 2013-10-15 01:58:39 +02:00