Permalink
Browse files

Change some colorschemes

  • Loading branch information...
1 parent d52b048 commit c7d31869a864f02181afa4416e384c1183eccc7c @klange committed Mar 31, 2013
Showing with 19 additions and 19 deletions.
  1. +7 −7 userspace/gui/basic/draw.c
  2. +12 −12 userspace/gui/basic/julia.c
View
@@ -205,19 +205,19 @@ int main (int argc, char ** argv) {
win_use_threaded_handler();
setup_ttk(wina);
- ttk_button * button_blue = ttk_new_button("Blue", set_color);
+ ttk_button * button_blue = ttk_new_button("Violet", set_color);
ttk_position((ttk_object *)button_blue, decor_left_width + 3, decor_top_height + 3, 100, 20);
- button_blue->fill_color = rgb(0,0,255);
+ button_blue->fill_color = rgb(212,164,232);
button_blue->fore_color = rgb(255,255,255);
- ttk_button * button_green = ttk_new_button("Green", set_color);
+ ttk_button * button_green = ttk_new_button("Dark Blue", set_color);
ttk_position((ttk_object *)button_green, decor_left_width + 106, decor_top_height + 3, 100, 20);
- button_green->fill_color = rgb(0,255,0);
- button_green->fore_color = rgb(0,0,0);
+ button_green->fill_color = rgb(38,54,112);
+ button_green->fore_color = rgb(255,255,255);
- ttk_button * button_red = ttk_new_button("Red", set_color);
+ ttk_button * button_red = ttk_new_button("Hot Pink", set_color);
ttk_position((ttk_object *)button_red, decor_left_width + 209, decor_top_height + 3, 100, 20);
- button_red->fill_color = rgb(255,0,0);
+ button_red->fill_color = rgb(230,69,139);
button_red->fore_color = rgb(255,255,255);
button_thick = ttk_new_button("Thick", set_thickness_thick);
@@ -49,18 +49,18 @@ int no_repeat = 0; /* Repeat colors? */
* These are orange/red shades from the Ubuntu platte.
*/
int colors[] = {
- 0xFFeec73e,
- 0xFFf0a513,
- 0xFFfb8b00,
- 0xFFf44800,
- 0xFFffff99,
- 0xFFffff00,
- 0xFFfdca01,
- 0xFF986601,
- 0xFFf44800,
- 0xFFfd3301,
- 0xFFd40000,
- 0xFF980101,
+ 0xFF9dd7f6,
+ 0xFF0091ce,
+ 0xFF7ac041,
+ 0xFFf4e97f,
+ 0xFFf27835,
+ 0xFFef3f33,
+ 0xFFfcbc55,
+ 0xFFfcb3dc,
+ 0xFFfc4aa4,
+ 0xFFeb319f,
+ 0xFFac369f,
+ 0xFF273771,
};
int left = 40;

0 comments on commit c7d3186

Please sign in to comment.