Move color and x_opt out of Cursor
This commit is contained in:
parent
04d53ac5f4
commit
ae030e9885
12 changed files with 645 additions and 546 deletions
|
|
@ -95,8 +95,7 @@ fn main() {
|
|||
let bg = editor.background_color();
|
||||
window.set(orbclient::Color::rgb(bg.r(), bg.g(), bg.b()));
|
||||
|
||||
let fg = editor.foreground_color();
|
||||
editor.draw(&mut swash_cache, fg, |x, y, w, h, color| {
|
||||
editor.draw(&mut swash_cache, |x, y, w, h, color| {
|
||||
window.rect(
|
||||
line_x as i32 + x,
|
||||
y,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue