- Fixed bug with exporting beziers to SVG

- Added support for text cursor movement when editting text
- Added emacs keys for text edits (ctrl-u, ctrl-k, ctrl-a)
- Added export to PNG format
- Export to PNG/BMP now no longer include gridlines/statusbar/scrollbars
- Fixed crash when changing to zero gridsize
This commit is contained in:
Rob Pearce 2009-07-28 01:27:21 +00:00
parent e009df29e9
commit 6da969e0c7
10 changed files with 358 additions and 165 deletions

View File

@ -3,6 +3,22 @@ Ideas for future versions:
Solaris (and possibly other platforms)
- Perhaps change to SVG for objects
Version 1.9:
- Fixed bug with exporting beziers to SVG
- Added support for text cursor movement when editting text
- Added emacs keys for text edits (ctrl-u, ctrl-k, ctrl-a)
- Added export to PNG format
- Export to PNG/BMP now no longer include gridlines/statusbar/scrollbars
- Fixed crash when changing to zero gridsize
- now re-calcing scrollbar size whenever diagram is modified
- can no longer accidentally change maps while scrolling vertically
- fixed graphical glitch when editting text while scrolled
- clicking mouse while entering text is now the same as pressing enter
- findnext now works again
- when searching, the found object is more obviously highlighted
=======
Version 1.8d:
- Fixed bug with Ellipse objects when exporting to SVG
- Fixed slowdown when creating new links
@ -16,6 +32,7 @@ Version 1.8c:
- when searching, the found object is more obviously highlighted
>>>>>>> .r60
Version 1.8b:
- Fixed placement of text fields in dialog screens

View File

@ -1,4 +1,4 @@
#define VERSION "1.8d"
#define VERSION "1.9"
/* variable sizes */
#define SMALLBUFLEN 64 /* small text buffer */

View File

@ -15,7 +15,8 @@ rm -rf ${FULLNAME}
mkdir ${FULLNAME}
cp README.txt INSTALL.txt objects.dat buttons.dat netmapr.exe netmapr.c netmapr.h constants.h convert.c convert.h verdana.ttf example.map icon.bmp windows_files/*.dll ${FULLNAME}/
#cp README.txt INSTALL.txt objects.dat buttons.dat netmapr.exe netmapr.c netmapr.h constants.h convert.c convert.h verdana.ttf example.map icon.bmp windows_files/*.dll ${FULLNAME}/
cp README.txt INSTALL.txt objects.dat buttons.dat netmapr.exe netmapr.c netmapr.h constants.h convert.c convert.h verdana.ttf example.map icon.bmp dlls/*.dll ${FULLNAME}/
cp -R doc ${FULLNAME}/
rm -rf ${FULLNAME}/doc/CVS
rm -rf ${FULLNAME}/doc/.svn

490
netmapr.c

File diff suppressed because it is too large Load Diff

View File

@ -1,5 +1,14 @@
#include "constants.h"
#ifndef __CONSTANTS_H
#define __CONSTANTS_H
#ifdef WINDOWS
#define STDOUT (FILE *)1
#else
#define STDOUT stdout
#endif
#endif
typedef struct {
int x;
int y;
@ -206,7 +215,7 @@ void drawlinkSVG(link_t *l);
void drawobject(SDL_Surface *dest, mapobject_t *o, int doublebuffer, int adjust);
void drawobjectSVG(SDL_Surface *dest, mapobject_t *o, int doublebuffer);
void drawpixel(SDL_Surface *screen, int x, int y, SDL_Color c);
void drawmap(void);
void drawmap(int wantdecs);
void drawmapbox(void);
void drawobox(void);
void drawscreen(void);

Binary file not shown.

Binary file not shown.

BIN
windows_files/libfreetype-6.dll Executable file

Binary file not shown.

BIN
windows_files/libpng12-0.dll Executable file

Binary file not shown.

BIN
windows_files/zlib1.dll Executable file

Binary file not shown.