diff options
author | William Joye <wjoye@cfa.harvard.edu> | 2019-04-22 19:59:18 (GMT) |
---|---|---|
committer | William Joye <wjoye@cfa.harvard.edu> | 2019-04-22 19:59:18 (GMT) |
commit | 6ceca1bb2e7eb9acb2480a2932332ce5acf40628 (patch) | |
tree | 8964a634434dcd161e708f730dc3a8ef98acdd0d /tksao/frame | |
parent | 06c0c27d0cea35b741ccfb627d323fb64141451b (diff) | |
download | blt-6ceca1bb2e7eb9acb2480a2932332ce5acf40628.zip blt-6ceca1bb2e7eb9acb2480a2932332ce5acf40628.tar.gz blt-6ceca1bb2e7eb9acb2480a2932332ce5acf40628.tar.bz2 |
full rotate and colormap render
Diffstat (limited to 'tksao/frame')
-rw-r--r-- | tksao/frame/colorscaletrue32.C | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/tksao/frame/colorscaletrue32.C b/tksao/frame/colorscaletrue32.C index 54188dd..d350ae8 100644 --- a/tksao/frame/colorscaletrue32.C +++ b/tksao/frame/colorscaletrue32.C @@ -16,10 +16,9 @@ ColorScaleTrueColor32::ColorScaleTrueColor32(int s, Visual* visual, int msb) unsigned int g = psColors_[i*3+1]; unsigned int b = psColors_[i*3]; unsigned int a = 0; - // *** waj *** - //#ifdef MAC_OSX_TK - // a |= 0xff << 24; - //#endif +#ifdef MAC_OSX_TK + a |= 0xff << 24; +#endif a |= r << rs_; a |= g << gs_; a |= b << bs_; @@ -32,10 +31,9 @@ ColorScaleTrueColor32::ColorScaleTrueColor32(int s, Visual* visual, int msb) unsigned int g = psColors_[i*3+1]; unsigned int b = psColors_[i*3]; unsigned int a = 0; - // *** waj *** - //#ifdef MAC_OSX_TK - // a |= 0xff << 24; - //#endif +#ifdef MAC_OSX_TK + a |= 0xff << 24; +#endif a |= r << rs_; a |= g << gs_; a |= b << bs_; |