Home
last modified time | relevance | path

Searched refs:pivot (Results 1 – 8 of 8) sorted by relevance

/StarryEngine/starry_toolkit/src/widgets/
H A Dlabel.rs33 pivot: Cell<PivotType>, field
54 pivot: Cell::new(PivotType::TopLeft), in new()
120 pub fn set_text_pivot_type(&self, pivot: PivotType) { in set_text_pivot_type()
121 self.text_pivot.set(pivot); in set_text_pivot_type()
142 fn pivot(&self) -> &Cell<PivotType> { in pivot() method
143 &self.pivot in pivot()
H A Dimage.rs21 pivot: Cell<PivotType>, field
47 pivot: Cell::new(PivotType::TopLeft), in new_from_image()
102 fn pivot(&self) -> &Cell<PivotType> { in pivot() method
103 &self.pivot in pivot()
H A Dmod.rs55 fn pivot(&self) -> &Cell<PivotType>; in pivot() method
108 self.pivot().set(pivot_type); in set_pivot_type_base()
165 self.pivot().get(), in arrange_self_base()
/StarryEngine/starry_applications/src/asset_manager/code/
H A Dasset_item_list.rs22 pivot: Cell<PivotType>, field
40 pivot: Cell::new(PivotType::TopLeft), in new()
99 fn pivot(&self) -> &Cell<PivotType> { in pivot() method
100 &self.pivot in pivot()
H A Dasset_item_grid.rs27 pivot: Cell<PivotType>, field
46 pivot: Cell::new(PivotType::TopLeft), in new()
104 fn pivot(&self) -> &Cell<PivotType> { in pivot() method
105 &self.pivot in pivot()
/StarryEngine/starry_toolkit/src/util/
H A Dmod.rs21 pivot: PivotType, in align_rect()
24 let relative_pos = match pivot { in align_rect()
41 let offset_vec = match pivot { in align_rect()
/StarryEngine/starry_toolkit/src/layout/
H A Dlist.rs34 pivot: Cell<PivotType>, field
55 pivot: Cell::new(PivotType::TopLeft), in new()
188 fn pivot(&self) -> &Cell<PivotType> { in pivot() method
189 &self.pivot in pivot()
H A Dgrid.rs29 pivot: Cell<PivotType>, field
65 pivot: Cell::new(PivotType::TopLeft), in new()
259 fn pivot(&self) -> &Cell<PivotType> { in pivot() method
260 &self.pivot in pivot()