mirror of
https://github.com/slint-ui/slint.git
synced 2025-09-27 20:42:25 +00:00
More naming cleanups
PathData::PathElements has one redundant "Path" in the name, so eliminate for Events and Elements.
This commit is contained in:
parent
7c4b12a0ce
commit
535da41ae0
5 changed files with 19 additions and 20 deletions
|
@ -18,7 +18,7 @@ public:
|
|||
|
||||
PathData() : data(Data::None()) { }
|
||||
PathData(const PathElement *firstElement, size_t count)
|
||||
: data(Data::SharedElements(elements_from_array(firstElement, count)))
|
||||
: data(Data::Elements(elements_from_array(firstElement, count)))
|
||||
{
|
||||
}
|
||||
|
||||
|
@ -46,7 +46,7 @@ private:
|
|||
SharedArray<Point> coordinates;
|
||||
sixtyfps_new_path_events(&events, &coordinates, firstEvent, event_count, firstCoordinate,
|
||||
coordinate_count);
|
||||
return Data::PathEvents(events, coordinates);
|
||||
return Data::Events(events, coordinates);
|
||||
}
|
||||
|
||||
using Data = internal::types::PathData;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue