mirror of
https://github.com/rn10950/RetroZilla.git
synced 2024-11-10 18:00:15 +01:00
29 lines
456 B
C
29 lines
456 B
C
|
|
||
|
#include <LEditText.h>
|
||
|
|
||
|
|
||
|
// CUrlField:
|
||
|
// A text edit field that broadcasts its PaneID on Return or Enter.
|
||
|
|
||
|
|
||
|
|
||
|
class CUrlField : public LEditText
|
||
|
{
|
||
|
private:
|
||
|
typedef LEditText Inherited;
|
||
|
|
||
|
public:
|
||
|
enum { class_ID = FOUR_CHAR_CODE('UrlF') };
|
||
|
|
||
|
|
||
|
CUrlField(LStream* inStream);
|
||
|
|
||
|
virtual ~CUrlField();
|
||
|
|
||
|
virtual Boolean HandleKeyPress(
|
||
|
const EventRecord &inKeyEvent);
|
||
|
|
||
|
virtual void ClickSelf(
|
||
|
const SMouseDownEvent &inMouseDown);
|
||
|
};
|