Changeset 7e38970d in mainline for uspace/lib/ui/private/ui.h


Ignore:
Timestamp:
2020-12-07T00:08:37Z (3 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
25f26600
Parents:
7a873f0 (diff), 8596474 (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 branch 'jxsvoboda-gfx' into master

File:
1 moved

Legend:

Unmodified
Added
Removed
  • uspace/lib/ui/private/ui.h

    r7a873f0 r7e38970d  
    11/*
    2  * Copyright (c) 2012 Petr Koupy
     2 * Copyright (c) 2020 Jiri Svoboda
    33 * All rights reserved.
    44 *
     
    2727 */
    2828
    29 /** @addtogroup gui
     29/** @addtogroup libui
    3030 * @{
    3131 */
    3232/**
    33  * @file
     33 * @file User interface
     34 *
    3435 */
    3536
    36 #ifndef GUI_MINIMAL_H_
    37 #define GUI_MINIMAL_H_
     37#ifndef _UI_PRIVATE_UI_H
     38#define _UI_PRIVATE_UI_H
    3839
     40#include <display.h>
    3941#include <stdbool.h>
    40 #include <io/pixel.h>
    4142
    42 #include "widget.h"
    43 
    44 typedef struct minimal {
    45         widget_t widget;
    46         pixel_t pix_a;
    47         pixel_t pix_b;
    48 } minimal_t;
    49 
    50 extern bool init_minimal(minimal_t *, widget_t *, const void *, pixel_t,
    51     pixel_t);
    52 extern minimal_t *create_minimal(widget_t *, const void *, pixel_t, pixel_t);
    53 extern void deinit_minimal(minimal_t *);
     43/** Actual structure of user interface.
     44 *
     45 * This is private to libui.
     46 */
     47struct ui {
     48        /** Display */
     49        display_t *display;
     50        /** Output owned by UI, clean up when destroying UI */
     51        bool myoutput;
     52        /** @c true if terminating */
     53        bool quit;
     54};
    5455
    5556#endif
Note: See TracChangeset for help on using the changeset viewer.