Changeset 7e38970d in mainline for uspace/lib/ui/private/control.h
- Timestamp:
- 2020-12-07T00:08:37Z (4 years ago)
- 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. - File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/ui/private/control.h
r7a873f0 r7e38970d 1 1 /* 2 * Copyright (c) 20 12 Petr Koupy2 * Copyright (c) 2020 Jiri Svoboda 3 3 * All rights reserved. 4 4 * … … 27 27 */ 28 28 29 /** @addtogroup softrend29 /** @addtogroup libui 30 30 * @{ 31 31 */ 32 32 /** 33 * @file 33 * @file UI control structure 34 * 34 35 */ 35 36 36 #ifndef SOFTREND_RECTANGLE_H_37 #define SOFTREND_RECTANGLE_H_37 #ifndef _UI_PRIVATE_CONTROL_H 38 #define _UI_PRIVATE_CONTROL_H 38 39 40 #include <gfx/coord.h> 39 41 #include <stdbool.h> 40 #include <types/common.h>41 42 42 extern bool rectangle_intersect( 43 sysarg_t, sysarg_t, sysarg_t, sysarg_t, 44 sysarg_t, sysarg_t, sysarg_t, sysarg_t, 45 sysarg_t *, sysarg_t *, sysarg_t *, sysarg_t *); 46 extern void rectangle_union( 47 sysarg_t, sysarg_t, sysarg_t, sysarg_t, 48 sysarg_t, sysarg_t, sysarg_t, sysarg_t, 49 sysarg_t *, sysarg_t *, sysarg_t *, sysarg_t *); 43 /** Actual structure of UI control. 44 * 45 * UI control is the abstract base class to all UI controls (e.g. push button, 46 * label). This is private to libui. 47 */ 48 struct ui_control { 49 /** Pointer to layout element structure this control is attached to 50 * or @c NULL if the control is not attached to a layout 51 */ 52 void *elemp; 53 /** Ops */ 54 struct ui_control_ops *ops; 55 /** Extended data */ 56 void *ext; 57 }; 50 58 51 59 #endif
Note:
See TracChangeset
for help on using the changeset viewer.