Overview
SHA1 Hash: | 4d030179232ba6ed59516f31cec12f5827c20563 |
---|---|
Date: | 2007-08-30 21:37:42 |
User: | drh |
Comment: | Put a colored asterisk beside entries of interest in the timeline, rather than doing lots of annoying text color and background changes. |
Timelines: | ancestors | descendants | both | trunk |
Other Links: | files | ZIP archive | manifest |
Tags And Properties
- branch=trunk inherited from [a28c83647d]
- sym-trunk inherited from [a28c83647d]
Changes
[hide diffs]Modified src/timeline.c from [5cd9dc9d0b] to [7962fee79e].
@@ -115,13 +115,14 @@ @ <td bgcolor="#d0d9f4" class="bkgnd1">%s(zPrevDate)</td> @ </tr></table> @ </td></tr></table> @ </td></tr> } - @ <tr id="m%d(rid)"> + @ <tr> @ <td valign="top">%s(&zDate[11])</td> - @ <td width="20"></td> + @ <td width="20" align="center" valign="top"> + @ <font id="m%d(rid)" size="+1" color="white">*</font></td> @ <td valign="top" align="left"> hyperlink_to_uuid_with_mouseover(zUuid, "xin", "xout", rid); if( nParent>1 ){ @ <b>Merge</b> } @@ -228,10 +229,11 @@ @ function setall(value){ @ for(var x in parentof){ @ setone(x,value); @ } @ } + @ setall("#ffffff"); @ function setone(id, clr){ @ if( parentof[id]==null ) return 0; @ var w = document.getElementById(id); @ if( w.style.color==clr ){ @ return 0 @@ -240,30 +242,30 @@ @ return 1 @ } @ } @ function xin(id) { @ setall("#ffffff"); - @ setone(id,"#000000"); - @ set_children(id, "#002000"); - @ set_parents(id, "#200000"); + @ setone(id,"#ff0000"); + @ set_children(id, "#b0b0b0"); + @ set_parents(id, "#b0b0b0"); @ for(var x in parentof[id]){ @ var pid = parentof[id][x] @ var w = document.getElementById(pid); @ if( w!=null ){ - @ w.style.color = "#ff0000"; + @ w.style.color = "#000000"; @ } @ } @ for(var x in childof[id]){ @ var cid = childof[id][x] @ var w = document.getElementById(cid); @ if( w!=null ){ - @ w.style.color = "#008000"; + @ w.style.color = "#000000"; @ } @ } @ } @ function xout(id) { - @ setall("#000000"); + @ /* setall("#000000"); */ @ } @ function set_parents(id, clr){ @ var plist = parentof[id]; @ if( plist==null ) return; @ for(var x in plist){