XPM files for events with alarm and recurrence, respectively.

1998-04-16  Federico Mena Quintero  <federico@nuclecu.unam.mx>

	* bell.xpm recur.xpm: XPM files for events with alarm and
	recurrence, respectively.

1998-04-15  Federico Mena Quintero  <federico@nuclecu.unam.mx>

	* gncal-full-day.c (button_1): Preserve the up/down cursor while dragging.

svn path=/trunk/; revision=143
This commit is contained in:
Federico Mena Quintero
1998-04-16 05:18:12 +00:00
committed by Arturo Espinosa
parent 8a6f658300
commit 71df667488
12 changed files with 345 additions and 12 deletions

View File

@ -1,5 +1,12 @@
1998-04-16 Federico Mena Quintero <federico@nuclecu.unam.mx>
* bell.xpm recur.xpm: XPM files for events with alarm and
recurrence, respectively.
1998-04-15 Federico Mena Quintero <federico@nuclecu.unam.mx> 1998-04-15 Federico Mena Quintero <federico@nuclecu.unam.mx>
* gncal-full-day.c (button_1): Preserve the up/down cursor while dragging.
* gncal-full-day.c (child_draw): Now children have a vertical * gncal-full-day.c (child_draw): Now children have a vertical
handle as well. This can be used to move the child anytime, not handle as well. This can be used to move the child anytime, not
only when it is focused. only when it is focused.

View File

@ -14,8 +14,6 @@ Event editor dialog:
Full day view widget: Full day view widget:
- Display vertical handle bar at the left of a child to move it.
- Display alarm/whatever flags somewhere. - Display alarm/whatever flags somewhere.
- Layout the children nicely like M$ Schedule or Netscape Calendar do - Layout the children nicely like M$ Schedule or Netscape Calendar do

83
calendar/bell.xpm Normal file
View File

@ -0,0 +1,83 @@
/* XPM */
static char * bell_xpm[] = {
"16 16 64 1",
" c None",
". c #000000",
"+ c #E3BB43",
"@ c #E6C049",
"# c #EED275",
"$ c #F4E193",
"% c #F4DF8C",
"& c #EAC95C",
"* c #EFD57A",
"= c #FAEFBB",
"- c #FDF6D3",
"; c #FDF5C6",
"> c #F4E18F",
", c #E4BD43",
"' c #F6E295",
") c #FEF9D8",
"! c #FFFFFF",
"~ c #FFFADA",
"{ c #FCEEAA",
"] c #EBCA5A",
"^ c #E9C550",
"/ c #FAEA9C",
"( c #FEF7CB",
"_ c #FFF8CC",
": c #FDF1A8",
"< c #EED060",
"[ c #D39D12",
"} c #F2D55D",
"| c #FCEC91",
"1 c #FFF4AE",
"2 c #FFF5B6",
"3 c #FEEF97",
"4 c #F3D65E",
"5 c #D5A216",
"6 c #FAE05C",
"7 c #FFED7C",
"8 c #FFEF8C",
"9 c #FFF092",
"0 c #FDEB7A",
"a c #F4D750",
"b c #D8A717",
"c c #EAC01D",
"d c #F6D83E",
"e c #FAE255",
"f c #FAE362",
"g c #F9E161",
"h c #F6DE5B",
"i c #F1D145",
"j c #E6BE28",
"k c #D09B09",
"l c #B67E00",
"m c #CE9100",
"n c #D69F04",
"o c #E0B011",
"p c #E6BA1D",
"q c #E3B721",
"r c #E0B21E",
"s c #DCAB16",
"t c #D7A20D",
"u c #CC9303",
"v c #BE8400",
"w c #AC7500",
"x c #A06B00",
"y c #FFDD00",
" ",
" .. ",
" .+@. ",
" .#$%&. ",
" .*=-;>,. ",
" .')!~{]. ",
" .^/(~_:<[. ",
" .}|121345. ",
" .678980ab. ",
" .cdefghijkl. ",
" .mnopqrstuvwx. ",
" .............. ",
" .8y. ",
" .. ",
" ",
" "};

View File

@ -11,7 +11,6 @@
#include <gtk/gtkwidget.h> #include <gtk/gtkwidget.h>
#include <libgnome/gnome-defs.h> #include <libgnome/gnome-defs.h>
#include "calendar.h"
#include "gnome-cal.h" #include "gnome-cal.h"
BEGIN_GNOME_DECLS BEGIN_GNOME_DECLS

View File

