2004-05-10 Sven Neumann <sven@gimp.org> * app/actions/view-actions.c: added a stock icon for "view-zoom-1-1". * app/widgets/gimpunitcombobox.[ch]: added functions to get and set the active unit. * app/widgets/gimpunitstore.c (gimp_unit_store_tree_model_get_value): need to special case GIMP_UNIT_PIXEL. * app/display/Makefile.am * app/display/display-types.h * app/display/gimpscalecombobox.[ch]: new widget to be used in the display's statusbar. * app/display/gimpdisplayshell-cursor.[ch]: always display the cursor position, not only if the cursor is inside the image. Added new function gimp_display_shell_clear_cursor() to clear the cursor label. * app/display/gimpdisplayshell-callbacks.c: changed accordingly. * app/display/gimpstatusbar.[ch] * app/display/gimpdisplayshell.c * app/display/gimpdisplayshell-handlers.c * app/display/gimpdisplayshell-scale.c: do not explicitely resize the statusbar cursor label, connect to GimpDisplayShell::scaled instead. Added a GimpScaleComboBox to the status bar.
40 lines
1.3 KiB
C
40 lines
1.3 KiB
C
/* The GIMP -- an image manipulation program
|
|
* Copyright (C) 1995 Spencer Kimball and Peter Mattis
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License as published by
|
|
* the Free Software Foundation; either version 2 of the License, or
|
|
* (at your option) any later version.
|
|
*
|
|
* This program is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* GNU General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU General Public License
|
|
* along with this program; if not, write to the Free Software
|
|
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|
*/
|
|
|
|
#ifndef __DISPLAY_TYPES_H__
|
|
#define __DISPLAY_TYPES_H__
|
|
|
|
|
|
#include "widgets/widgets-types.h"
|
|
|
|
#include "display/display-enums.h"
|
|
|
|
|
|
typedef struct _GimpCanvas GimpCanvas;
|
|
|
|
typedef struct _GimpDisplay GimpDisplay;
|
|
typedef struct _GimpDisplayShell GimpDisplayShell;
|
|
|
|
typedef struct _GimpNavigationView GimpNavigationView;
|
|
typedef struct _GimpScaleComboBox GimpScaleComboBox;
|
|
typedef struct _GimpStatusbar GimpStatusbar;
|
|
|
|
typedef struct _Selection Selection;
|
|
|
|
|
|
#endif /* __DISPLAY_TYPES_H__ */
|