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); BroadcastMessage(msg_EditField, this);
} }
#if 0
/***************************************************************************** /*****************************************************************************
* class CGAEditBroadcaster * class CEditBroadcaster
* LGAEditField that notifies listeners about its changes * LEditField that notifies listeners about its changes
*****************************************************************************/ *****************************************************************************/
CGAEditBroadcaster::CGAEditBroadcaster(LStream *inStream) CEditBroadcaster::CEditBroadcaster(LStream *inStream)
: LGAEditField(inStream) : LEditField(inStream)
{ {
} }
void CGAEditBroadcaster::UserChangedText() void CEditBroadcaster::UserChangedText()
{ {
BroadcastMessage(msg_EditField, this); BroadcastMessage(msg_EditField, this);
} }
void void
CGAEditBroadcaster::BroadcastValueMessage() CEditBroadcaster::BroadcastValueMessage()
{ {
BroadcastMessage(msg_EditField, this); BroadcastMessage(msg_EditField, this);
} }
#endif
/***************************************************************************** /*****************************************************************************
* class CTextEdit * class CTextEdit

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

@ -258,23 +258,27 @@ public:
void UserChangedText(); void UserChangedText();
}; };
#if 0
/***************************************************************************** /*****************************************************************************
* class CGAEditBroadcaster * class CEditBroadcaster
* LGAEditField that notifies listeners about its changes * LGAEditField that notifies listeners about its changes
*****************************************************************************/ *****************************************************************************/
class CGAEditBroadcaster : public LGAEditField class CEditBroadcaster : public LEditField
{ {
public: public:
// ¥¥ Constructors/destructors // ¥¥ Constructors/destructors
enum { class_ID = 'Gebr' }; enum { class_ID = 'Gebr' };
CGAEditBroadcaster(LStream *inStream); CEditBroadcaster(LStream *inStream);
// ¥¥ Misc // ¥¥ Misc
// Broadcast // Broadcast
void BroadcastValueMessage(); void BroadcastValueMessage();
void UserChangedText(); void UserChangedText();
}; };
#endif
/***************************************************************************** /*****************************************************************************
* class CTextEdit * 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; MenuHandle menu;
short count; short count;

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

@ -26,6 +26,7 @@
#include <LControl.h> #include <LControl.h>
#include <LPane.h> #include <LPane.h>
#include <LGAPopup.h> #include <LGAPopup.h>
#include <LPopupButton.h>
#include <Processes.h> #include <Processes.h>
#include "PascalString.h" #include "PascalString.h"
@ -172,7 +173,7 @@ void CreateMenuString( CStr255& itemName );
Handle TextHandleToHardLineBreaks(CSimpleTextView &inTextView); Handle TextHandleToHardLineBreaks(CSimpleTextView &inTextView);
// ¥Êsets the number of entries in popup to be shouldBe // ¥Ê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 SetMenuSizeForLGAPopup( LGAPopup* popup, short shouldBe );
void SetMenuItem( CommandT whichItem, Boolean toState ); void SetMenuItem( CommandT whichItem, Boolean toState );