Changeset dd0c8a0 in mainline for uspace/app/vlaunch/vlaunch.c
- Timestamp:
- 2013-09-29T06:56:33Z (12 years ago)
- 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. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/vlaunch/vlaunch.c
r3deb0155 rdd0c8a0 121 121 } 122 122 123 pixel_t grd_bg = PIXEL(255, 2 40, 240, 240);123 pixel_t grd_bg = PIXEL(255, 255, 255, 255); 124 124 pixel_t btn_bg = PIXEL(255, 0, 0, 0); 125 125 pixel_t btn_fg = PIXEL(255, 240, 240, 240); 126 pixel_t lbl_bg = PIXEL(255, 2 40, 240, 240);126 pixel_t lbl_bg = PIXEL(255, 255, 255, 255); 127 127 pixel_t lbl_fg = PIXEL(255, 0, 0, 0); 128 128 … … 137 137 button_t *btn_vlaunch = create_button(NULL, "vlaunch", 16, btn_bg, 138 138 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); 140 140 141 141 if ((!logo_canvas) || (!lbl_caption) || (!btn_vterm) || … … 151 151 152 152 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); 157 157 158 window_resize(main_window, 210, 280 + LOGO_HEIGHT);158 window_resize(main_window, 210, 130 + LOGO_HEIGHT); 159 159 window_exec(main_window); 160 160
Note:
See TracChangeset
for help on using the changeset viewer.