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


Ignore:
Timestamp:
2020-12-07T00:08:37Z (4 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/include/types/ui/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 softrend
     29/** @addtogroup libui
    3030 * @{
    3131 */
    3232/**
    33  * @file
     33 * @file User interface
    3434 */
    3535
    36 #ifndef SOFTREND_FILTER_H_
    37 #define SOFTREND_FILTER_H_
     36#ifndef _UI_TYPES_UI_H
     37#define _UI_TYPES_UI_H
    3838
    39 #include <io/pixelmap.h>
     39#include <gfx/coord.h>
    4040
    41 typedef pixel_t (*filter_t)(pixelmap_t *, double, double, pixelmap_extend_t);
     41struct ui;
     42typedef struct ui ui_t;
    4243
    43 extern pixel_t filter_nearest(pixelmap_t *, double, double, pixelmap_extend_t);
    44 extern pixel_t filter_bilinear(pixelmap_t *, double, double, pixelmap_extend_t);
    45 extern pixel_t filter_bicubic(pixelmap_t *, double, double, pixelmap_extend_t);
     44/** Use the default display service (argument to ui_create() */
     45#define UI_DISPLAY_DEFAULT NULL
    4646
    4747#endif
Note: See TracChangeset for help on using the changeset viewer.