コード例 #1
0
 public DOM_Renderer()
 {
     gameRenderer = this;
     document = HtmlContext.document;
     window = HtmlContext.window;
     Game.Renderer = this;
 }
コード例 #2
0
ファイル: jsUtils.cs プロジェクト: mgerasika/gam-gam
 public string getSelectedText(Window wnd)
 {
     string text = "";
     if (wnd.As<JsObject>()["getSelection"] != null) {
         text = wnd.getSelection().toString();
     }
     else {
         JsObject selection = wnd.document.As<JsObject>()["selection"].As<JsObject>();
         if (selection != null && (selection["type"] != "Control")) {
             JsFunction fn = selection["createRange"].As<JsFunction>();
             text = fn.call().As<JsObject>()["text"].As<JsString>();
         }
     }
     return text;
 }
コード例 #3
0
ファイル: Manager.cs プロジェクト: fjgandrade/sharpkit
		/// <summary>
		/// <para>Creates a new instance of the event handler.</para>
		/// </summary>
		/// <param name="win">The DOM window this manager handles the events for</param>
		/// <param name="registration">The event registration to use</param>
		public Manager(Window win, qx.eventx.Registration registration) { throw new NotImplementedException(); }
コード例 #4
0
 public void setCommandWindow(Window commandWindow) { }
コード例 #5
0
ファイル: Element.cs プロジェクト: hultqvist/SharpKit-SDK
		public static qx.html.Element GetHelperElement(Window win) { throw new NotImplementedException(); }
コード例 #6
0
ファイル: Element.cs プロジェクト: hultqvist/SharpKit-SDK
		public static qx.html.Element Create(string name, object attributes, Window win) { throw new NotImplementedException(); }
コード例 #7
0
ファイル: Element.cs プロジェクト: hultqvist/SharpKit-SDK
		public static bool IsInDom(qx.html.Element element, Window win) { throw new NotImplementedException(); }
コード例 #8
0
 public void initCompositionEvent(string typeArg, bool canBubbleArg, bool cancelableArg, Window viewArg, string dataArg)
 {
 }
コード例 #9
0
ファイル: TouchEvent.cs プロジェクト: fjgandrade/sharpkit
	public  void initTouchEvent(TouchList touches, TouchList targetTouches, TouchList changedTouches, string type, Window view, int screenX, int screenY, int clientX, int clientY, bool ctrlKey, bool altKey, bool shiftKey, bool metaKey) {}
コード例 #10
0
ファイル: TextEvent.cs プロジェクト: hultqvist/SharpKit-SDK
	public  void initTextEvent(string typeArg, bool canBubbleArg, bool cancelableArg, Window viewArg, string dataArg) {}
コード例 #11
0
ファイル: KeyboardEvent.cs プロジェクト: fjgandrade/sharpkit
	public  void initKeyboardEvent(string type, bool canBubble, bool cancelable, Window view, string keyIdentifier, int keyLocation, bool ctrlKey, bool altKey, bool shiftKey, bool metaKey, bool altGraphKey) {}
コード例 #12
0
ファイル: appmobi-4.0.0.cs プロジェクト: fjgandrade/sharpkit
 public void Remove(Window target, TouchEventType touchEventType, TouchEventCallback listener, bool useCapture = false) { }
コード例 #13
0
	public  void initMessageEvent(string typeArg, bool canBubbleArg, bool cancelableArg, object dataArg, string originArg, string lastEventIdArg, Window sourceArg, Array messagePorts) {}
コード例 #14
0
	public  void initCompositionEvent(string typeArg, bool canBubbleArg, bool cancelableArg, Window viewArg, string dataArg) {}
コード例 #15
0
ファイル: Execution.cs プロジェクト: DisruptionTheory/WebDE
 /// <summary>
 /// Delay this execution for the specefied number of seconds.
 /// </summary>
 /// <param name="seconds">The number of seconds to delay the execution.</param>
 public void Delay(int seconds, Window window)
 {
     delayed = true;
     window.setTimeout(unDelay, seconds * 1000);
 }
コード例 #16
0
ファイル: WheelEvent.cs プロジェクト: fjgandrade/sharpkit
	public  void initWebKitWheelEvent(int wheelDeltaX, int wheelDeltaY, Window view, int screenX, int screenY, int clientX, int clientY, bool ctrlKey, bool altKey, bool shiftKey, bool metaKey) {}
コード例 #17
0
ファイル: UIEvent.cs プロジェクト: fjgandrade/sharpkit
	public  void initUIEvent(string type, bool canBubble, bool cancelable, Window view, int detail) {}
コード例 #18
0
ファイル: raphael.cs プロジェクト: fjgandrade/sharpkit
 /// <summary>
 /// Used when you need to draw in <iframe>. Switched window to the iframe one.
 /// </summary>
 /// <param name="newwin">new window object</param>
 public void setWindow(Window newwin) { }
コード例 #19
0
ファイル: MouseEvent.cs プロジェクト: fjgandrade/sharpkit
	public  void initMouseEvent(string type, bool canBubble, bool cancelable, Window view, int detail, int screenX, int screenY, int clientX, int clientY, bool ctrlKey, bool altKey, bool shiftKey, bool metaKey, int button, EventTarget relatedTarget) {}
コード例 #20
0
		public static void Register(Window element) { throw new NotImplementedException(); }