Update input.cpp

Basic classes for widgets