Removed commented-out int8 hack
Tested undocumented functions and removed Erik's TODO items git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7589 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -36,9 +36,6 @@
|
|||||||
#include <Alert.h>
|
#include <Alert.h>
|
||||||
#include <Bitmap.h>
|
#include <Bitmap.h>
|
||||||
#include <Button.h>
|
#include <Button.h>
|
||||||
// TODO: Fix
|
|
||||||
// This is hacked in because something in Accelerant.h or SupportDefs.h is lame!
|
|
||||||
//typedef unsigned int uint;
|
|
||||||
#include <Screen.h>
|
#include <Screen.h>
|
||||||
#include <TextView.h>
|
#include <TextView.h>
|
||||||
#include <View.h>
|
#include <View.h>
|
||||||
@@ -360,8 +357,8 @@ void BAlert::MessageReceived(BMessage* msg)
|
|||||||
//------------------------------------------------------------------------------
|
//------------------------------------------------------------------------------
|
||||||
void BAlert::FrameResized(float new_width, float new_height)
|
void BAlert::FrameResized(float new_width, float new_height)
|
||||||
{
|
{
|
||||||
// Nothing in documentation; will have to test
|
// DW: BAlerts are, by nature, not resizable. Do nothing.
|
||||||
// TODO: Implement?
|
|
||||||
BWindow::FrameResized(new_width, new_height);
|
BWindow::FrameResized(new_width, new_height);
|
||||||
}
|
}
|
||||||
//------------------------------------------------------------------------------
|
//------------------------------------------------------------------------------
|
||||||
@@ -383,36 +380,31 @@ BHandler* BAlert::ResolveSpecifier(BMessage* msg, int32 index,
|
|||||||
BMessage* specifier, int32 form,
|
BMessage* specifier, int32 form,
|
||||||
const char* property)
|
const char* property)
|
||||||
{
|
{
|
||||||
// Nothing in documentation; will have to test
|
// DW: Undocumented. A disassembly reveals that it calls the BWindow version
|
||||||
// TODO: Implement?
|
|
||||||
return BWindow::ResolveSpecifier(msg, index, specifier, form, property);
|
return BWindow::ResolveSpecifier(msg, index, specifier, form, property);
|
||||||
}
|
}
|
||||||
//------------------------------------------------------------------------------
|
//------------------------------------------------------------------------------
|
||||||
status_t BAlert::GetSupportedSuites(BMessage* data)
|
status_t BAlert::GetSupportedSuites(BMessage* data)
|
||||||
{
|
{
|
||||||
// Nothing in documentation; will have to test
|
// DW: Undocumented, but testing reveals that it calls the BWindow version
|
||||||
// TODO: Implement?
|
|
||||||
return BWindow::GetSupportedSuites(data);
|
return BWindow::GetSupportedSuites(data);
|
||||||
}
|
}
|
||||||
//------------------------------------------------------------------------------
|
//------------------------------------------------------------------------------
|
||||||
void BAlert::DispatchMessage(BMessage* msg, BHandler* handler)
|
void BAlert::DispatchMessage(BMessage* msg, BHandler* handler)
|
||||||
{
|
{
|
||||||
// Nothing in documentation; will have to test
|
// DW: Undocumented. A disassembly reveals that it calls the BWindow version
|
||||||
// TODO: Implement?
|
|
||||||
BWindow::DispatchMessage(msg, handler);
|
BWindow::DispatchMessage(msg, handler);
|
||||||
}
|
}
|
||||||
//------------------------------------------------------------------------------
|
//------------------------------------------------------------------------------
|
||||||
void BAlert::Quit()
|
void BAlert::Quit()
|
||||||
{
|
{
|
||||||
// Nothing in documentation; will have to test
|
// DW: Undocumented. A disassembly reveals that it calls the BWindow version
|
||||||
// TODO: Implement?
|
|
||||||
BWindow::Quit();
|
BWindow::Quit();
|
||||||
}
|
}
|
||||||
//------------------------------------------------------------------------------
|
//------------------------------------------------------------------------------
|
||||||
bool BAlert::QuitRequested()
|
bool BAlert::QuitRequested()
|
||||||
{
|
{
|
||||||
// Nothing in documentation; will have to test
|
// DW: Undocumented. A disassembly reveals that it calls the BWindow version
|
||||||
// TODO: Implement?
|
|
||||||
return BWindow::QuitRequested();
|
return BWindow::QuitRequested();
|
||||||
}
|
}
|
||||||
//------------------------------------------------------------------------------
|
//------------------------------------------------------------------------------
|
||||||
|
|||||||
Reference in New Issue
Block a user