Commit History

Auteur SHA1 Bericht Datum
  Yao Wei Tjong 姚伟忠 3897718a40 Handle corner case: soft-cursor is invisible + OS-cursor is visible. 11 jaren geleden
  Lasse Öörni 8945322476 Fix spelling: ClipBoard -> Clipboard. Use the system clipboard by default in the editor. 11 jaren geleden
  Lasse Öörni 18217a0fdd Added UI hover start/end events. 11 jaren geleden
  Lasse Öörni f45976832d Send event when drag is cancelled. 11 jaren geleden
  Chris Friesen eb565b81ad Escape cancels ui dragging 11 jaren geleden
  Lasse Öörni abc6fcd8b8 Shader precaching mechanism. Call Graphics::BeginDumpShaders() or use the engine command line parameter -ds <file> to create a shader dump file of the variations that are loaded during program run, and Graphics::PrecacheShaders() to load the dump file. 12 jaren geleden
  Lasse Öörni 47836474e2 Variant pointer refactoring. Variant can now hold a weak pointer to a RefCounted object, which is safer, and is returned using GetPtr(). Engine events have been converted to use that mechanism. GetPtr() is also directly available in AngelScript, as well as assigning a RefCounted or derived class handle to a Variant. 12 jaren geleden
  Lasse Öörni 07f06563bc Optimized Renderer::GetShader() so that caching shader variation pointers becomes unnecessary for the most part. 12 jaren geleden
  Lasse Öörni ea334e4393 Merge branch 'master' into shader-refactor 12 jaren geleden
  Lasse Öörni 6d5ddc23e0 Bump the copyright for 2014. 12 jaren geleden
  Lasse Öörni e0f391b0fc Started shader refactoring. 12 jaren geleden
  Lasse Öörni 76292ef63e Centralize allocation of event data variant maps to Context to avoid constant dynamic memory allocation. 12 jaren geleden
  Lasse Öörni d2a7173e5f Reset UI cursor shape during BeginFrame event, which allows custom logic to set it per frame. Apply OS cursor shape only once during UI rendering to avoid flicker (and potential loss of performance) 12 jaren geleden
  Yao Wei Tjong 姚伟忠 1a6970dcf2 Prevent message box crashes due to corrupted or missing data dir. 12 jaren geleden
  Lasse Öörni d1bbe45515 Added SDL on-screen keyboard support. 12 jaren geleden
  Lasse Öörni 7f061206dc Add the byKey parameter to script bindings of SetFocusElement(). 12 jaren geleden
  reattiva 8f38b4b702 Move the focus backwards with SHIFT+TAB. 12 jaren geleden
  reattiva 6e9a0fb715 Select all the text when moving focus on a line edit by TAB key. 12 jaren geleden
  Lasse Öörni 358d9c2849 Added default tooltip delay to UI, which will be used if the tooltip's own delay is zero. Use seconds for tooltip delay to match eg. the doubleclick interval. Removed layout from the editor's tooltip root element to prevent it resizing in unwanted fashion. 12 jaren geleden
  Lasse Öörni 5b8f5e290b Normalize name of tooltip class to ToolTip to match the filename. 12 jaren geleden
  Alex Parlett 70322b5c85 Added the Tooltip UI Element which will display when its parent element is hovered over for the specified delay period. 12 jaren geleden
  Lasse Öörni 5fa9116be1 Drag-related code cleanup. 12 jaren geleden
  Lasse Öörni 0d7d4826e5 Add pixel & time threshold for sending a drag begin UI event. Closes #65. Removed code duplication between mouse & touch hover. 12 jaren geleden
  Lasse Öörni dc0533e1ae Fix forceAutoHint_ being uninitialized. 12 jaren geleden
  Lasse Öörni 840d50ce0d Allow to force FreeType autohinting (old 2.3 version behavior.) Reload font faces when global font settings changed. 12 jaren geleden
  Lasse Öörni 267523a738 Adapted Aster Jian's mutable glyph mechanism. Globally switchable on from the UI subsystem. Configurable font texture max size in UI subsystem. 12 jaren geleden
  Lasse Öörni b2d356ad5e Allow using the operating system clipboard in UI. 12 jaren geleden
  Lasse Öörni 04bf45e463 Added support for SDL_DROPFILE event. Input system sends event with filename only, and UI subsystem interprets that to include the element that was dropped onto. The UI variant of the event is only posted when the OS mouse cursor is visible (such as in the editor.) 12 jaren geleden
  Lasse Öörni 1eae2e13ab Split UIElement::OnClick() to OnClickBegin() & OnClickEnd(), added global UIMouseClickEnd event, cleaned up Button & CheckBox click handling, based on Chris Friesen's work. 12 jaren geleden
  Lasse Öörni c8a1bc96d7 Refactor UI to not duplicate code for touch and mouse handling. 12 jaren geleden