mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-15 08:30:02 +00:00
futzing with structures to try and figure out a threading issue
This commit is contained in:
parent
ca07645dce
commit
db5e56fd1a
1 changed files with 2 additions and 3 deletions
|
|
@ -49,6 +49,8 @@ pub struct TextView {
|
|||
// this is the operation as specified for the GAM. Note this is different from the "op" when sent to graphics-server
|
||||
// only the GAM should be sending TextViews to the graphics-server, and a different coding scheme is used for that link.
|
||||
operation: TextOp,
|
||||
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 untrusted: bool, // render content with random stipples to indicate the strings within are untrusted
|
||||
pub token: Option<[u32; 4]>, // optional 128-bit token which is presented to prove a field's trustability
|
||||
|
|
@ -75,9 +77,6 @@ pub struct TextView {
|
|||
// this field specifies the beginning and end of a "selected" region of text
|
||||
pub selected: Option<[u32; 2]>,
|
||||
|
||||
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 {
|
||||
|
|
|
|||
Loading…
Reference in a new issue