]> git.tdb.fi Git - libs/gltk.git/blobdiff - source/entry.cpp
Change State into a bitmask to allow more fine-grained control of styles
[libs/gltk.git] / source / entry.cpp
index 7e503b3dbc0e960b8c04397dc27b0ff14e640436..9f7c761802f5de84af3e77a764788f929865cf7c 100644 (file)
@@ -57,18 +57,6 @@ void Entry::key_press(unsigned key, unsigned, wchar_t ch)
        }
 }
 
-void Entry::focus_in()
-{
-       if(state!=DISABLED)
-               state=ACTIVE;
-}
-
-void Entry::focus_out()
-{
-       if(state==ACTIVE)
-               state=NORMAL;
-}
-
 void Entry::render_special(const Part &part) const
 {
        if(part.get_name()=="text")