Commit d75b2337 authored by Manish Singh's avatar Manish Singh
Browse files

Added fractaltrace plugin

Fixed about dialog problems (seems to work now)
Added gimprc option for enabling/disabling tooltips
parent 31bceb1d
Wed Dec 10 16:59:56 PST 1997 Manish Singh <yosh@gimp.org>
* Added gimprc option for enabling/disabling tooltips
* Fixed up about dialog
* Added Fractaltrace plugin
Tue Dec 9 15:26:48 PST 1997 Manish Singh <yosh@gimp.org>
* Added Lauri Alanko's tools patch
......
......@@ -393,7 +393,7 @@ about_dialog_timer (gpointer data)
{
for (i = 0, k = 0; i < dissolve_height; i++)
for (j = 0; j < dissolve_width; j++, k++)
if (frame >= dissolve_map[k])
if (frame == dissolve_map[k])
{
gdk_draw_pixmap (logo_area->window,
logo_area->style->black_gc,
......
......@@ -393,7 +393,7 @@ about_dialog_timer (gpointer data)
{
for (i = 0, k = 0; i < dissolve_height; i++)
for (j = 0; j < dissolve_width; j++, k++)
if (frame >= dissolve_map[k])
if (frame == dissolve_map[k])
{
gdk_draw_pixmap (logo_area->window,
logo_area->style->black_gc,
......
......@@ -525,6 +525,8 @@ create_toolbox ()
gtk_tooltips_set_colors (tool_tips,
&colors[11],
&main_vbox->style->fg[GTK_STATE_NORMAL]);
if (!show_tool_tips)
gtk_tooltips_disable (tool_tips);
/* Build the menu bar with menus */
menus_get_toolbox_menubar (&menubar, &table);
......
......@@ -525,6 +525,8 @@ create_toolbox ()
gtk_tooltips_set_colors (tool_tips,
&colors[11],
&main_vbox->style->fg[GTK_STATE_NORMAL]);
if (!show_tool_tips)
gtk_tooltips_disable (tool_tips);
/* Build the menu bar with menus */
menus_get_toolbox_menubar (&menubar, &table);
......
......@@ -111,6 +111,7 @@ int default_height = 256;
int default_type = RGB;
int show_tips = TRUE;
int last_tip = -1;
int show_tool_tips = FALSE;
static int get_next_token (void);
static int peek_next_token (void);
......@@ -213,6 +214,7 @@ static ParseFunc funcs[] =
{ "plug-in", TT_XPLUGIN, NULL, NULL },
{ "plug-in-def", TT_XPLUGINDEF, NULL, NULL },
{ "menu-path", TT_XMENUPATH, NULL, NULL },
{ "show-tool-tips", TT_BOOLEAN, &show_tool_tips, NULL },
};
static int nfuncs = sizeof (funcs) / sizeof (funcs[0]);
......
......@@ -61,6 +61,7 @@ extern int default_width, default_height;
extern int default_type;
extern int show_tips;
extern int last_tip;
extern int show_tool_tips;
/* function prototypes */
char * gimp_directory (void);
......
......@@ -393,7 +393,7 @@ about_dialog_timer (gpointer data)
{
for (i = 0, k = 0; i < dissolve_height; i++)
for (j = 0; j < dissolve_width; j++, k++)
if (frame >= dissolve_map[k])
if (frame == dissolve_map[k])
{
gdk_draw_pixmap (logo_area->window,
logo_area->style->black_gc,
......
......@@ -525,6 +525,8 @@ create_toolbox ()
gtk_tooltips_set_colors (tool_tips,
&colors[11],
&main_vbox->style->fg[GTK_STATE_NORMAL]);
if (!show_tool_tips)
gtk_tooltips_disable (tool_tips);
/* Build the menu bar with menus */
menus_get_toolbox_menubar (&menubar, &table);
......
......@@ -421,6 +421,7 @@ plug-ins/glasstile/Makefile
plug-ins/colorify/Makefile
plug-ins/papertile/Makefile
plug-ins/illusion/Makefile
plug-ins/fractaltrace/Makefile
app/Makefile
docs/Makefile
)
......@@ -137,6 +137,10 @@
# #: #x#
(preview-size small)
# Tooltips
# Comment this out to disable the tooltips in the toolbox
(show-tool-tips)
# Controlling ruler visibility
# The default behavior is for rulers to be ON
# This can also be toggled with the View->Show Rulers command or shift+control+r
......
......@@ -137,6 +137,10 @@
# #: #x#
(preview-size small)
# Tooltips
# Comment this out to disable the tooltips in the toolbox
(show-tool-tips)
# Controlling ruler visibility
# The default behavior is for rulers to be ON
# This can also be toggled with the View->Show Rulers command or shift+control+r
......
......@@ -63,6 +63,7 @@ SUBDIRS = \
film \
fits \
fp \
fractaltrace \
gauss_iir \
gauss_rle \
gbr \
......
This diff is collapsed.
Makefile.in
Makefile
.deps
_libs
fractaltrace
## Process this file with automake to produce Makefile.in
pluginlibdir = $(gimpplugindir)/plug-ins
pluginlib_PROGRAMS = fractaltrace
fractaltrace_SOURCES = \
fractaltrace.c
INCLUDES = \
$(X_CFLAGS) \
-I$(top_srcdir) \
-I$(includedir)
LDADD = \
$(top_builddir)/libgimp/libgimpui.la \
$(top_builddir)/libgimp/libgimp.la \
$(X_LIBS) \
\
-lc
DEPS = \
$(top_builddir)/libgimp/libgimpui.la \
$(top_builddir)/libgimp/libgimp.la
fractaltrace_DEPENDENCIES = $(DEPS)
.PHONY: files
files:
@files=`ls $(DISTFILES) 2> /dev/null`; for p in $$files; do \
echo $$p; \
done
@for subdir in $(SUBDIRS); do \
files=`cd $$subdir; $(MAKE) files | grep -v "make\[[1-9]\]"`; \
for file in $$files; do \
echo $$subdir/$$file; \
done; \
done
This diff is collapsed.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment