Changeset e229148 in mainline for uspace/app/aboutos


Ignore:
Timestamp:
2024-03-06T18:48:50Z (2 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
master
Children:
2cdf520
Parents:
d92b8e8f
git-author:
Jiri Svoboda <jiri@…> (2024-03-06 18:40:54)
git-committer:
Jiri Svoboda <jiri@…> (2024-03-06 18:48:50)
Message:

Morph Launcher into About HelenOS

Location:
uspace/app/aboutos
Files:
2 added
3 moved

Legend:

Unmodified
Added
Removed
  • uspace/app/aboutos/aboutos.h

    rd92b8e8f re229148  
    11/*
    2  * Copyright (c) 2023 Jiri Svoboda
     2 * Copyright (c) 2024 Jiri Svoboda
    33 * All rights reserved.
    44 *
     
    2727 */
    2828
    29 /** @addtogroup launcher
     29/** @addtogroup aboutos
    3030 * @{
    3131 */
    3232/**
    33  * @file Launcher
     33 * @file About HelenOS
    3434 */
    3535
    36 #ifndef LAUNCHER_H
    37 #define LAUNCHER_H
     36#ifndef ABOUTOS_H
     37#define ABOUTOS_H
    3838
    39 #include <display.h>
    40 #include <types/common.h>
    4139#include <ui/fixed.h>
    4240#include <ui/image.h>
     
    4644#include <ui/window.h>
    4745
    48 /** Launcher */
     46/** About HelenOS */
    4947typedef struct {
    5048        ui_t *ui;
     
    5351
    5452        ui_image_t *image;
    55         ui_label_t *label;
     53        ui_label_t *lrelease;
     54        ui_label_t *lcopy;
     55        ui_label_t *larch;
    5656
    57         ui_pbutton_t *pb1;
    58         ui_pbutton_t *pb2;
    59         ui_pbutton_t *pb3;
    60         ui_pbutton_t *pb4;
    61         ui_pbutton_t *pb5;
    62         ui_pbutton_t *pb6;
    63 
    64         /** ID of device that sent last position event */
    65         sysarg_t ev_pos_id;
    66 } launcher_t;
     57        ui_pbutton_t *pbok;
     58} aboutos_t;
    6759
    6860#endif
  • uspace/app/aboutos/meson.build

    rd92b8e8f re229148  
    11#
     2# Copyright (c) 2024 Jiri Svoboda
    23# Copyright (c) 2012 Petr Koupy
    34# All rights reserved.
     
    3132_images = files('gfx/helenos.tga')
    3233
    33 _images_zip = custom_target('launcher_images.zip',
     34_images_zip = custom_target('aboutos_images.zip',
    3435        input : _images,
    3536        output : [ 'images.zip' ],
    3637        command : [ mkarray, '@OUTDIR@', 'images', 'image', uspace_as_prolog, '.data', '@INPUT@' ],
    3738)
    38 _imgs_s = custom_target('launcher_images.s',
     39_imgs_s = custom_target('aboutos_images.s',
    3940        input : _images_zip,
    4041        output : [ 'images.s' ],
     
    4243        capture : true,
    4344)
    44 _imgs_h = custom_target('launcher_images.h',
     45_imgs_h = custom_target('aboutos_images.h',
    4546        input : _images_zip,
    4647        output : [ 'images.h' ],
     
    4849        capture : true,
    4950)
    50 _imgs_desc_c = custom_target('launcher_images_desc.c',
     51_imgs_desc_c = custom_target('aboutos_images_desc.c',
    5152        input : _images_zip,
    5253        output : [ 'images_desc.c' ],
     
    5556)
    5657
    57 src = [ files('launcher.c'), _imgs_s, _imgs_h, _imgs_desc_c ]
     58c_args += [ '-DHELENOS_RELEASE=' + HELENOS_RELEASE, '-DHELENOS_COPYRIGHT=' + HELENOS_COPYRIGHT, '-DHELENOS_CODENAME=' + HELENOS_CODENAME ]
     59src = [ files('aboutos.c'), _imgs_s, _imgs_h, _imgs_desc_c ]
Note: See TracChangeset for help on using the changeset viewer.