mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-05 08:35:26 +00:00
30 lines
475 B
C++
30 lines
475 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();
|
|
CUrlField(LStream* inStream);
|
|
|
|
virtual ~CUrlField();
|
|
|
|
virtual Boolean HandleKeyPress(
|
|
const EventRecord &inKeyEvent);
|
|
|
|
virtual void ClickSelf(
|
|
const SMouseDownEvent &inMouseDown);
|
|
};
|