コード例 #1
0
        public SoftKeyboardDisplayStateManager(GuiWidget content, RGBA_Bytes backgroundColor)
        {
            this.content = content;
            AnchorAll();
            AddChild(content);

            keyboard = new SoftKeyboard(800, 300);
            keyboard.BackgroundColor = backgroundColor;
            AddChild(keyboard);
            keyboard.Visible = false;

            TextEditWidget.ShowSoftwareKeyboard += DoShowSoftwareKeyboard;
            TextEditWidget.HideSoftwareKeyboard += DoHideSoftwareKeyboard;
        }
コード例 #2
0
ファイル: SoftKeyboard.cs プロジェクト: eriser/agg-sharp
		public SoftKeyboardDisplayStateManager(GuiWidget content, RGBA_Bytes backgroundColor)
		{
			this.content = content;
			AnchorAll();
			AddChild(content);

			keyboard = new SoftKeyboard(800, 300);
			keyboard.BackgroundColor = backgroundColor;
			AddChild(keyboard);
			keyboard.Visible = false;

			TextEditWidget.ShowSoftwareKeyboard += DoShowSoftwareKeyboard;
			TextEditWidget.HideSoftwareKeyboard += DoHideSoftwareKeyboard;
		}