Michael Ragazzon
|
ce949d2d5b
Refactor Property units and Box enums, and introduce NumericValue [breaking change]
|
2 years ago |
Michael Ragazzon
|
0bbd0193cb
Only allow a single render interface, remove the ability to set per-context render interfaces [breaking change]
|
2 years ago |
Michael Ragazzon
|
7492876298
The great formattening - format all library source code and documents
|
2 years ago |
Dominik Thalhammer
|
801b23945d
On-demand rendering (power saving mode) (#436)
|
2 years ago |
Michael Ragazzon
|
9e091dff46
Tweak smooth scrolling, smooth out the velocity when closing up on the scroll edge, stop the smooth scroll mode once the edge is reached
|
2 years ago |
Michael Ragazzon
|
75ab61fd9a
Propagate mouse wheel event outside context when there is nothing to scroll, see #433
|
2 years ago |
Michael Ragazzon
|
770ab8e1dd
Context::ProcessMouseWheel can now be scrolled in both dimensions
|
2 years ago |
Michael Ragazzon
|
3ea69d86bd
Make smooth scrolling behavior configurable for the context
|
2 years ago |
Michael Ragazzon
|
fad11329d6
Merge branch 'smooth_scroll'
|
2 years ago |
Eugene Kozlov
|
c50911b2af
Support explicit DataTypeRegister setup for DataModel. (#409)
|
2 years ago |
Michael Ragazzon
|
e206617ef0
Add Element::ScrollTo, with support for smooth scrolling behavior
|
2 years ago |
Michael Ragazzon
|
c8d746192c
Scroll behavior improvements
|
2 years ago |
Michael Ragazzon
|
675984fa15
Refactor auto-scroll and add smooth scrolling
|
2 years ago |
Michael Ragazzon
|
7db8563b9f
Autoscroll: Test if there is anything to scroll from here, before initiating autoscroll
|
2 years ago |
Michael Ragazzon
|
c501c5b549
Refactor autoscroll (scrolling with middle mouse button), enable two-axis scrolling, use quadratic velocity model with deadzone for improved feeling, see #422
|
2 years ago |
Igor Segalla
|
d129fb8066
Scrolling with middle mouse button (#423)
|
2 years ago |
Michael Ragazzon
|
942755b4f5
Replace C-cast with reinterpret_cast for pointers
|
3 years ago |
Michael Ragazzon
|
bd9fbd0955
Avoid unnecessary definition updates when adding or removing documents
|
3 years ago |
Michael Ragazzon
|
55e8a79bf7
Update hover states on 'Context::Update()'. Add 'Context::ProcessMouseLeave()' to remove hover states and prevent them from updating, see #220.
|
3 years ago |
Michael Ragazzon
|
8b7388ecdc
Refactor ComputedValues to reduce memory usage.
|
3 years ago |
Michael Ragazzon
|
e945973c7a
Drag clones are now positioned correctly when their ancestors use transforms, or when the cloned element uses auto- or percentage-margins. See #269.
|
3 years ago |
Michael Ragazzon
|
b9725c04d5
Override styles on the cursor proxy to avoid inheriting body decoration from the cloned element's document body
|
3 years ago |
Michael Ragazzon
|
f0b1a74520
On creating a drag clone, set the style sheet on clone proxy before appending, maybe resolves #191
|
4 years ago |
ZombieRaccoon
|
2b607b1602
Attach event listeners upon attribute changes
|
4 years ago |
Michael Ragazzon
|
001ef4c2e9
Make a public ElementDocument::GetStyleSheetContainer function.
|
4 years ago |
Michael Ragazzon
|
f9276da68a
Add a 'theme' media query for activating and deactivating media blocks
|
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
|
dc3d23dccc
- Add a property 'resolution' to spritesheets, defines the "native" scaling of the image source.
|
5 years ago |
Michael Ragazzon
|
f0a0480e9b
Sharing style sheet containers is dangerous, clean up accordingly.
|
4 years ago |
Maximilian Stark
|
dd99820ecd
Media queries (#169)
|
4 years ago |