Michael Natterer
fdb7265a7c
#define GIMP_VIEWABLE_MAX_PREVIEW_SIZE here.
...
2003-04-01 Michael Natterer <mitch@gimp.org>
* app/core/gimpviewable.h: #define GIMP_VIEWABLE_MAX_PREVIEW_SIZE
here.
* app/widgets/gimppreview.h
* app/widgets/gimppreviewrenderer.h: removed the #defines here.
* app/core/gimpviewable.c (gimp_preview_get[_popup]_size): check
the return values to be within bounds.
* app/text/gimpfont.c
* app/display/gimpdisplayshell-render.c: use the new constant
instead of the magic "1024".
* app/core/gimpdrawable-preview.c: #include our own header file.
* app/widgets/gimpbrushfactoryview.c
* app/widgets/gimpcomponenteditor.c
* app/widgets/gimpcontainereditor.c
* app/widgets/gimpcontainergridview.c
* app/widgets/gimpcontainermenu.c
* app/widgets/gimpcontainermenuimpl.c
* app/widgets/gimpcontainertreeview.c
* app/widgets/gimpcontainerview.c
* app/widgets/gimpdatafactoryview.c
* app/widgets/gimpitemtreeview.c
* app/widgets/gimppreview.c
* app/widgets/gimppreviewrenderer.c: changed accordingly.
2003-04-01 13:53:47 +00:00
Sven Neumann
0dad41aec4
use a fixed size for the popup and clamp to a maximum size (should
...
2003-04-01 Sven Neumann <sven@gimp.org>
* app/text/gimpfont.c: use a fixed size for the popup and clamp to
a maximum size (should actually use GIMP_PREVIEW_MAX_SIZE here).
* app/text/gimptext.c
* app/tools/gimptextoptions.c: minor string changes.
2003-04-01 00:35:38 +00:00
Sven Neumann
8f4c74e62a
added an upper limit for the popup size to avoid a crash when
...
2003-03-26 Sven Neumann <sven@gimp.org>
* app/text/gimpfont.c (gimp_font_get_popup_size): added an upper
limit for the popup size to avoid a crash when GIMP_PREVIEW_MAX_SIZE
is exceeded.
2003-03-26 22:17:37 +00:00
Michael Natterer
75eb793b99
a nicer popup preview featuring five dozen liquor jugs.
...
2003-03-26 Michael Natterer <mitch@gimp.org>
* app/text/gimpfont.c: a nicer popup preview featuring five
dozen liquor jugs.
2003-03-26 00:30:10 +00:00
Sven Neumann
537e8606c3
sort of works now.
...
2003-03-26 Sven Neumann <sven@gimp.org>
* app/text/gimpfont.c (gimp_font_get_new_preview): sort of works now.
2003-03-25 23:10:50 +00:00
Sven Neumann
b4dc1579e9
made the PangoContext an object property of GimpFont.
...
2003-03-25 Sven Neumann <sven@gimp.org>
* app/text/gimpfont.c: made the PangoContext an object property of
GimpFont.
2003-03-25 22:48:59 +00:00
Sven Neumann
fab72973a2
require gtk+ >= 2.2.
...
2003-03-25 Sven Neumann <sven@gimp.org>
* gimpui-1.3.pc.in: require gtk+ >= 2.2.
* app/text/gimpfont.[ch]: implemented basic preview functionality.
* app/text/gimptextlayout.c: changed a comment.
2003-03-25 22:13:10 +00:00
Michael Natterer
bc9676e462
app/text/Makefile.am app/text/text-types.h new GimpList subclass.
...
2003-03-25 Michael Natterer <mitch@gimp.org>
* app/text/Makefile.am
* app/text/text-types.h
* app/text/gimpfontlist.[ch]: new GimpList subclass. Unused...
* app/text/gimpfont.[ch]: added gimp_font_get_standard().
2003-03-25 22:00:59 +00:00
Michael Natterer
f4364f1a1f
app/text/Makefile.am app/text/text-types.h new object. Does nothing yet.
...
2003-03-25 Michael Natterer <mitch@gimp.org>
* app/text/Makefile.am
* app/text/text-types.h
* app/text/gimpfont.[ch]: new object. Does nothing yet.
2003-03-25 20:29:46 +00:00