珞珈山水BBS电脑网络Linux & Unix → 单文区文章阅读

单文区文章阅读 [返回]
发信人: Knuthocean (yaoshigezicaiyoujingyan), 信区: Linux_Unix
标  题: Re: 来想个问题
发信站: 珞珈山水BBS站 (Thu Nov  3 14:07:10 2005), 转信

use map and just let the user set the content of map,OK?
【 在 bigben (早起的鸟儿debug) 的大作中提到: 】
: 一般程序都有2^24种颜色,但是BBS只有7种。当然如果加上明和暗总共有14种颜色。
: 怎么把2^24种颜色映射到这14种颜色,让代码弄得好看一点?


--

※ 来源:·珞珈山水BBS站 bbs.whu.edu.cn·[FROM: 202.114.121.*]
[返回单文区目录]

武汉大学BBS 珞珈山水站 All rights reserved.
wForum , 页面执行时间:3.736毫秒