bunnie
421a3814d8
clean up some warnings before moving on to further integration
2022-01-02 15:07:48 +08:00
Sean Cross
88b63916e4
graphics-server: run rustfmt
...
Signed-off-by: Sean Cross <sean@xobs.io>
2021-08-16 22:52:06 +08:00
bunnie
17be958d87
convert defacement to an XOR
...
this ensures that "all back" dialog boxes that are fake
are also defaced (as opposed to just drawing black, which
would not deface a "fake" dialog box).
2021-07-29 22:13:44 +08:00
Andrew
a68b24ab9c
#41 : Stop iterator when y exceeds one pixel beyond quadrant bounds.
2021-05-09 12:45:24 -07:00
bunnie
a9a7ac435f
add support for rounded rectangle text bubbles and dynamic sizing
...
this makes more more natural chat-style text bubble interactions
2021-03-10 00:25:14 +08:00
bunnie
0cc1f9f5fb
it doesn't look that impressive, but there's a lot of plumbing now.
2021-03-06 01:10:18 +08:00
bunnie
313f12acbb
clean up warnings
2021-03-03 22:38:20 +08:00
bunnie
bee1f796ee
add rounded rectangle drawing
2021-03-01 01:49:22 +08:00
Sean Cross
7d9fdb9c0d
services: graphics: fix unused import warnings in op
...
Signed-off-by: Sean Cross <sean@xobs.io>
2021-02-17 20:52:23 +08:00
bunnie
cc6992c3df
implement "imports" methodology
...
This commit simplifies managing git-repo hosted dependencies, so
there is a single location for changing the package path.
2021-01-20 16:22:38 +08:00
bunnie
f247e557e8
now to the point of testing the general message flow in hosted mode
2021-01-19 18:58:57 +08:00
bunnie
ec675eefb4
cleanup warnings
2021-01-05 04:45:23 +08:00
Sean Cross
7b50d00eb8
repo: run cargo fmt
...
This reformats line endings to be consistent, and reinforces the
contents of `.gitattributes`.
Signed-off-by: Sean Cross <sean@xobs.io>
2021-01-03 18:31:51 +08:00
bunnie
bcb52f1a59
eliminate unused code
2020-12-03 23:58:26 +08:00
bunnie
c0842517f6
major refactor of the graphics-server API
...
- remove redundant Rect/Rectangle implementations
- refactor Lines and Circles
- add DrawStyle to the message passing regimen
- depracate modal Styles; now every object has a DrawStyle shipped with it
- remove unused/redundant API calls
2020-12-03 01:48:10 +08:00
bunnie
5cd1bf7012
incorporate blitstr for string drawing
2020-11-28 02:05:55 +08:00
bunnie
c05153b5af
add dirty bit set to put_pixel()
2020-11-27 17:21:31 +08:00
bunnie
7ba75b14f9
add ability to render strings on multiple lines
2020-11-27 03:33:44 +08:00
Sean Cross
0732075869
graphics-server: bounds-check the circle drawing
...
Otherwise we could overflow the buffer.
Signed-off-by: Sean Cross <sean@xobs.io>
2020-11-23 19:31:52 +08:00
bunnie
d26c80582e
clean up gfx server API, allow for string size setting
2020-11-23 15:42:58 +08:00
bunnie
2d5bd20c16
bouncing ball "招财猫"-like totem now working
2020-11-23 03:18:43 +08:00
bunnie
16e9f43015
add circle drawing to graphics
2020-11-23 00:40:40 +08:00
Sean Cross
af1a7f5ba5
graphics-server: first general merge of gfxlib
...
Signed-off-by: Sean Cross <sean@xobs.io>
2020-10-30 10:22:03 +08:00