This commit is contained in:
pinkerton 1998-05-27 17:27:50 +00:00
Родитель a5ca4df280
Коммит 787f6f1309
4 изменённых файлов: 18 добавлений и 11 удалений

Просмотреть файл

@ -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 );