summaryrefslogtreecommitdiff
path: root/src/tile.xpm
diff options
context:
space:
mode:
authorMichael R Sweet <michael.r.sweet@gmail.com>2002-01-01 13:11:29 +0000
committerMichael R Sweet <michael.r.sweet@gmail.com>2002-01-01 13:11:29 +0000
commitf9770db21fabc7785627092c52afb0d88f43089f (patch)
tree7b48f59252190d4c24b8b67cee8ccac66ca4f987 /src/tile.xpm
parent988bc9d95f1a4f5b06262fe9b4de9466ab2950f5 (diff)
Use rint() for some more rounding of vertices.
Add fl_parse_color() to X11 version, too, and use it instead of XParseColor in the image handling code. Move the default color stuff in the plastic scheme to the MacOS get_system_colors(), and apply the background color to the tile image. More fixes for test makefile. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1901 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/tile.xpm')
-rw-r--r--src/tile.xpm11
1 files changed, 8 insertions, 3 deletions
diff --git a/src/tile.xpm b/src/tile.xpm
index d5c9c6e34..5ef010ac3 100644
--- a/src/tile.xpm
+++ b/src/tile.xpm
@@ -1,9 +1,14 @@
/* XPM */
+static char tile_cmap[3][32] = {
+"O c #F0F0F0",
+"o c #E0E0E0",
+". c #D8D8D8"
+};
static const char * tile_xpm[] = {
"16 16 3 1",
-"O c #F0F0F0",
-"o c #E0E0E0",
-". c #D8D8D8",
+tile_cmap[0],
+tile_cmap[1],
+tile_cmap[2],
"OOOOOOOOOOOOOOOO",
"oooooooooooooooo",
"................",