Files
esphome-dev/esphome/components
NP v/d Spek 8cf26d6f3c Add Clipping to displaybuffer (#4271)
* adding Clipping support to the displaybuffer
- add rect structure

* removed unused define

* add missing property for storing the clipped areas

* include log header

* Move Rect method's code to cpp file
- removed obsolete remarks

* fixed reported issues

* make Rect class methods public

* clang fix

* Remove commented code

* Renaming clipping methods

* Multiple changes:
- replaced 32766 with VALUE_NO_SET
- fixed the way *_clipping(left, top, right, bottom) is stored
- add `is_clipping();`
- make sure that all clipped region are closed after `do_update_()`
- rename de parameters for `Rect::expand();`

* remove unneeded space

* replace define with static const uint8_t

* correcting my copy paste mistake

---------

Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2023-02-13 11:54:26 +13:00
..
2022-10-19 17:06:22 +13:00
2022-11-24 13:12:55 +13:00
2023-01-26 17:20:45 +13:00
2022-02-18 09:14:10 +13:00
2022-11-24 13:12:55 +13:00
2022-11-24 13:12:55 +13:00
2022-11-24 13:12:55 +13:00
2022-08-31 13:43:46 +12:00
2022-11-24 13:12:55 +13:00
2022-11-24 13:12:55 +13:00
2022-11-24 13:12:55 +13:00
2023-01-17 10:36:44 +13:00
2022-08-11 13:57:42 +12:00
2023-01-18 10:42:43 +13:00
2022-11-24 13:12:55 +13:00
2022-11-24 13:12:55 +13:00
2022-12-06 23:25:19 +13:00
2022-11-24 13:12:55 +13:00
2022-11-24 13:12:55 +13:00
2022-11-24 13:12:55 +13:00
2023-01-18 10:42:47 +13:00
2022-11-24 13:12:55 +13:00
2023-02-09 07:30:00 +13:00
2022-11-24 13:12:55 +13:00
2022-11-24 13:12:55 +13:00
2022-11-24 13:12:55 +13:00
2022-01-08 21:35:55 +13:00
2023-02-09 10:25:44 +13:00
2022-11-24 13:12:55 +13:00
2022-11-24 13:12:55 +13:00
2022-02-21 12:23:26 +13:00
2022-11-24 13:22:04 +13:00
2022-11-24 13:12:55 +13:00
2022-12-06 23:25:19 +13:00
2022-11-24 13:12:55 +13:00
2022-12-22 18:39:25 +13:00
2022-12-23 12:33:31 +13:00
2022-11-24 13:12:55 +13:00
2022-11-24 13:12:55 +13:00
2022-11-24 13:12:55 +13:00
2022-11-24 13:12:55 +13:00
2022-01-04 10:35:15 +13:00
2022-11-24 13:12:55 +13:00
2022-11-24 13:12:55 +13:00
2022-11-24 13:12:55 +13:00
2022-11-24 13:12:55 +13:00
2022-08-31 13:43:46 +12:00
2022-11-24 13:12:55 +13:00
2021-09-26 21:34:06 +13:00
2021-09-26 21:34:06 +13:00
2021-09-26 21:34:06 +13:00
2022-08-31 13:43:46 +12:00
2022-11-24 13:12:55 +13:00
2022-06-07 22:43:46 +12:00
2022-11-24 13:12:55 +13:00
2022-10-05 20:09:27 +13:00
2022-09-06 12:57:21 +12:00
2022-04-13 10:19:48 +12:00
2022-05-19 12:47:33 +12:00
2022-04-13 10:19:48 +12:00
2022-08-31 13:43:46 +12:00
2023-02-03 07:53:46 +13:00
2022-10-28 12:33:15 +13:00
2022-04-26 09:50:36 +12:00
2022-04-13 10:19:48 +12:00
2022-11-24 13:12:55 +13:00
2023-01-18 10:43:16 +13:00
2022-11-24 13:12:55 +13:00
2022-11-24 13:12:55 +13:00
2022-11-24 13:12:55 +13:00
2022-11-24 13:12:55 +13:00
2022-11-24 13:12:55 +13:00
2023-01-18 10:17:31 +13:00
2022-11-24 13:12:55 +13:00
2022-11-24 13:12:55 +13:00
2022-11-24 13:12:55 +13:00
2022-09-14 16:51:20 +12:00
2023-02-07 12:17:17 +13:00
2022-01-23 00:13:46 +13:00
2022-10-19 13:44:26 +13:00
2022-11-24 13:12:55 +13:00