mirror of
https://git.libcamera.org/libcamera/libcamera.git
synced 2025-07-23 00:25:07 +03:00
libcamera: geometry: Rename Rectangle fields
The Rectangle class members that represents the rectangle horizontal and vertical sizes are named 'w' and 'h', in contrast with the Size and SizeRange classes which use 'width' and 'height', resulting in having to look at class definition every time to know which names to use. Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Jacopo Mondi <jacopo@jmondi.org>
This commit is contained in:
parent
66a1928a0a
commit
96653be728
5 changed files with 16 additions and 16 deletions
|
@ -15,8 +15,8 @@ namespace libcamera {
|
|||
struct Rectangle {
|
||||
int x;
|
||||
int y;
|
||||
unsigned int w;
|
||||
unsigned int h;
|
||||
unsigned int width;
|
||||
unsigned int height;
|
||||
|
||||
const std::string toString() const;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue