Back to index

lightning-sunbird  0.9+nobinonly
CUrlField.h
Go to the documentation of this file.
00001 
00002 #include <LEditText.h>
00003 
00004 
00005 // CUrlField:
00006 // A text edit field that broadcasts its PaneID on Return or Enter.
00007 
00008 
00009 
00010 class CUrlField : public LEditText
00011 {
00012 private:
00013        typedef LEditText Inherited;
00014 
00015 public:
00016        enum { class_ID = FOUR_CHAR_CODE('UrlF') };
00017 
00018 
00019                                           CUrlField(LStream*   inStream);
00020 
00021        virtual                            ~CUrlField();
00022 
00023        virtual Boolean             HandleKeyPress(
00024                                                         const EventRecord    &inKeyEvent);
00025 
00026        virtual void         ClickSelf(
00027                                                         const SMouseDownEvent       &inMouseDown);
00028 };