Ejemplo n.º 1
0
 internal Label(ILogger logger, Text text, ApplicationWindow applicationWindow, ICursorProvider cursorProvider)
 {
     this.logger            = logger;
     this.text              = text;
     this.applicationWindow = applicationWindow;
     this.cursorProvider    = cursorProvider;
 }
Ejemplo n.º 2
0
 internal Button(ILogger logger, ICursorProvider cursorProvider, ApplicationWindow applicationWindow, Text textElement)
 {
     this.logger            = logger;
     this.cursorProvider    = cursorProvider;
     this.applicationWindow = applicationWindow;
     this.textElement       = textElement;
 }
Ejemplo n.º 3
0
 internal Checkbox(ILogger logger, Image checkedImage, Image uncheckedImage, ApplicationWindow applicationWindow, ICursorProvider cursorProvider)
 {
     this.logger            = logger;
     this.checkedImage      = checkedImage;
     this.uncheckedImage    = uncheckedImage;
     this.applicationWindow = applicationWindow;
     this.cursorProvider    = cursorProvider;
 }
Ejemplo n.º 4
0
        internal TextField(ILogger logger, IKeyHelper keyHelper, ICursorProvider cursorProvider,
                           ApplicationWindow applicationWindow, Text text, Text tooltipText)
        {
            this.logger            = logger;
            this.keyHelper         = keyHelper;
            this.cursorProvider    = cursorProvider;
            this.applicationWindow = applicationWindow;
            this.text        = text;
            this.tooltipText = tooltipText;

            keyCallbacks.Add(Key.Left, leftKeyPressed);
            keyCallbacks.Add(Key.Right, rightKeyPressed);
            keyCallbacks.Add(Key.BackSpace, backspaceKeyPressed);
            keyCallbacks.Add(Key.Delete, deleteKeyPressed);
        }