зеркало из https://github.com/mozilla/pjs.git
removal of LGA* stuff
This commit is contained in:
Родитель
a5ca4df280
Коммит
787f6f1309
|
@ -784,26 +784,28 @@ void CEditBroadcaster::UserChangedText()
|
|||
BroadcastMessage(msg_EditField, this);
|
||||
}
|
||||
|
||||
#if 0
|
||||
/*****************************************************************************
|
||||
* class CGAEditBroadcaster
|
||||
* LGAEditField that notifies listeners about its changes
|
||||
* class CEditBroadcaster
|
||||
* LEditField that notifies listeners about its changes
|
||||
*****************************************************************************/
|
||||
|
||||
CGAEditBroadcaster::CGAEditBroadcaster(LStream *inStream)
|
||||
: LGAEditField(inStream)
|
||||
CEditBroadcaster::CEditBroadcaster(LStream *inStream)
|
||||
: LEditField(inStream)
|
||||
{
|
||||
}
|
||||
|
||||
void CGAEditBroadcaster::UserChangedText()
|
||||
void CEditBroadcaster::UserChangedText()
|
||||
{
|
||||
BroadcastMessage(msg_EditField, this);
|
||||
}
|
||||
|
||||
void
|
||||
CGAEditBroadcaster::BroadcastValueMessage()
|
||||
CEditBroadcaster::BroadcastValueMessage()
|
||||
{
|
||||
BroadcastMessage(msg_EditField, this);
|
||||
}
|
||||
#endif
|
||||
|
||||
/*****************************************************************************
|
||||
* class CTextEdit
|
||||
|
|
|
@ -258,23 +258,27 @@ public:
|
|||
void UserChangedText();
|
||||
};
|
||||
|
||||
|
||||
#if 0
|
||||
/*****************************************************************************
|
||||
* class CGAEditBroadcaster
|
||||
* class CEditBroadcaster
|
||||
* LGAEditField that notifies listeners about its changes
|
||||
*****************************************************************************/
|
||||
class CGAEditBroadcaster : public LGAEditField
|
||||
class CEditBroadcaster : public LEditField
|
||||
{
|
||||
public:
|
||||
|
||||
// ¥¥ Constructors/destructors
|
||||
enum { class_ID = 'Gebr' };
|
||||
CGAEditBroadcaster(LStream *inStream);
|
||||
CEditBroadcaster(LStream *inStream);
|
||||
|
||||
// ¥¥ Misc
|
||||
// Broadcast
|
||||
void BroadcastValueMessage();
|
||||
void UserChangedText();
|
||||
};
|
||||
#endif
|
||||
|
||||
|
||||
/*****************************************************************************
|
||||
* class CTextEdit
|
||||
|
|
|
@ -511,7 +511,7 @@ void * StructCopy(const void * struc, UInt32 size)
|
|||
}
|
||||
|
||||
|
||||
void SetMenuSize( LStdPopupMenu* popup, short shouldBe )
|
||||
void SetMenuSize( LPopupButton* popup, short shouldBe )
|
||||
{
|
||||
MenuHandle menu;
|
||||
short count;
|
||||
|
|
|
@ -26,6 +26,7 @@
|
|||
#include <LControl.h>
|
||||
#include <LPane.h>
|
||||
#include <LGAPopup.h>
|
||||
#include <LPopupButton.h>
|
||||
#include <Processes.h>
|
||||
|
||||
#include "PascalString.h"
|
||||
|
@ -172,7 +173,7 @@ void CreateMenuString( CStr255& itemName );
|
|||
Handle TextHandleToHardLineBreaks(CSimpleTextView &inTextView);
|
||||
|
||||
// ¥Êsets the number of entries in popup to be shouldBe
|
||||
void SetMenuSize( LStdPopupMenu* popup, short shouldBe );
|
||||
void SetMenuSize( LPopupButton* popup, short shouldBe );
|
||||
void SetMenuSizeForLGAPopup( LGAPopup* popup, short shouldBe );
|
||||
|
||||
void SetMenuItem( CommandT whichItem, Boolean toState );
|
||||
|
|
Загрузка…
Ссылка в новой задаче