xref: /haiku/headers/private/binary_compatibility/Interface.h (revision be260374d58f6eae120320ac1ca1ba50783e8c4b)
139fbf550SOliver Tappe /*
239fbf550SOliver Tappe  * Copyright 2008, Oliver Tappe, zooey@hirschkaefer.de.
339fbf550SOliver Tappe  * Copyright 2008, Ingo Weinhold, ingo_weinhold@gmx.de.
439fbf550SOliver Tappe  * Distributed under the terms of the MIT License.
539fbf550SOliver Tappe  */
639fbf550SOliver Tappe #ifndef _BINARY_COMPATIBILITY_INTERFACE_H_
739fbf550SOliver Tappe #define _BINARY_COMPATIBILITY_INTERFACE_H_
839fbf550SOliver Tappe 
939fbf550SOliver Tappe 
1039fbf550SOliver Tappe #include <binary_compatibility/Global.h>
1139fbf550SOliver Tappe 
1239fbf550SOliver Tappe 
1339fbf550SOliver Tappe struct perform_data_min_size {
1439fbf550SOliver Tappe 	BSize	return_value;
1539fbf550SOliver Tappe };
1639fbf550SOliver Tappe 
1739fbf550SOliver Tappe struct perform_data_max_size {
1839fbf550SOliver Tappe 	BSize	return_value;
1939fbf550SOliver Tappe };
2039fbf550SOliver Tappe 
2139fbf550SOliver Tappe struct perform_data_preferred_size {
2239fbf550SOliver Tappe 	BSize	return_value;
2339fbf550SOliver Tappe };
2439fbf550SOliver Tappe 
2539fbf550SOliver Tappe struct perform_data_layout_alignment {
2639fbf550SOliver Tappe 	BAlignment	return_value;
2739fbf550SOliver Tappe };
2839fbf550SOliver Tappe 
2939fbf550SOliver Tappe struct perform_data_has_height_for_width {
3039fbf550SOliver Tappe 	bool	return_value;
3139fbf550SOliver Tappe };
3239fbf550SOliver Tappe 
3339fbf550SOliver Tappe struct perform_data_get_height_for_width {
3439fbf550SOliver Tappe 	float	width;
3539fbf550SOliver Tappe 	float	min;
3639fbf550SOliver Tappe 	float	max;
3739fbf550SOliver Tappe 	float	preferred;
3839fbf550SOliver Tappe };
3939fbf550SOliver Tappe 
4039fbf550SOliver Tappe struct perform_data_set_layout {
4139fbf550SOliver Tappe 	BLayout*	layout;
4239fbf550SOliver Tappe };
4339fbf550SOliver Tappe 
44eee4243dSAlex Wilson struct perform_data_layout_invalidated {
4539fbf550SOliver Tappe 	bool	descendants;
4639fbf550SOliver Tappe };
4739fbf550SOliver Tappe 
488318af01SAxel Dörfler struct perform_data_get_tool_tip_at {
498318af01SAxel Dörfler 	BPoint		point;
508318af01SAxel Dörfler 	BToolTip**	tool_tip;
518318af01SAxel Dörfler 	bool		return_value;
528318af01SAxel Dörfler };
5339fbf550SOliver Tappe 
54*be260374SIngo Weinhold struct perform_data_set_icon {
55*be260374SIngo Weinhold 	const BBitmap*	icon;
56*be260374SIngo Weinhold 	uint32			flags;
57*be260374SIngo Weinhold };
58*be260374SIngo Weinhold 
59*be260374SIngo Weinhold 
6039fbf550SOliver Tappe #endif /* _BINARY_COMPATIBILITY_INTERFACE_H_ */
61