Searched refs:wrap_to_pct (Results 1 – 9 of 9) sorted by relevance
/dports/games/abstreet/abstreet-0.2.9-49-g74aca40c0/game/src/ |
H A D | cutscene.rs | 211 scenes[idx].msg.clone().wrap_to_pct(ctx, 30).draw(ctx), in make_panel() 223 scenes[idx].msg.clone().wrap_to_pct(ctx, 30).draw(ctx), in make_panel() 243 scenes[idx].msg.clone().wrap_to_pct(ctx, 30).draw(ctx), in make_panel()
|
H A D | pregame.rs | 275 .wrap_to_pct(ctx, 50) in new() 347 txt.wrap_to_pct(ctx, 70) in new()
|
/dports/games/abstreet/abstreet-0.2.9-49-g74aca40c0/game/src/layer/ |
H A D | traffic.rs | 79 .wrap_to_pct(ctx, 15) in new() 176 .wrap_to_pct(ctx, 15) in new() 533 .wrap_to_pct(ctx, 15) in new()
|
/dports/games/abstreet/abstreet-0.2.9-49-g74aca40c0/game/src/edit/ |
H A D | zones.rs | 217 .wrap_to_pct(ctx, 30) in make_instructions()
|
/dports/games/abstreet/abstreet-0.2.9-49-g74aca40c0/game/src/sandbox/gameplay/ |
H A D | play_scenario.rs | 178 .wrap_to_pct(ctx, 50) in new()
|
H A D | tutorial.rs | 815 txt.wrap_to_pct(ctx, 30).draw(ctx) in make_state()
|
/dports/games/abstreet/abstreet-0.2.9-49-g74aca40c0/game/src/common/ |
H A D | colors.rs | 109 Text::from(Line(label)).wrap_to_pct(ctx, 35).draw(ctx), in row()
|
/dports/games/abstreet/abstreet-0.2.9-49-g74aca40c0/game/src/info/ |
H A D | bus.rs | 171 .wrap_to_pct(ctx, 20) in route()
|
/dports/games/abstreet/abstreet-0.2.9-49-g74aca40c0/widgetry/src/ |
H A D | text.rs | 348 pub fn wrap_to_pct(self, ctx: &EventCtx, pct: usize) -> Text { in wrap_to_pct() method
|