Lines Matching defs:color
45 store_color_in_message(BMessage* message, rgb_color color)
50 (void*)&color, sizeof(rgb_color));
57 restore_color_from_message(const BMessage* message, rgb_color& color, int32 index)
66 color = *(const rgb_color*)colorPointer;
73 make_color_drop_message(rgb_color color, BBitmap* bitmap)
79 color.red, color.green, color.blue);
81 message.AddData("RGBColor", B_RGB_COLOR_TYPE, &color, sizeof(color));
95 bitsHandle[0] = (uint8)min_c(255, color.blue * 1.2 + 40);
96 bitsHandle[1] = (uint8)min_c(255, color.green * 1.2 + 40);
97 bitsHandle[2] = (uint8)min_c(255, color.red * 1.2 + 40);
102 bitsHandle[0] = (uint8)(color.blue * 0.8);
103 bitsHandle[1] = (uint8)(color.green * 0.8);
104 bitsHandle[2] = (uint8)(color.red * 0.8);
113 // color
114 bitsHandle[0] = color.blue;
115 bitsHandle[1] = color.green;
116 bitsHandle[2] = color.red;