Changeset 5849
- Timestamp:
- Dec 27, 2005, 8:38:11 AM (20 years ago)
- Location:
- trunk/Ohana/src
- Files:
-
- 2 added
- 1 deleted
- 7 edited
-
kii/include/constants.h (modified) (1 diff)
-
kii/include/prototypes.h (modified) (1 diff)
-
kii/notes (deleted)
-
kii/setup/NameWindow.c (modified) (2 diffs)
-
kii/setup/SetUpWindow.c (modified) (2 diffs)
-
kii/setup/args.c (modified) (1 diff)
-
libdvo (modified) (1 prop)
-
libdvo/.cvsignore (added)
-
libkapa/src/KapaWindow.c (added)
-
opihi/cmd.data/box.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana/src/kii/include/constants.h
r5700 r5849 27 27 int USE_XWINDOW; 28 28 int MAP_WINDOW; 29 char *NAME_WINDOW; 29 30 30 31 # define EVENT_MASK (long) \ -
trunk/Ohana/src/kii/include/prototypes.h
r5637 r5849 1 RotFont *GetRotFontData (double *scale); 2 int SetRotFont PROTO((char *name, int size)); 3 void InitRotFonts PROTO(()); 4 int DrawRotText PROTO((int x, int y, char *string, int pos, double angle)); 5 int DrawRotBitmap PROTO((int x, int y, int dx, int dy, unsigned char *bitmap, int mode, double angle, double scale)); 6 char *GetRotFont PROTO((int *size)); 7 int RotStrlen PROTO((char *c)); 8 void PSRotText PROTO((FILE *f, int x, int y, char *string, int pos, double angle)); 9 void PSDumpRotSegment PROTO((FILE *f, char *segment, int *Nseg)); 10 void PSSetFont PROTO((FILE *f, char *name, int size)); 11 1 12 int SetColormap (Graphic *graphic, Layout *layout, char *name); 2 13 void FlushDisplay (Display *display); -
trunk/Ohana/src/kii/setup/NameWindow.c
r2466 r5849 2 2 3 3 /************** NameWindow *************/ 4 void 5 NameWindow (graphic, Name) 6 Graphic graphic[]; 7 char *Name; 8 { 4 void NameWindow (Graphic *graphic, char *name) { 9 5 10 char *name;11 6 char *class_name; 12 7 char *class_type; 13 8 XClassHint *classhints; 14 9 15 name = strrchr (Name, '/');16 if (name != NULL)17 name ++;18 else19 name = Name;20 10 class_type = class_name = name; 21 22 11 23 12 classhints = XAllocClassHint (); … … 33 22 XSetIconName (graphic[0].display, graphic[0].window, name); 34 23 } 35 -
trunk/Ohana/src/kii/setup/SetUpWindow.c
r5700 r5849 7 7 int N; 8 8 Icon icon; 9 char *name; 9 10 10 11 icon.width = icon_width; … … 21 22 SetNormalHints (graphic); 22 23 SetWMHints (graphic, &icon); 23 NameWindow (graphic, "Ki'i"); 24 25 if (NAME_WINDOW == NULL) { 26 NameWindow (graphic, "Ki'i"); 27 } else { 28 ALLOCATE (name, char, strlen(NAME_WINDOW) + 10); 29 sprintf (name, "Ki'i %s", NAME_WINDOW); 30 NameWindow (graphic, name); 31 free (name); 32 } 24 33 25 34 if (MAP_WINDOW) MapWindow (graphic); 26 35 } 27 28 29 -
trunk/Ohana/src/kii/setup/args.c
r5637 r5849 9 9 remove_argument(N, argc, argv); 10 10 MAP_WINDOW = FALSE; 11 } 12 13 NAME_WINDOW = NULL; 14 if ((N = get_argument (*argc, argv, "-name"))) { 15 remove_argument(N, argc, argv); 16 NAME_WINDOW = strcreate (argv[N]); 17 remove_argument(N, argc, argv); 11 18 } 12 19 -
trunk/Ohana/src/libdvo
-
Property svn:ignore
set to
lib
-
Property svn:ignore
set to
-
trunk/Ohana/src/opihi/cmd.data/box.c
r4689 r5849 50 50 if (argc != 1) goto usage; 51 51 52 SendGraphCommand (Xgraph, 4, "DBOX"); 53 SendGraphMessage (Xgraph, "%12.6g %12.6g %12.6g %12.6g", graphmode.xmin, graphmode.xmax, graphmode.ymin, graphmode.ymax); 54 SendGraphMessage (Xgraph, "%s %s %s", Axis, Labels, Ticks); 52 KapaBox (Xgraph, &graphmode, Axis, Labels, Ticks); 55 53 return (TRUE); 56 54
Note:
See TracChangeset
for help on using the changeset viewer.
