mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-15 08:30:02 +00:00
commit that shows the bug fixed
This commit is contained in:
parent
307df04e8b
commit
685f36af41
1 changed files with 2 additions and 1 deletions
|
|
@ -62,7 +62,6 @@ pub struct TextView {
|
|||
pub dry_run: bool, // set to true if no drawing is desired and we just want to compute the bounds
|
||||
|
||||
pub style: GlyphStyle,
|
||||
pub text: xous::String::<3072>,
|
||||
pub cursor: Cursor,
|
||||
pub insertion: Option<i32>, // this is the insertion point offset, if it's to be drawn, on the string
|
||||
pub ellipsis: bool,
|
||||
|
|
@ -78,6 +77,8 @@ pub struct TextView {
|
|||
|
||||
canvas: Gid, // GID of the canvas to draw on
|
||||
pub clip_rect: Option<Rectangle>, // this is set by the GAM to the canvas' clip_rect; needed by gfx for drawing. Note this is in screen coordinates.
|
||||
|
||||
pub text: xous::String::<3072>,
|
||||
}
|
||||
impl TextView {
|
||||
pub fn new(canvas: Gid, bounds_hint: TextBounds) -> Self {
|
||||
|
|
|
|||
Loading…
Reference in a new issue