darkfi
|
b340ebf197
wallet: chatview upscale text depending on window_scale
|
1 year ago |
darkfi
|
ee7f415231
wallet: updated chatview to new backends
|
1 year ago |
darkfi
|
752a085513
wallet: make Point copy and allow Point arithmetic.
|
2 years ago |
darkfi
|
735c7709dd
wallet: replace eval_rect()/read_rect() with PropertyRect wrapper
|
2 years ago |
darkfi
|
00f936b316
wallet: move draw() methods into UIObject trait
|
2 years ago |
darkfi
|
f6ba337563
wallet: migrate internal APIs to use Point struct everywhere
|
2 years ago |
darkfi
|
4a0d6ce8f4
wallet: finish migration for handle_(mouse_btn_down|mouse_btn_up|mouse_move|mouse_wheel|touch)
|
2 years ago |
darkfi
|
fac6250fb7
wallet: migrate to handle_key_up/down()
|
2 years ago |
darkfi
|
c9a9726c93
wallet: migrate to using handle_char() through the tree
|
2 years ago |
darkfi
|
0ada742edb
wallet: fix 2 small chatview bugs, first is a typo from last commit, second is actually check is_select_mode when its modified after long hold
|
2 years ago |
darkfi
|
6d576e4c03
wallet/schema: add toolbar showing channel name
|
2 years ago |
darkfi
|
3dbde3dd9a
wallet: chatview select lines using touch (long hold) or mouse
|
2 years ago |
darkfi
|
f0f3a9907e
wallet: chatview ignore touch events scrolling when outside
|
2 years ago |
darkfi
|
9d4bd99e55
wallet: chatview fix occassional random scroll stops. it would happen when the previous sample was too close to the last sample due to using a ringbuffer with a fixed number of samples. Now we instead use VecDeque and drop old samples based off time instead of buffer size.
|
2 years ago |
darkfi
|
8c7bbd2513
wallet: rename chatview::mouse_* props to chatview::* and remove mouse_scroll_decel since it isn't used anymore.
|
2 years ago |
darkfi
|
d3b0f38ed7
wallet: defer allocs in async code. we use an internal hashmap and generate random IDs rather than waiting for GL to wake up and provide us with them.
|
2 years ago |
darkfi
|
abf78bea1f
wallet: small changes:
|
2 years ago |
darkfi
|
8ec930df92
wallet: speed up scroll speed for chatview android
|
2 years ago |
darkfi
|
ad5334826f
wallet: chatview scrolling good enough (for now), simplify algo to just be speed oriented.
|
2 years ago |
darkfi
|
780d239e15
wallet: chatview temporary finger scrolling impl
|
2 years ago |
darkfi
|
73076d45fc
wallet: chatview fix cutoff at the top in android ;)
|
2 years ago |
darkfi
|
65393c2430
wallet: chatview fix insert_line() method
|
2 years ago |
darkfi
|
355d8a6a65
wallet: chatview avoid redrawing() when bgloader loads messages that aren't visible onscreen.
|
2 years ago |
darkfi
|
2e4bdcd7e0
wallet: chatview cleanup bg loader and make small fixes
|
2 years ago |
darkfi
|
8265976cfc
wallet: chatview store properties directly in MessageBuffer which simplifies function signatures
|
2 years ago |
darkfi
|
ee4ec7fc4c
wallet: chatview use generator for messages to correctly insert date msgs
|
2 years ago |
darkfi
|
1f313d2380
wallet: editbox, add a little extra spacing when lines end in whitespace. This is because the glyph for space has nearly 0 width at the end of lines.
|
2 years ago |
darkfi
|
305b99cf29
wallet: chatview prevent touch updates if already in progress
|
2 years ago |
darkfi
|
5fdb7b786d
wallet: chatview optimize gen_mesh() to actually load missing meshes from cache and also avoid drawing too often.
|
2 years ago |
darkfi
|
eac775accf
wallet: chatview only send draw calls for visible meshes
|
2 years ago |