소스 검색

try with transparency

Olivier Marty 9 년 전
부모
커밋
ae02794cf8
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      printer.c

+ 2 - 2
printer.c

@@ -95,8 +95,8 @@ struct printerEnv printerOpenWindow(int width, int height, int margin_bottom,
   XParseColor(env.d, attr.colormap, "#222222", &tmp);
   XAllocColor(env.d, attr.colormap, &tmp);
   env.color_background = tmp.pixel;
-  //env.color_text = -1;
-  //env.color_background = (100 * 256 + 100) * 256 + 100;
+  //unsigned short r = 34, g = 34, b = 34, a = 192; // TODO where is the doc ?
+  //env.color_background = a*256*256*256 + r*256*256 + g*256 + b;
   
   // create the window
   env.width = (width < 0) ? RootAttr.width : width;