Changes in uspace/app/vlaunch/vlaunch.c [62fbb7e:9e7898e] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/vlaunch/vlaunch.c
r62fbb7e r9e7898e 115 115 116 116 winreg = argv[1]; 117 window_t *main_window = window_open(argv[1], true, true, "vlaunch" );117 window_t *main_window = window_open(argv[1], true, true, "vlaunch", 0, 0); 118 118 if (!main_window) { 119 119 printf("Cannot open main window.\n"); … … 122 122 123 123 pixel_t grd_bg = PIXEL(255, 255, 255, 255); 124 125 pixel_t btn_bg = PIXEL(255, 255, 255, 255); 126 pixel_t btn_fg = PIXEL(255, 186, 186, 186); 127 pixel_t btn_text = PIXEL(255, 0, 0, 0); 128 124 pixel_t btn_bg = PIXEL(255, 0, 0, 0); 125 pixel_t btn_fg = PIXEL(255, 240, 240, 240); 129 126 pixel_t lbl_bg = PIXEL(255, 255, 255, 255); 130 pixel_t lbl_ text= PIXEL(255, 0, 0, 0);127 pixel_t lbl_fg = PIXEL(255, 0, 0, 0); 131 128 132 129 canvas_t *logo_canvas = create_canvas(NULL, LOGO_WIDTH, LOGO_HEIGHT, 133 130 logo); 134 131 label_t *lbl_caption = create_label(NULL, "Launch application:", 16, 135 lbl_bg, lbl_ text);132 lbl_bg, lbl_fg); 136 133 button_t *btn_vterm = create_button(NULL, "vterm", 16, btn_bg, 137 btn_fg , btn_text);134 btn_fg); 138 135 button_t *btn_vdemo = create_button(NULL, "vdemo", 16, btn_bg, 139 btn_fg , btn_text);136 btn_fg); 140 137 button_t *btn_vlaunch = create_button(NULL, "vlaunch", 16, btn_bg, 141 btn_fg , btn_text);138 btn_fg); 142 139 grid_t *grid = create_grid(window_root(main_window), 1, 5, grd_bg); 143 140 … … 159 156 grid->add(grid, &btn_vlaunch->widget, 0, 4, 1, 1); 160 157 161 window_resize(main_window, 0, 0, 210, 130 + LOGO_HEIGHT, 162 WINDOW_PLACEMENT_RIGHT | WINDOW_PLACEMENT_TOP); 158 window_resize(main_window, 210, 130 + LOGO_HEIGHT); 163 159 window_exec(main_window); 164 160
Note:
See TracChangeset
for help on using the changeset viewer.