mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-04-11 00:08:51 +00:00
Monotone-Parent: 0ab91a79c43fc79346ff91e416032be2bd1b544a
Monotone-Revision: 140f7dd26cdec380675b0b319d9ee737783d404b Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2006-10-18T15:11:35 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -64,7 +64,9 @@
|
||||
unsigned char colorTable[] = { 1, 1, 1 };
|
||||
NSString *color;
|
||||
|
||||
if (number == NSNotFound)
|
||||
if (number == 0)
|
||||
color = @"#ccf";
|
||||
else if (number == NSNotFound)
|
||||
color = @"#f00";
|
||||
else
|
||||
{
|
||||
@@ -80,9 +82,9 @@
|
||||
index++;
|
||||
}
|
||||
color = [NSString stringWithFormat: @"#%2x%2x%2x",
|
||||
(256 / colorTable[2]) - 1,
|
||||
(256 / colorTable[1]) - 1,
|
||||
(256 / colorTable[0]) - 1];
|
||||
(255 / colorTable[2]) - 1,
|
||||
(255 / colorTable[1]) - 1,
|
||||
(255 / colorTable[0]) - 1];
|
||||
}
|
||||
|
||||
NSLog(@"color = '%@'", color);
|
||||
|
||||
@@ -438,7 +438,7 @@ DIV#calendarContent
|
||||
SPAN.appointmentView
|
||||
{ display: block;
|
||||
background: #dd0;
|
||||
border: 1px dashed #990; }
|
||||
border: 1px solid #000; }
|
||||
|
||||
SPAN.colorBox
|
||||
{ display: block;
|
||||
|
||||
Reference in New Issue
Block a user