1/* 2 * Copyright 2008, Oliver Tappe, zooey@hirschkaefer.de. 3 * Copyright 2008, Ingo Weinhold, ingo_weinhold@gmx.de. 4 * Distributed under the terms of the MIT License. 5 */ 6#ifndef _BINARY_COMPATIBILITY_INTERFACE_H_ 7#define _BINARY_COMPATIBILITY_INTERFACE_H_ 8 9 10#include <binary_compatibility/Global.h> 11 12 13struct perform_data_min_size { 14 BSize return_value; 15}; 16 17struct perform_data_max_size { 18 BSize return_value; 19}; 20 21struct perform_data_preferred_size { 22 BSize return_value; 23}; 24 25struct perform_data_layout_alignment { 26 BAlignment return_value; 27}; 28 29struct perform_data_has_height_for_width { 30 bool return_value; 31}; 32 33struct perform_data_get_height_for_width { 34 float width; 35 float min; 36 float max; 37 float preferred; 38}; 39 40struct perform_data_set_layout { 41 BLayout* layout; 42}; 43 44struct perform_data_layout_invalidated { 45 bool descendants; 46}; 47 48struct perform_data_get_tool_tip_at { 49 BPoint point; 50 BToolTip** tool_tip; 51 bool return_value; 52}; 53 54struct perform_data_set_icon { 55 const BBitmap* icon; 56 uint32 flags; 57}; 58 59 60#endif /* _BINARY_COMPATIBILITY_INTERFACE_H_ */ 61