@ -16,7 +16,7 @@
#define TEXT_BORDER 2 #define TEXT_BORDER 2
#define HANDLE_SIZE 8 #define HANDLE_SIZE 8
#define MIN_WIDTH 200 #define MIN_WIDTH 300
#define XOR_RECT_WIDTH 2 #define XOR_RECT_WIDTH 2
#define UNSELECT_TIMEOUT 150 /* ms */ #define UNSELECT_TIMEOUT 150 /* ms */
@ -1413,7 +1413,7 @@ button_1 (GncalFullDay *fullday, GdkEventButton *event)
| GDK_POINTER_MOTION_HINT_MASK | GDK_POINTER_MOTION_HINT_MASK
| GDK_BUTTON_RELEASE_MASK), | GDK_BUTTON_RELEASE_MASK),
NULL, NULL,
NULL, fullday->up_down_cursor,
event->time); event->time);
if (old_rows_used == 0) { if (old_rows_used == 0) {
@ -1460,7 +1460,7 @@ button_1 (GncalFullDay *fullday, GdkEventButton *event)
| GDK_POINTER_MOTION_HINT_MASK | GDK_POINTER_MOTION_HINT_MASK
| GDK_BUTTON_RELEASE_MASK), | GDK_BUTTON_RELEASE_MASK),
NULL, NULL,
NULL, fullday->up_down_cursor,
event->time); event->time);
draw_xor_rect (fullday); draw_xor_rect (fullday);

83
calendar/gui/bell.xpm Normal file
View File

@ -0,0 +1,83 @@
/* XPM */
static char * bell_xpm[] = {
"16 16 64 1",
" c None",
". c #000000",
"+ c #E3BB43",
"@ c #E6C049",
"# c #EED275",
"$ c #F4E193",
"% c #F4DF8C",
"& c #EAC95C",
"* c #EFD57A",
"= c #FAEFBB",
"- c #FDF6D3",
"; c #FDF5C6",
"> c #F4E18F",
", c #E4BD43",
"' c #F6E295",
") c #FEF9D8",
"! c #FFFFFF",
"~ c #FFFADA",
"{ c #FCEEAA",
"] c #EBCA5A",
"^ c #E9C550",
"/ c #FAEA9C",
"( c #FEF7CB",
"_ c #FFF8CC",
": c #FDF1A8",
"< c #EED060",
"[ c #D39D12",
"} c #F2D55D",
"| c #FCEC91",
"1 c #FFF4AE",
"2 c #FFF5B6",
"3 c #FEEF97",
"4 c #F3D65E",
"5 c #D5A216",
"6 c #FAE05C",
"7 c #FFED7C",
"8 c #FFEF8C",
"9 c #FFF092",
"0 c #FDEB7A",
"a c #F4D750",
"b c #D8A717",
"c c #EAC01D",
"d c #F6D83E",
"e c #FAE255",
"f c #FAE362",
"g c #F9E161",
"h c #F6DE5B",
"i c #F1D145",
"j c #E6BE28",
"k c #D09B09",
"l c #B67E00",
"m c #CE9100",
"n c #D69F04",
"o c #E0B011",
"p c #E6BA1D",
"q c #E3B721",
"r c #E0B21E",
"s c #DCAB16",
"t c #D7A20D",
"u c #CC9303",
"v c #BE8400",
"w c #AC7500",
"x c #A06B00",
"y c #FFDD00",
" ",
" .. ",
" .+@. ",
" .#$%&. ",
" .*=-;>,. ",
" .')!~{]. ",
" .^/(~_:<[. ",
" .}|121345. ",
" .678980ab. ",
" .cdefghijkl. ",
" .mnopqrstuvwx. ",
" .............. ",
" .8y. ",
" .. ",
" ",
" "};

View File

@ -11,7 +11,6 @@
#include <gtk/gtkwidget.h> #include <gtk/gtkwidget.h>
#include <libgnome/gnome-defs.h> #include <libgnome/gnome-defs.h>
#include "calendar.h"
#include "gnome-cal.h" #include "gnome-cal.h"
BEGIN_GNOME_DECLS BEGIN_GNOME_DECLS

View File

@ -16,7 +16,7 @@
#define TEXT_BORDER 2 #define TEXT_BORDER 2
#define HANDLE_SIZE 8 #define HANDLE_SIZE 8
#define MIN_WIDTH 200 #define MIN_WIDTH 300
#define XOR_RECT_WIDTH 2 #define XOR_RECT_WIDTH 2
#define UNSELECT_TIMEOUT 150 /* ms */ #define UNSELECT_TIMEOUT 150 /* ms */
@ -1413,7 +1413,7 @@ button_1 (GncalFullDay *fullday, GdkEventButton *event)
| GDK_POINTER_MOTION_HINT_MASK | GDK_POINTER_MOTION_HINT_MASK
| GDK_BUTTON_RELEASE_MASK), | GDK_BUTTON_RELEASE_MASK),
NULL, NULL,
NULL, fullday->up_down_cursor,
event->time); event->time);
if (old_rows_used == 0) { if (old_rows_used == 0) {
@ -1460,7 +1460,7 @@ button_1 (GncalFullDay *fullday, GdkEventButton *event)
| GDK_POINTER_MOTION_HINT_MASK | GDK_POINTER_MOTION_HINT_MASK
| GDK_BUTTON_RELEASE_MASK), | GDK_BUTTON_RELEASE_MASK),
NULL, NULL,
NULL, fullday->up_down_cursor,
event->time); event->time);
draw_xor_rect (fullday); draw_xor_rect (fullday);

