Commit d9ab6790 authored by Sven Neumann's avatar Sven Neumann

Added Imagemap plug-in.


--Sven
parent 9ebe7bbe
Tue Sep 7 02:03:18 MEST 1999 Sven Neumann <sven@gimp.org>
* configure.in
* plug-ins/Makefile.am
* plug-ins/imagemap/*: new files
Added the ImageMap plug-in by Maurits Rijk <lpeek.mrijk@consunet.nl>.
Tue Sep 7 00:35:19 CEST 1999 Marc Lehmann <pcg@goof.com>
* plug-ins/gflare: new directory, lotsa files!
......
......@@ -699,6 +699,7 @@ plug-ins/gimpressionist/Brushes/Makefile
plug-ins/gimpressionist/Paper/Makefile
plug-ins/gimpressionist/Presets/Makefile
plug-ins/ifscompose/Makefile
plug-ins/imagemap/Makefile
plug-ins/maze/Makefile
plug-ins/mosaic/Makefile
plug-ins/pagecurl/Makefile
......
......@@ -52,6 +52,7 @@ SUBDIRS = \
gfli \
gimpressionist \
ifscompose \
imagemap \
maze \
mosaic \
pagecurl \
......
Makefile.in
Makefile
.deps
_libs
.libs
imagemap
Maurits Rijk <lpeek.mrijk@consunet.nl>
\ No newline at end of file
Sat Aug 28 16:32:03 1999 Maurits Rijk <maurits@frop.edu>
* release version 1.2
Sun Aug 15 16:54:43 1999 Maurits Rijk <maurits@frop.edu>
* imap_cmd_select_region.h: created
* imap_cmd_move_sash.c: created
Mon Aug 9 22:33:12 1999 Maurits Rijk <maurits@frop.edu>
* imap_cmd_cut_object.c: created
* imap_cmd_cut_object.h: created
Sun Aug 8 12:54:44 1999 Maurits Rijk <maurits@frop.edu>
* imap_cmd_cut.c: created
* imap_cmd_insert_point.c: created
* imap_cmd_insert_point.h: created
* imap_cmd_delete_point.c: created
* imap_object_popup.h: created
Sat Jul 31 12:34:00 1999 Maurits Rijk <maurits@frop.edu>
* imap_toolbar.c: Added redo and undo button to toolbar.
Wed Jul 28 22:17:09 1999 Maurits Rijk <maurits@frop.edu>
* imap_object.c (object_on_button_press): fixed 'round to grid' bug
for polygons.
Tue Jul 27 23:19:00 1999 Maurits Rijk <maurits@frop.edu>
* imap_edit_area_info.c: use BrowseWidget_t for URL.
Mon Jul 26 22:00:58 1999 Maurits Rijk <maurits@frop.edu>
* imap_browse.c: created
* imap_object.c (object_list_move_selected_up): fixed move up/down bug.
Mon Jun 28 18:05:24 1999 Maurits Rijk <maurits@frop.edu>
* imap_main.c (dialog): fixed annoying bug
Sat Jun 26 16:25:33 1999 Maurits Rijk <lpeek.mrijk@consunet.nl>
* release version 1.1
Wed Jun 9 21:45:04 1999 Maurits Rijk <lpeek.mrijk@consunet.nl>
* imap_menu_funcs.c: created
Tue Jun 8 23:02:31 1999 Maurits Rijk <lpeek.mrijk@consunet.nl>
* imap_popup.c: created
Fri May 28 21:48:40 1999 Maurits Rijk <lpeek.mrijk@consunet.nl>
* release version 1.0
Wed May 26 22:16:20 1999 Maurits Rijk <lpeek.mrijk@consunet.nl>
* imap_object.c (do_object_locked_dialog): removed apply button in
message locked dialog.
* imap_default_dialog.c (make_default_dialog): handle delete event
Wed May 19 20:47:52 1999 Maurits Rijk <lpeek.mrijk@consunet.nl>
* imap_polygon.c (polygon_write_csim): Don't write last duplicate
point.
Fri May 14 16:10:39 1999 Maurits Rijk <lpeek.mrijk@consunet.nl>
* imap_main.c (close_current): freeze/thaw on selection
* imap_circle.c (circle_update): bug fix second props->x should be
props->y.
Thu May 13 13:54:45 1999 Maurits Rijk <lpeek.mrijk@consunet.nl>
* imap_main.c: issue warning when closing unsaved data.
* release version 0.9
Sun May 9 16:25:23 1999 Maurits Rijk <lpeek.mrijk@consunet.nl>
* imap_default_dialog.c: added 'apply' button.
* imap_polygon.c: replaced text entries by spinbuttons.
* imap_circle.c: replaced text entries by spinbuttons.
* imap_rectangle.c: replaced text entries by spinbuttons.
Sun Apr 25 21:55:36 1999 Maurits Rijk <lpeek.mrijk@consunet.nl>
* release version 0.7
Thu Apr 8 20:19:27 1999 Maurits Rijk <lpeek.mrijk@consunet.nl>
* release version 0.6
Sun Apr 4 20:52:57 1999 Maurits Rijk <lpeek.mrijk@consunet.nl>
* Moved to GIMP 1.0.4 and GTK 1.2.1
Sun Mar 21 13:18:25 1999 Maurits Rijk <lpeek.mrijk@consunet.nl>
* imap_main.c (dialog): Changed auto_shrink to FALSE in
gtk_window_set_policy.
Sat Mar 20 11:50:34 1999 Maurits Rijk <lpeek.mrijk@consunet.nl>
* imap_main.c (do_data_changed_dialog): replaced some code with
default_dialog_set_label call.
Thu Mar 18 18:27:23 1999 Maurits Rijk <lpeek.mrijk@consunet.nl>
* release version 0.5
Sat Mar 13 13:36:00 1999 Maurits Rijk <lpeek.mrijk@consunet.nl>
* imap_settings.c (do_settings_dialog): set initial focus
Thu Mar 11 20:01:17 1999 Maurits Rijk <lpeek.mrijk@consunet.nl>
* imap_edit_area_info.c: show area number in dialog.
Tue Mar 9 22:26:49 1999 Maurits Rijk <lpeek.mrijk@consunet.nl>
* imap_table.c (create_spin_button_in_table): make spinbuttons always
numeric.
* imap_guides.c (make_guides_dialog): show image dimensions in dialog
Thu Mar 4 23:15:43 1999 Maurits Rijk <lpeek.mrijk@consunet.nl>
* imap_toolbar.c : added cut/copy/paste icons
Sun Feb 28 15:29:14 1999 Maurits Rijk <lpeek.mrijk@consunet.nl>
* release version 0.4
Sun Jan 31 17:09:52 1999 Maurits Rijk <lpeek.mrijk@consunet.nl>
* Makefile (CC): removed C++ stuff
Sat Jan 30 21:55:10 1999 Maurits Rijk <lpeek.mrijk@consunet.nl>
* release version 0.3
Sun Jan 24 18:04:33 1999 Maurits Rijk <lpeek.mrijk@consunet.nl>
* imap_main.c (save_as): write width and height off image to file.
* imap_selection.c : finished 'selection' operations.
* imap_object.c : implemented 'move to front' and 'send to back'.
Thu Jan 21 20:02:43 1999 Maurits Rijk <lpeek.mrijk@consunet.nl>
* imap_edit_area_info.c : added Browse functionality for URL field.
Tue Jan 19 19:41:26 1999 Maurits Rijk <lpeek.mrijk@consunet.nl>
* imap_about.c : use DefaultDialog_t
Sat Jan 16 13:33:17 1999 Maurits Rijk <lpeek.mrijk@consunet.nl>
* imap_edit_area_info.c : new JavaScript tab
* imap_main.c : implemented title in main dialog
* imap_file.c : added file error dialog
Thu Jan 14 20:27:43 1999 Maurits Rijk <lpeek.mrijk@consunet.nl>
* release version 0.2
Wed Jan 13 21:21:17 1999 Maurits Rijk <lpeek.mrijk@consunet.nl>
* imap_toolbar.c : added move to front/send to back icons
Tue Jan 12 19:33:00 1999 Maurits Rijk <lpeek.mrijk@consunet.nl>
* imap_grid.c : implemented 'round to grid'
Mon Jan 11 22:35:29 1999 Maurits Rijk <lpeek.mrijk@consunet.nl>
* imap_grid.c: completed implementation
Tue Jan 5 22:48:34 1999 Maurits Rijk <lpeek.mrijk@consunet.nl>
* imap_polygon.c: completed polygon info tab
* imap_tools.c (make_tools): implemented radio behaviour
Mon Jan 3 20:18:57 1999 Maurits Rijk <lpeek.mrijk@consunet.nl>
* release version 0.1
Sun Dec 27 12:13:51 1998 Maurits Rijk <lpeek.mrijk@consunet.nl>
* imagemap.c: started coding
## Process this file with automake to produce Makefile.in
libexecdir = $(gimpplugindir)/plug-ins
libexec_PROGRAMS = imagemap
EXTRA_DIST = \
arrow.xpm \
arrow_down.xpm \
arrow_up.xpm \
circle.xpm \
coord.xpm \
copy.xpm \
cut.xpm \
delete.xpm \
dimension.xpm \
edit.xpm \
grid.xpm \
map_info.xpm \
open.xpm \
paste.xpm \
polygon.xpm \
preferences.xpm \
rectangle.xpm \
redo.xpm \
save.xpm \
to_back.xpm \
to_front.xpm \
undo.xpm \
zoom_in.xpm \
zoom_out.xpm \
ChangeLog \
AUTHORS \
NEWS \
README \
TODO
imagemap_SOURCES = \
imap_about.c \
imap_browse.c \
imap_circle.c \
imap_cern_lex.c \
imap_cern_parse.c \
imap_cmd_clear.c \
imap_cmd_copy.c \
imap_cmd_copy_object.c \
imap_cmd_create.c \
imap_cmd_cut.c \
imap_cmd_cut_object.c \
imap_cmd_delete.c \
imap_cmd_delete_point.c \
imap_cmd_edit_object.c \
imap_cmd_guides.c \
imap_cmd_insert_point.c \
imap_cmd_move.c \
imap_cmd_move_down.c \
imap_cmd_move_sash.c \
imap_cmd_move_to_front.c \
imap_cmd_move_up.c \
imap_cmd_object_down.c \
imap_cmd_object_up.c \
imap_cmd_paste.c \
imap_cmd_select.c \
imap_cmd_select_all.c \
imap_cmd_select_region.c \
imap_cmd_send_to_back.c \
imap_cmd_unselect.c \
imap_cmd_unselect_all.c \
imap_command.c \
imap_csim_lex.c \
imap_csim_parse.c \
imap_default_dialog.c \
imap_edit_area_info.c \
imap_file.c \
imap_grid.c \
imap_main.c \
imap_menu.c \
imap_menu_funcs.c \
imap_misc.c \
imap_mru.c \
imap_ncsa_lex.c \
imap_ncsa_parse.c \
imap_object.c \
imap_object_popup.c \
imap_polygon.c \
imap_popup.c \
imap_preferences.c \
imap_preview.c \
imap_rectangle.c \
imap_selection.c \
imap_settings.c \
imap_source.c \
imap_statusbar.c \
imap_string.c \
imap_table.c \
imap_toolbar.c \
imap_tools.c
INCLUDES = \
-I$(top_srcdir) \
$(GTK_CFLAGS) \
-I$(includedir)
LDADD = \
$(top_builddir)/libgimp/libgimp.la \
$(GTK_LIBS) \
$(INTLLIBS)
.PHONY: files
files:
@files=`ls $(DISTFILES) 2> /dev/null`; for p in $$files; do \
echo $$p; \
done
What's new in GIMP Imagemap plug-in 1.2
* Implemented Undo/Redo
* User defineable image URL in settings dialog.
* A few bug fixes.
What's new in GIMP Imagemap plug-in 1.1
* Rescale objects after rescaling of image.
* Added 2 new HTML 4.0 tags (ONFOCUS, ONBLUR)
* Option to make image gray to allow easier editing of images with lots of
colors.
* Most recently used list.
* Rectangular selection of objects.
* Drag and drop of links (e.g. from Netscape) to URL field.
* Usage of shift + left mousebutton during rectangle drawing makes width and
height equal.
* Usage of shift + left mousebutton at start of circle drawing defines 2 points
on circle side.
What's new in GIMP Imagemap plug-in 1.0
* Code cleanup
* Memory leaks fixed.
* All (?) bugs fixed.
* Use right mousebutton to cancel drawing operation of circle, rectangle or
polygon.
What's new in GIMP Imagemap plug-in 0.9
* Added list of standard prefixes (http://, news:, ftp://, gopher://, etc.)
before URL in settings dialog.
* Invalid input in dialogs (area settings, numeric values) is now handled
correctly.
* Add 'Apply' button to some dialogs.
* Default author field in settings dialog with user name.
* Show resulting source in 'View Source' dialog to allow copy/paste of
generated code to other programs.
What's new in GIMP Imagemap plug-in 0.7
* Plug-in now works correctly for GIF and grayscale images.
* Finished implementation of NCSA and CERN mapfiles.
* Implemented 'Close'.
* The usual bug fixes.
What's new in GIMP Imagemap plug-in 0.6
* Implemented 'Preferences' dialog:
* Dropped support for GTK 1.0.6. Support for GTK 1.2 and GIMP 1.1.x or
GIMP 1.0.4 has greatly improved.
* Synchronized Mapping menu items and toolbar items (arrow, rectangle, circle
and polygon)
* Synchronized zoom icon and 'Zoom To' menu item.
* synchronize grid icon and 'snap to grid' toggle button in 'grid settings'
dialog.
* Warn against overwriting of existing files.
* Lots of serious and cosmetic bug fixes.
What's new in GIMP Imagemap plug-in 0.5
* New better looking icons (thanks Mete Cirali!)
* Implemented 'Map Info' dialog.
* Add/remove polygon points by clicking with right mousebutton on edges/sashes.
* Added icon showing type (arrow, rectangle, circle) in selection.
* Implemented pop-up menu when right-button is pressed.
* Restrict size of preview window for large images.
* Shapes cannot be moved outside the picture anymore.
* Use hourglass cursor for lengthy operations (e.g. zooming, saving, loading).
* Show resulting dimension in 'guides' dialog.
* Added "cut/copy/paste/select all" functionality.
* You can now select multiple objects.
* Lots of bug fixes.
What's new in GIMP Imagemap plug-in 0.4
* Ported to Gimp 1.1.x and GTK 1.2
* Implemented zooming
* Removed C++ stuff. The binary immediately shrunk from 140 to 90k!
* Objects that are currently being edited cannot be deleted anymore.
* Show area info in statusbar when moving mouse over areas.
* Added warning dialog for unsaved changes when quiting.
What's new in GIMP Imagemap plug-in 0.3
* You can now load a CSIM file that was saved by this plug-in. Files saved by
other programs may cause problems. I haven't tested this yet.
* Accelerators in menus
* Selection operations (move up/down, delete, edit).
* Warning/error dialog for file operations
* Map-name in title in main dialog
* 'target frame name' in area settings.
* JavaScript (onMouseover, onMouseout) in area settings.
* Doubleclick on shape pops up area settings dialog.
* Browse button in URL field in area settings dialog.
* Fixed size of statusbar fields.
* Move to front/send to back
* Write image size in HTML file
* Deselect all if clicked in area with no object.
* Implement statusbar dimension field
* Added 4 extra handles to rectangular selection.
What's new in GIMP Imagemap plug-in 0.2
* Implementation of grid
* Properties tabs for rectangles, circles and polygons.
* Resizing of objects
* Moving objects
* Guide creation
* GUI for 'Map info' dialog
* 'Save' menu now popups 'Save As' dialog if no file is selected yet.
* Several minor cosmetic changes
GIMP Imagemap plug-in 0.1 released.
This is the GIMP Imagemap plug-in version 1.2. See the INSTALL file for
build instructions.
More information can be found on my homepage at
http://home-2.consunet.nl/~cb007736/imagemap.html
Have fun,
Maurits Rijk (lpeek.mrijk@consunet.nl)
Version 1.3
* 'Follow' mode to dynamically update object dimensions.
* Configuration script
* Handle double-click in selection
* Movement/resizing of objects with cursor keys.
* implement dynamically adjustable grid.
* Snap to grid during resize.
Version 1.4
* 'Divider' object.
* Move polygon sides.
* Gimp style guides.
Version 1.5
* Standalone version
* Warning icon for area's without URL.
* Add HTML 4.0 tags (TABINDEX, ACCESKEY)
* User-definable tags
* Use shift mousebutton to restrict polygon drawing direction.
Version 1.9
* Freehand drawing of polygon
* 'Morph to' functions (Polygon <-> circle <-> Rectangle)
* Write manual
Version 2.0
* Same as 1.9 with bugs fixed
* Code cleanup
BUGS
* Polygon not limited to 100 points (Is this really neccessary?)
* Rulers move when scrolling in preview window (see interface.c in Gimp).
* 'Move' only moves current object.
Miscellaneous
* Zooming performance is poor
* Compare image-name in HTML file with loaded image and issue warning
if different.
* Restrict to screen size for large images.
* Internationalization
* Drag & drop within selection
/* XPM */
static char * arrow_xpm[] = {
"16 16 3 1",
" c None",
". c #000000",
"+ c #808080",
" ",
" . ",
" .. ",
" ... ",
" .... ",
" ..... ",
" ...... ",
" ....... ",
" ........ ",
" ..... ",
" .. ..+ ",
" . +.. ",
" ..+ ",
" +.. ",
" .. ",
" "};
/* XPM */
static char * arrow_down_xpm[] = {
"16 16 7 1",
" c None",
". c #000000",
"+ c #248124",
"@ c #489F48",
"# c #6DBD6D",
"$ c #6DBC6D",
"% c #91DA91",
" ",
" ",
" ............. ",
" .++++++++@. ",
" .+@@@@@@#@. ",
" .@$####@. ",
" .@$%%%#@. ",
" .@$%#@. ",
" .@$%#@. ",
" .@$@. ",
" .@$@. ",
" .@. ",
" .@. ",
" . ",
" . ",
" "};
/* XPM */
static char * arrow_up_xpm[] = {
"16 16 8 1",
" c None",
". c #000000",
"+ c #1D7B1D",
"@ c #3A933A",
"# c #57AB57",
"$ c #74C274",
"% c #91DA91",
"& c #74C374",
" ",
" . ",
" . ",
" .+. ",
" .@. ",
" .@#@. ",
" .@#@. ",
" .@#$#@. ",
" .@#$#@. ",
" .@#$%&#@. ",
" .@#&&&#@. ",
" .+#######@. ",
" .@@@@@@@@@. ",
" ............. ",
" ",
" "};
/* XPM */
static char * circle_xpm[] = {
"16 16 14 1",
" c None",
". c #000000",
"+ c #7A99D5",
"@ c #7BA2DC",
"# c #729EDB",
"$ c #72A0DC",
"% c #7DB0E7",
"& c #7DB2E8",
"* c #7BA0DB",
"= c #7EB7EC",
"- c #7EB9EE",
"; c #7EB6EB",
"> c #7EBAEE",
", c #7FBAEF",
" ",
" .... ",
" ..++++.. ",
" .@@@@@@@@. ",
" .@##$$$$##@. ",
" .@#%&&&&%#*. ",
" .+@$&===-;%#@. ",
" .+@$&=>,-;%#@. ",
" .+@$&=,,-;%#@. ",
" .+@$&----;%#@. ",
" .@#%;;;;%#@. ",
" .@#$%%%%#$@. ",
" .@@####@@. ",
" ..@@@@.. ",
" .... ",
" "};
/* XPM */
static char * coord_xpm[] = {
"16 16 3 1",
" c None",
". c red",
"X c black",
" ",
" . ",
" . ",
" . ",
"... ... X X X X ",
" . ",
" . X ",
" . ",
" X ",
" X ",
" X ",
" X ",
" X ",
" X ",
" X ",
" X X X X X X "};
/* XPM */
static char * copy_xpm[] = {
"16 16 4 1",
" c black",
". c None",
"X c blue",
"o c white",
" .....X..",
" oooooo ....X..",
" o o .XXXXX",
" oooooooo ...X..",
" o o ...X..",
" ooooo ..",
" o o oooooo .",
" ooooo o o ",
" o o oooooooo ",
" ooooo o o ",
" oooooooo ",
"...... o o ",
"...... oooooooo ",
"...... o o ",
"...... oooooooo ",
"...... "};