libxputty 0.1
Loading...
Searching...
No Matches
xdrawing_area.h
Go to the documentation of this file.
1/*
2 *
3 * Permission to use, copy, modify, and/or distribute this software for any
4 * purpose with or without fee is hereby granted.
5
6 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
7 * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
8 * AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
9 * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
10 * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
11 * OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
12 * PERFORMANCE OF THIS SOFTWARE.
13 *
14 */
15
16#pragma once
17
18#ifndef XDRAWING_AREA_H_
19#define XDRAWING_AREA_H_
20
21#include "xputty.h"
22
23#ifdef __cplusplus
24extern "C" {
25#endif
26
27
36Widget_t* add_image(Widget_t *parent, const char * label,
37 int x, int y, int width, int height);
38
39#ifdef __cplusplus
40}
41#endif
42
43#endif //XDRAWING_AREA_H_
Widget_t - struct to hold the basic Widget_t info.
Definition xwidget.h:457
Widget_t * add_image(Widget_t *parent, const char *label, int x, int y, int width, int height)
add_image - add a image to a Widget_t
This file contains definitions and structs used on all platforms. Platform specific definitions are l...