зеркало из 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);
|
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 );
|
||||||
|
|
Загрузка…
Ссылка в новой задаче