Implement checkbox::Renderer in ggez example
This commit is contained in:
parent
ccb87b12da
commit
eb45c51a7b
4 changed files with 88 additions and 8 deletions
|
|
@ -1,4 +1,5 @@
|
|||
mod button;
|
||||
mod checkbox;
|
||||
mod text;
|
||||
|
||||
use ggez::graphics::{self, spritebatch::SpriteBatch, Color, Image};
|
||||
|
|
@ -18,6 +19,7 @@ impl Renderer<'_> {
|
|||
spritesheet,
|
||||
}
|
||||
}
|
||||
|
||||
pub fn flush(&mut self) {
|
||||
graphics::draw(
|
||||
self.context,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue