2008-10-15 13:29:06 +04:00
|
|
|
/*
|
|
|
|
* Copyright 2008, Oliver Tappe, zooey@hirschkaefer.de.
|
|
|
|
* Copyright 2008, Ingo Weinhold, ingo_weinhold@gmx.de.
|
|
|
|
* Distributed under the terms of the MIT License.
|
|
|
|
*/
|
|
|
|
#ifndef _BINARY_COMPATIBILITY_INTERFACE_H_
|
|
|
|
#define _BINARY_COMPATIBILITY_INTERFACE_H_
|
|
|
|
|
|
|
|
|
|
|
|
#include <binary_compatibility/Global.h>
|
|
|
|
|
|
|
|
|
|
|
|
struct perform_data_min_size {
|
|
|
|
BSize return_value;
|
|
|
|
};
|
|
|
|
|
|
|
|
struct perform_data_max_size {
|
|
|
|
BSize return_value;
|
|
|
|
};
|
|
|
|
|
|
|
|
struct perform_data_preferred_size {
|
|
|
|
BSize return_value;
|
|
|
|
};
|
|
|
|
|
|
|
|
struct perform_data_layout_alignment {
|
|
|
|
BAlignment return_value;
|
|
|
|
};
|
|
|
|
|
|
|
|
struct perform_data_has_height_for_width {
|
|
|
|
bool return_value;
|
|
|
|
};
|
|
|
|
|
|
|
|
struct perform_data_get_height_for_width {
|
|
|
|
float width;
|
|
|
|
float min;
|
|
|
|
float max;
|
|
|
|
float preferred;
|
|
|
|
};
|
|
|
|
|
|
|
|
struct perform_data_set_layout {
|
|
|
|
BLayout* layout;
|
|
|
|
};
|
|
|
|
|
2011-10-21 05:18:22 +04:00
|
|
|
struct perform_data_layout_invalidated {
|
2008-10-15 13:29:06 +04:00
|
|
|
bool descendants;
|
|
|
|
};
|
|
|
|
|
2009-08-03 18:47:41 +04:00
|
|
|
struct perform_data_get_tool_tip_at {
|
|
|
|
BPoint point;
|
|
|
|
BToolTip** tool_tip;
|
|
|
|
bool return_value;
|
|
|
|
};
|
2008-10-15 13:29:06 +04:00
|
|
|
|
|
|
|
#endif /* _BINARY_COMPATIBILITY_INTERFACE_H_ */
|