One step to cmd line implementation

This commit is contained in:
daa84
2017-11-23 17:57:39 +03:00
parent 519c279c8d
commit d6aa19510c
5 changed files with 240 additions and 88 deletions

View File

@@ -15,9 +15,9 @@ use cursor;
use pangocairo::CairoContextExt;
use ui_model;
pub fn render(
pub fn render<RC: cursor::CursorRedrawCb + 'static>(
ctx: &cairo::Context,
cursor: &cursor::Cursor,
cursor: &cursor::Cursor<RC>,
font_ctx: &context::Context,
ui_model: &ui_model::UiModel,
color_model: &color::ColorModel,