Marko Pintera
|
df62820663
Starting work on scroll bars
|
12 anni fa |
Marko Pintera
|
73ff6dc3c4
Removed GUILayoutEntry and made spaces derived from GUIElementBase
|
12 anni fa |
Marko Pintera
|
6d4bed822a
Added a common base for GUILayout and GUIElement
|
12 anni fa |
Marko Pintera
|
14540bb162
Text bounds no longer rely on clipped visual bounds
|
12 anni fa |
Marko Pintera
|
269c01c4e7
Added ability to update offset/clip rect without recreating entire GUIElement mesh
|
12 anni fa |
Marko Pintera
|
5c3a22457a
Moved input caret & selection on GUIManager
|
12 anni fa |
Marko Pintera
|
62637a6704
Finished up input selection (for now)
|
12 anni fa |
Marko Pintera
|
daadca5313
|
12 anni fa |
Marko Pintera
|
8776c7feb6
Moving selection up/down works again
|
12 anni fa |
Marko Pintera
|
d061edaa9d
Fixed issues with selection offset and general clipping issue
|
12 anni fa |
Marko Pintera
|
1699c2482c
Lots more refactoring
|
12 anni fa |
Marko Pintera
|
8a1783131f
Added a common class for input caret and input selection
|
12 anni fa |
Marko Pintera
|
e0458aed61
Moved caret related sprite methods from TextSprite to INputCaret
|
12 anni fa |
Marko Pintera
|
9bd30df1a8
Moved sprite offset/clip rect to fillBuffer
|
12 anni fa |
Marko Pintera
|
b5b886dc7e
More refactoring of input selection
|
12 anni fa |
Marko Pintera
|
df3532e71c
More input selection refactoring
|
12 anni fa |
Marko Pintera
|
6b2ccea5b3
Refactored text vertex generation into a separate method
|
12 anni fa |
Marko Pintera
|
573a51bee5
Draggable selection works
|
12 anni fa |
Marko Pintera
|
2b03ac0342
Fixed an issue where selection rectangles were incorrectly positioned at newline chars
|
12 anni fa |
Marko Pintera
|
c898475a4a
Move caret properly when adding/removing a line due to word wrap
|
12 anni fa |
Marko Pintera
|
da5a9ba908
Various input caret fixes
|
12 anni fa |
Marko Pintera
|
53331c8848
Some fixes with caret positioning so the text doesn't scroll if just the caret is out of bounds
|
12 anni fa |
Marko Pintera
|
d68636c4da
Fixing caret/selection so it work with word wrap properly
|
12 anni fa |
Marko Pintera
|
634c5d54de
Fixed an issue with word wrap and long words
|
12 anni fa |
Marko Pintera
|
df595f3d8b
Selection up/down working
|
12 anni fa |
Marko Pintera
|
82b3735032
Refactored selection even more
|
12 anni fa |
Marko Pintera
|
2716b1c7bd
Refactored selection code a bit
|
12 anni fa |
Marko Pintera
|
c6ea86fb84
Selection rect now has proper clipping
|
12 anni fa |
Marko Pintera
|
f6fd612e32
Selection seems to be fully working (I REALLY hope so)
|
12 anni fa |
Marko Pintera
|
ea6b8bdada
Selection seems to be working even for empty lines
|
12 anni fa |