Interface.h 981 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  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. #include <binary_compatibility/Global.h>
  9. struct perform_data_min_size {
  10. BSize return_value;
  11. };
  12. struct perform_data_max_size {
  13. BSize return_value;
  14. };
  15. struct perform_data_preferred_size {
  16. BSize return_value;
  17. };
  18. struct perform_data_layout_alignment {
  19. BAlignment return_value;
  20. };
  21. struct perform_data_has_height_for_width {
  22. bool return_value;
  23. };
  24. struct perform_data_get_height_for_width {
  25. float width;
  26. float min;
  27. float max;
  28. float preferred;
  29. };
  30. struct perform_data_set_layout {
  31. BLayout* layout;
  32. };
  33. struct perform_data_invalidate_layout {
  34. bool descendants;
  35. };
  36. struct perform_data_get_tool_tip_at {
  37. BPoint point;
  38. BToolTip** tool_tip;
  39. bool return_value;
  40. };
  41. #endif /* _BINARY_COMPATIBILITY_INTERFACE_H_ */