* Moved the global BPrivate::WidthBuffer from BTextView into BPrivate as
gWidthBuffer. * Tracker PoseView now uses BPrivate::gWidthBuffer instead of it's own instance. * TextView.h and PoseView.h are now a little cleaner. * InterfaceDefs.cpp now deletes gWidthBuffer in _fini_interface_kit_(). * Added binary compatibility support for NetPositive in WidthBuffer.h and .cpp. Obviously it kind of defeats the purpose of having WidthBuffer neatly tucked away in the BPrivate namespace, but Haiku should run NetPositive, I guess. Fixes #2879. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28532 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -16,9 +16,6 @@ class BFile;
|
||||
class BList;
|
||||
class BMessageRunner;
|
||||
|
||||
extern "C" status_t _init_interface_kit_();
|
||||
|
||||
|
||||
struct text_run {
|
||||
int32 offset;
|
||||
BFont font;
|
||||
@@ -40,7 +37,6 @@ enum undo_state {
|
||||
};
|
||||
|
||||
namespace BPrivate {
|
||||
class WidthBuffer;
|
||||
class TextGapBuffer;
|
||||
} // namespace BPrivate
|
||||
|
||||
@@ -276,7 +272,6 @@ private:
|
||||
class TypingUndoBuffer;
|
||||
|
||||
friend class TextTrackState;
|
||||
friend status_t _init_interface_kit_();
|
||||
|
||||
virtual void _ReservedTextView3();
|
||||
virtual void _ReservedTextView4();
|
||||
@@ -417,8 +412,6 @@ private:
|
||||
LayoutData* fLayoutData;
|
||||
|
||||
uint32 _reserved[8];
|
||||
|
||||
static BPrivate::WidthBuffer* sWidths;
|
||||
};
|
||||
|
||||
#endif // _TEXTVIEW_H
|
||||
|
||||
Reference in New Issue
Block a user