Commit Graph
6 Commits
Author SHA1 Message Date
itepechi 9289c2de69 Refactor background_image_anchor for cleaner code 2021-10-30 04:34:33 +09:00
itepechi dac1612cb0 Calculate background image position on the GPU 2021-10-30 04:34:33 +09:00
itepechi 87d79c7415 Change the naming of directions in option background_image_anchor for consistency
Replaced cardinal directions with "relative" directions.
2021-10-30 04:34:33 +09:00
itepechi 86d7aaa03a Add clamped to option background_image_layout 2021-10-30 04:34:33 +09:00
itepechi cae31ab336 Read/Write bganchor directly from the options' state
Slight performance improvement, maybe?
Also, `kitty/graphics.h` has been reverted to the original version;
this version would be better in that aspect too.
2021-10-30 04:34:32 +09:00
itepechi 2aa01c58a1 Add option background_image_anchor to configure bgimage position 2021-10-30 04:34:32 +09:00