haiku/headers/private/binary_compatibility/Interface.h
Axel Dörfler 8318af01b9 * Added a basic tool tip API, and implementation.
* The BView API can probably be regarded as good enough; the implementation
  might need to be improved over time (also, some things as archivability
  aren't fully implemented yet). The ToolTip.h header should get public once
  finalized.
* Added new B_MOUSE_IDLE message that is sent to a BView after a certain
  time has passed (BToolTipManager::ShowDelay()).
* Added small test app (ToolTipTest) that shows what is already working.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32078 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-03 14:47:41 +00:00

55 lines
981 B
C

/*
* 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;
};
struct perform_data_invalidate_layout {
bool descendants;
};
struct perform_data_get_tool_tip_at {
BPoint point;
BToolTip** tool_tip;
bool return_value;
};
#endif /* _BINARY_COMPATIBILITY_INTERFACE_H_ */