Commit History

Author SHA1 Message Date
  Michael Ragazzon a85be1e344 Dirty styles when attributes change 3 years ago
  Michael Ragazzon 82b6bcf246 Dirty siblings when ID, class or pseudo class is changed 3 years ago
  Michael Ragazzon 0727abc99a Add const overload to Element::GetAttribute 3 years ago
  Michael Ragazzon 4f578db6a3 Ensure selectors never match text elements 3 years ago
  Michael Ragazzon ce85ba7596 Add 'Rml::ReleaseFontResources()' which enables garbage collection of font resources 3 years ago
  Michael Ragazzon 8b7388ecdc Refactor ComputedValues to reduce memory usage. 3 years ago
  Michael Ragazzon bdf19658b8 Move Element members, make them more compact 3 years ago
  Michael Ragazzon aba05b4a8e Update style sheet index cache lookup for faster retrieval of element style definition, see #293. 3 years ago
  Michael Ragazzon 56d5c7a787 Copy over class names manually when cloning an element, fixes #264 3 years ago
  Michael Ragazzon a71f8a4470 Element offset now actually compares old values to new ones 4 years ago
  Michael Ragazzon 092a80a67c Minor refactoring in Element 4 years ago
  Michael Ragazzon 7824726c51 Implement flexbox layouting 4 years ago
  Michael Ragazzon 8a022972f4 Add 'clip: always' property value, make the clip property non-inherited. See #235. 4 years ago
  Michael Ragazzon aac830ef82 Fix an issue where some elements could end up rendered at the wrong offset after scrolling, see #230. 4 years ago
  Michael Ragazzon 36f76c22e8 Copy over inline style properties manually when cloning an element, see #218 4 years ago
  ZombieRaccoon 2b607b1602 Attach event listeners upon attribute changes 4 years ago
  Michael Ragazzon 04fb41fa0b Merge branch 'high_dpi' 4 years ago
  Michael Ragazzon 742894e123 Add a virtual method on elements for responding to recompilation of style sheets. Eg. new style sheets may change sprites, such as in decorators and img elements. 4 years ago
  Michael Ragazzon 74c5f02849 Add a cache for instanced decorators. Instance decorators during Context::Update. Allow dirtying only element data of decorators instead of a full reload. 4 years ago
  Michael Ragazzon 79fb3b5405 - Decorators and font effects are now parsed by separate property parsers. 4 years ago
  Dakror 947223b445 Add missing SetAttributes call when cloning Element 4 years ago
  Michael Ragazzon dc3d23dccc - Add a property 'resolution' to spritesheets, defines the "native" scaling of the image source. 5 years ago
  Michael Ragazzon 6247f3e297 Avoid style sheet copies during load, and only compile style sheet when active media blocks change. Cleanup. 4 years ago
  Maximilian Stark dd99820ecd Media queries (#169) 4 years ago
  Michael Ragazzon 4920cce455 Element::ScrollIntoView: Don't scroll in ancestors with hidden overflow 4 years ago
  Michael Ragazzon b50e8d192e Add label element 4 years ago
  Michael Ragazzon 3877e3dbad Remove unnecessary references in arguments. Add conversion between vector types. 4 years ago
  Maximilian Stark 48eda79d2c Added VH and VW units (#162) 4 years ago
  Maximilian Stark 15361e31c4 Element::Closest. Find element ancestor by selector (#164) 4 years ago
  Michael Ragazzon 57e40eb0f3 Refactor data bindings: Move model handle to 'DataModelHandle.h'. Move DataModel, DataView, and DataController to private headers. 5 years ago