Fossil

Check-in [3eea7413ac]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Show the color names on the hash-color-test webpage.
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 3eea7413accdd63724a5554cf53f455c2fc5225f
User & Date: drh 2013-04-29 23:29:44.407
Context
2013-04-29
23:44
Fix x64 compilation on Windows using the MSVC toolset included with VS 2012. ... (check-in: ed544f3d9c user: mistachkin tags: trunk)
23:29
Show the color names on the hash-color-test webpage. ... (check-in: 3eea7413ac user: drh tags: trunk)
18:21
Add the hash-color-test webpage. ... (check-in: 748f975345 user: drh tags: trunk)
Changes
Unified Diff Ignore Whitespace Patch
Changes to src/timeline.c.
187
188
189
190
191
192
193

194
195
196
197
198
199
200
201

  style_header("Hash Color Test");
  for(i=cnt=0; i<10; i++){
    sqlite3_snprintf(sizeof(zNm),zNm,"b%d",i);
    zBr = P(zNm);
    if( zBr && zBr[0] ){
      @ <p style='border:1px solid;background-color:%s(hash_color(zBr));'>

      @ %h(zBr) - Omnes nos quasi oves erravimus unusquisque in viam
      @ suam declinavit.</p>
      cnt++;
    }
  }
  if( cnt ){
    @ <hr>
  }







>
|







187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202

  style_header("Hash Color Test");
  for(i=cnt=0; i<10; i++){
    sqlite3_snprintf(sizeof(zNm),zNm,"b%d",i);
    zBr = P(zNm);
    if( zBr && zBr[0] ){
      @ <p style='border:1px solid;background-color:%s(hash_color(zBr));'>
      @ %h(zBr) - %s(hash_color(zBr)) -
      @ Omnes nos quasi oves erravimus unusquisque in viam
      @ suam declinavit.</p>
      cnt++;
    }
  }
  if( cnt ){
    @ <hr>
  }