Changeset 664
- Timestamp:
- 01/30/08 10:42:21 (7 months ago)
- Files:
-
- trunk/src/Makefile.src (modified) (1 diff)
- trunk/src/Makefile.std (modified) (3 diffs)
- trunk/src/maid-x11.c (modified) (1 diff)
- trunk/src/main-x11.c (modified) (2 diffs)
- trunk/src/main-xaw.c (deleted)
- trunk/src/main-xxx.c (modified) (1 diff)
- trunk/src/main.c (modified) (1 diff)
- trunk/src/main.h (modified) (2 diffs)
- trunk/src/util.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/src/Makefile.src
r652 r664 46 46 z-util.o z-virt.o z-blockfile.o z-smap.o 47 47 MAINFILES = main.o maid-x11.o main-crb.o main-gcu.o main-gtk.o cairo-utils.o \ 48 main-ros.o main-sdl.o main-win.o main-x11.o main-xaw.osnd-sdl.o48 main-ros.o main-sdl.o main-win.o main-x11.o snd-sdl.o 49 49 50 50 ANGFILES = \ trunk/src/Makefile.std
r569 r664 33 33 SYS_gcu = -DUSE_GCU -DUSE_NCURSES -lncurses 34 34 #SYS_gcu = -DUSE_GCU -lcurses -ltermcap 35 36 # Support Xaw motif (main-xaw.c)37 #SYS_xaw = -DUSE_XAW -lXaw -lXext -lSM -lICE -lXmu -lXt -lX1138 35 39 36 # Support the GTK2 graphical tookit (main-gtk.c) … … 77 74 78 75 # Extract CFLAGS and LIBS from the system definitions 79 MODULES = $(SYS_x11) $(SYS_gcu) $(SYS_ xaw) $(SYS_gtk) $(SYS_sdl) $(SOUND_sdl)76 MODULES = $(SYS_x11) $(SYS_gcu) $(SYS_gtk) $(SYS_sdl) $(SOUND_sdl) 80 77 CFLAGS += $(patsubst -l%,,$(MODULES)) $(INCLUDES) 81 78 LIBS += $(patsubst -D%,,$(patsubst -I%,, $(MODULES))) … … 83 80 84 81 # Object definitions 85 X11OBJS = maid-x11.o main-x11.o main- xaw.o main-gtk.o cairo-utils.o82 X11OBJS = maid-x11.o main-x11.o main-gtk.o cairo-utils.o 86 83 MAINOBJS = main.o main-gcu.o main-sdl.o snd-sdl.o $(X11OBJS) 87 84 OBJS = $(BASEOBJS) $(MAINOBJS) trunk/src/maid-x11.c
r346 r664 19 19 * Major fixes and cleanup by Ben Harrison (benh@phial.com). 20 20 * 21 * This file is designed to be "included" by "main-x11.c" or "main-xaw.c",21 * This file is designed to be "included" by "main-x11.c", 22 22 * which will have already "included" several relevant header files. 23 23 */ trunk/src/main-x11.c
r517 r664 15 15 * To use this file, compile with "USE_X11" defined, and link against all 16 16 * the various "X11" libraries which may be needed. 17 *18 * See also "main-xaw.c".19 17 * 20 18 * Part of this file provides a user interface package composed of several … … 1515 1513 /* 1516 1514 * Process a keypress event 1517 *1518 * Also appears in "main-xaw.c".1519 1515 */ 1520 1516 static void react_keypress(XKeyEvent *ev) trunk/src/main-xxx.c
r507 r664 635 635 * Help message. 636 636 * 1st line = max 68 chars. 637 * Start next lines with 11 spaces , as in main-xaw.c.637 * Start next lines with 11 spaces 638 638 */ 639 639 const char help_xxx[] = "Describe XXX, subopts -describe suboptions here"; trunk/src/main.c
r560 r664 40 40 { "gtk", help_gtk, init_gtk }, 41 41 #endif /* USE_GTK */ 42 43 #ifdef USE_XAW44 { "xaw", help_xaw, init_xaw },45 #endif /* USE_XAW */46 42 47 43 #ifdef USE_X11 trunk/src/main.h
r141 r664 19 19 extern errr init_lfb(int argc, char **argv); 20 20 extern errr init_gtk(int argc, char **argv); 21 extern errr init_xaw(int argc, char **argv);22 21 extern errr init_x11(int argc, char **argv); 23 22 extern errr init_xpj(int argc, char **argv); … … 37 36 extern const char help_lfb[]; 38 37 extern const char help_xpj[]; 39 extern const char help_xaw[];40 38 extern const char help_x11[]; 41 39 extern const char help_vcs[]; trunk/src/util.c
r544 r664 3141 3141 * as 2/4 Red, 1/4 Green, 0/4 Blue. 3142 3142 * 3143 * The following info is from "Torbjorn Lindgren" (see "main-xaw.c").3144 *3145 3143 * These values are NOT gamma-corrected. On most machines (with the 3146 3144 * Macintosh being an important exception), you must "gamma-correct"
