Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset 61b5b73d in mainline for uspace/lib/gui/window.c


Ignore:
Timestamp:
2014-01-17T14:33:02Z (9 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial
Children:
476f62c, 66be0288
Parents:
6a3d0c7
Message:

make the title bar more subtle, change the close icon to the easily recognizable cross

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/gui/window.c

    r6a3d0c7 r61b5b73d  
    6363static sysarg_t border_thickness = 4;
    6464static sysarg_t bevel_thickness = 1;
    65 static sysarg_t header_height = 22;
     65static sysarg_t header_height = 20;
    6666static sysarg_t header_min_width = 40;
    67 static sysarg_t close_thickness = 22;
     67static sysarg_t close_thickness = 20;
    6868
    6969static pixel_t color_highlight = PIXEL(255, 255, 255, 255);
     
    155155        /* Close button icon */
    156156       
    157         draw_bevel(&drawctx, &source, close_hpos + 6, close_vpos + 9,
    158             close_thickness - 12, close_thickness - 18, color_highlight,
    159             color_shadow);
     157        draw_icon_cross(surface, close_hpos + 3, close_vpos + 3,
     158            color_highlight, color_shadow);
    160159       
    161160        /* Window caption */
Note: See TracChangeset for help on using the changeset viewer.