diff --git a/mrv2/lib/mrvWidgets/mrvIntInput.h b/mrv2/lib/mrvWidgets/mrvIntInput.h new file mode 100644 index 000000000..8efcf4b60 --- /dev/null +++ b/mrv2/lib/mrvWidgets/mrvIntInput.h @@ -0,0 +1,19 @@ +#pragma once + +#include + +namespace mrv +{ + class IntInput : public Fl_Int_Input + { + public: + IntInput(int X, int Y, int W, int H, const char* L = 0) : + Fl_Int_Input(X, Y, W, H, L) + { + labelsize(12); + color((Fl_Color)0xf98a8a800); + textcolor(FL_BLACK); + cursor_color(FL_RED); + } + }; +} // namespace mrv