Changeset dd0c8a0 in mainline for uspace/app/vlaunch/vlaunch.c


Ignore:
Timestamp:
2013-09-29T06:56:33Z (12 years ago)
Author:
Beniamino Galvani <b.galvani@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
a9bd960d
Parents:
3deb0155 (diff), 13be2583 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge mainline changes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/vlaunch/vlaunch.c

    r3deb0155 rdd0c8a0  
    121121        }
    122122       
    123         pixel_t grd_bg = PIXEL(255, 240, 240, 240);
     123        pixel_t grd_bg = PIXEL(255, 255, 255, 255);
    124124        pixel_t btn_bg = PIXEL(255, 0, 0, 0);
    125125        pixel_t btn_fg = PIXEL(255, 240, 240, 240);
    126         pixel_t lbl_bg = PIXEL(255, 240, 240, 240);
     126        pixel_t lbl_bg = PIXEL(255, 255, 255, 255);
    127127        pixel_t lbl_fg = PIXEL(255, 0, 0, 0);
    128128       
     
    137137        button_t *btn_vlaunch = create_button(NULL, "vlaunch", 16, btn_bg,
    138138            btn_fg);
    139         grid_t *grid = create_grid(window_root(main_window), 5, 1, grd_bg);
     139        grid_t *grid = create_grid(window_root(main_window), 1, 5, grd_bg);
    140140       
    141141        if ((!logo_canvas) || (!lbl_caption) || (!btn_vterm) ||
     
    151151       
    152152        grid->add(grid, &logo_canvas->widget, 0, 0, 1, 1);
    153         grid->add(grid, &lbl_caption->widget, 1, 0, 1, 1);
    154         grid->add(grid, &btn_vterm->widget, 2, 0, 1, 1);
    155         grid->add(grid, &btn_vdemo->widget, 3, 0, 1, 1);
    156         grid->add(grid, &btn_vlaunch->widget, 4, 0, 1, 1);
     153        grid->add(grid, &lbl_caption->widget, 0, 1, 1, 1);
     154        grid->add(grid, &btn_vterm->widget, 0, 2, 1, 1);
     155        grid->add(grid, &btn_vdemo->widget, 0, 3, 1, 1);
     156        grid->add(grid, &btn_vlaunch->widget, 0, 4, 1, 1);
    157157       
    158         window_resize(main_window, 210, 280 + LOGO_HEIGHT);
     158        window_resize(main_window, 210, 130 + LOGO_HEIGHT);
    159159        window_exec(main_window);
    160160       
Note: See TracChangeset for help on using the changeset viewer.