83
calendar/gui/recur.xpm Normal file
View File

@ -0,0 +1,83 @@
/* XPM */
static char * recur_xpm[] = {
"16 16 64 1",
" c None",
". c #350000",
"+ c #2A0000",
"@ c #1B0000",
"# c #280000",
"$ c #430000",
"% c #090000",
"& c #160000",
"* c #250000",
"= c #460000",
"- c #550000",
"; c #610000",
"> c #0D0000",
", c #1F0000",
"' c #4B0000",
") c #5E0000",
"! c #6B0000",
"~ c #750000",
"{ c #790000",
"] c #810000",
"^ c #FFFF83",
"/ c #FFFF89",
"( c #FFFF93",
"_ c #8B0000",
": c #900000",
"< c #930000",
"[ c #FFFF62",
"} c #A10000",
"| c #FFFF41",
"1 c #FFFF3B",
"2 c #FFFF31",
"3 c #B70000",
"4 c #B20000",
"5 c #AE0000",
"6 c #FFFF22",
"7 c #FFFF16",
"8 c #FFFF06",
"9 c #C90000",
"0 c #C10000",
"a c #BB0000",
"b c #FFF600",
"c c #FFE100",
"d c #FFC500",
"e c #E40000",
"f c #D70000",
"g c #CD0000",
"h c #FFDB00",
"i c #FFA900",
"j c #FF8500",
"k c #FF5900",
"l c #FF2800",
"m c #FC0000",
"n c #ED0000",
"o c #E10000",
"p c #FFAF00",
"q c #FF9400",
"r c #FF7400",
"s c #FF5000",
"t c #FF0100",
"u c #F30000",
"v c #E80000",
"w c #FF6900",
"x c #FF4900",
"y c #FF0800",
" ",
" . ",
" +. ",
" @#.$ ",
" %&*.=-; ",
" >,.')!~ ",
" &. !{] ",
" ^/( . _:< ",
" [[[ }}} ",
" |12 345 ",
" 678 90a ",
" bcd efg ",
" hdijklmnof ",
" pqrsltuv ",
" wxly ",
" "};

View File

@ -16,7 +16,6 @@
#include <libgnome/gnome-defs.h> #include <libgnome/gnome-defs.h>
#include <libgnomeui/gtkcalendar.h> #include <libgnomeui/gtkcalendar.h>
#include "calendar.h"
#include "gnome-cal.h" #include "gnome-cal.h"
BEGIN_GNOME_DECLS BEGIN_GNOME_DECLS

83
calendar/recur.xpm Normal file
View File

@ -0,0 +1,83 @@
/* XPM */
static char * recur_xpm[] = {
"16 16 64 1",
" c None",
". c #350000",
"+ c #2A0000",
"@ c #1B0000",
"# c #280000",
"$ c #430000",
"% c #090000",
"& c #160000",
"* c #250000",
"= c #460000",
"- c #550000",
"; c #610000",
"> c #0D0000",
", c #1F0000",
"' c #4B0000",
") c #5E0000",
"! c #6B0000",
"~ c #750000",
"{ c #790000",
"] c #810000",
"^ c #FFFF83",
"/ c #FFFF89",
"( c #FFFF93",
"_ c #8B0000",
": c #900000",
"< c #930000",
"[ c #FFFF62",
"} c #A10000",
"| c #FFFF41",
"1 c #FFFF3B",
"2 c #FFFF31",
"3 c #B70000",
"4 c #B20000",
"5 c #AE0000",
"6 c #FFFF22",
"7 c #FFFF16",
"8 c #FFFF06",
"9 c #C90000",
"0 c #C10000",
"a c #BB0000",
"b c #FFF600",
"c c #FFE100",
"d c #FFC500",
"e c #E40000",
"f c #D70000",
"g c #CD0000",
"h c #FFDB00",
"i c #FFA900",
"j c #FF8500",
"k c #FF5900",
"l c #FF2800",
"m c #FC0000",
"n c #ED0000",
"o c #E10000",
"p c #FFAF00",
"q c #FF9400",
"r c #FF7400",
"s c #FF5000",
"t c #FF0100",
"u c #F30000",
"v c #E80000",
"w c #FF6900",
"x c #FF4900",
"y c #FF0800",
" ",
" . ",
" +. ",
" @#.$ ",
" %&*.=-; ",
" >,.')!~ ",
" &. !{] ",
" ^/( . _:< ",
" [[[ }}} ",
" |12 345 ",
" 678 90a ",
" bcd efg ",
" hdijklmnof ",
" pqrsltuv ",
" wxly ",
" "};

View File

@ -16,7 +16,6 @@
#include <libgnome/gnome-defs.h> #include <libgnome/gnome-defs.h>
#include <libgnomeui/gtkcalendar.h> #include <libgnomeui/gtkcalendar.h>
#include "calendar.h"
#include "gnome-cal.h" #include "gnome-cal.h"
BEGIN_GNOME_DECLS BEGIN_GNOME_DECLS