Home
last modified time | relevance | path

Searched refs:set (Results 1 – 10 of 10) sorted by relevance

/StarryEngine/starry_toolkit/src/layout/
H A Dgrid.rs91 self.upper_limit.set(columns); in set_upper_limit()
96 self.arrange_type.set(arrange_type); in set_arrange_type()
125 self.current_column.set(self.current_column.get() + 1); in move_index()
128 self.current_row.set(self.current_row.get() + 1); in move_index()
129 self.current_column.set(0); in move_index()
133 self.current_row.set(self.current_row.get() + 1); in move_index()
136 self.current_column.set(self.current_column.get() + 1); in move_index()
137 self.current_row.set(0); in move_index()
157 self.space_x.set(x); in set_space()
158 self.space_y.set(y); in set_space()
[all …]
H A Dlist.rs75 self.arrange_type.set(arrange_type); in set_arrange_type()
80 self.space.set(space); in set_space()
92 self.current_index.set(res + 1); in add_element()
235 self.focused_id.set(Some(index)); in focus()
/StarryEngine/starry_toolkit/src/widgets/
H A Dlabel.rs99 self.text_rect.set(Rect::new( in handle_overflow()
106 self.text_rect.set(align_rect( in handle_overflow()
115 self.adapt_type.set(adapt_type); in set_adapt_type()
121 self.text_pivot.set(pivot); in set_text_pivot_type()
201 self.text_rect.set(align_rect( in set_pivot_type()
212 self.text_rect.set(align_rect( in set_pivot_offset()
229 self.text_rect.set(align_rect( in arrange_self()
249 self.text_color.set(color); in set_text_color()
H A Dmod.rs108 self.pivot().set(pivot_type); in set_pivot_type_base()
118 self.pivot_offset().set(pivot_offset); in set_pivot_offset_base()
131 self.rect().set(rect); in resize_base()
169 self.rect().set(target_rect); in arrange_self_base()
/StarryEngine/starry_server/src/core/
H A Dwindow_manager.rs122 self.next_id.set(self.next_id.get() + 1); in window_new()
125 self.next_id.set(1); in window_new()
258 self.cursor_i.set(kind); in update_cursor()
259 self.cursor_x.set(x); in update_cursor()
260 self.cursor_y.set(y); in update_cursor()
/StarryEngine/starry_toolkit/src/base/
H A Dpanel.rs191 self.renderer_mode.set(renderer_mode); in set_renderer_mode()
196 self.running.set(false); in close()
312 self.redraw.set(false); in draw_if_needed()
/StarryEngine/starry_applications/src/asset_manager/code/
H A Dmod.rs154 redraw.set(true); in init_grid()
219 grid.focused_id.set(Some((0, 0))); in refresh_grid()
H A Dasset_item_list.rs121 self.cache_focused.set(focused); in draw()
H A Dasset_item_grid.rs126 self.cache_focused.set(focused); in draw()
/StarryEngine/starry_client/src/base/
H A Drenderer.rs499 fn set(&mut self, color: Color) { in set() method
512 self.set(Color::rgb(0, 0, 0)); in clear()