Added new files, the UI independant part of new image dialog.

Wed Aug 25 02:40:39 CDT 1999 Shawn T. Amundson <amundson@gimp.org>

        * app/image_new.[ch]: Added new files, the UI independant part of
          new image dialog.

        * app/file_new_dialog.[ch]: uses image_new stuff now.  Alot
          changed.  No UI changed.  Different behavior is a bug, as
          this is only for UI separation.

        * app/gimpimage.[ch]: Added gimp_image_get_width () and
          gimp_image_get_height ().

        * app/global_edit.c: Call a function in image_new instead of
          file_new_dialog for updating the status of the cut buffe.
This commit is contained in:
CDT 1999 Shawn T. Amundson
1999-08-26 04:39:21 +00:00
committed by Shawn Amundson
parent d418d18a97
commit c6eec63232
30 changed files with 1181 additions and 1159 deletions

View File

@ -475,6 +475,18 @@ gimp_image_resize (GimpImage *gimage,
gimp_remove_busy_cursors (NULL);
}
gint
gimp_image_get_width (const GimpImage *gimage)
{
return gimage->width;
}
gint
gimp_image_get_height (const GimpImage *gimage)
{
return gimage->height;
}
void
gimp_image_scale (GimpImage *gimage,
gint new_width,