diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2008-12-01 13:22:34 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2008-12-01 13:22:34 +0000 |
commit | ad2faab27444c4f2e24e5bcde65898036a86767b (patch) | |
tree | 532459fbfda124d5b0b781ba52a3900cdf215231 /nuttx/graphics/nxbe | |
parent | fb34a4488c575b10b465ef59cd72a568079330ce (diff) | |
download | px4-nuttx-ad2faab27444c4f2e24e5bcde65898036a86767b.tar.gz px4-nuttx-ad2faab27444c4f2e24e5bcde65898036a86767b.tar.bz2 px4-nuttx-ad2faab27444c4f2e24e5bcde65898036a86767b.zip |
Add argument to window callbacks
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1366 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/graphics/nxbe')
-rw-r--r-- | nuttx/graphics/nxbe/nxbe.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/nuttx/graphics/nxbe/nxbe.h b/nuttx/graphics/nxbe/nxbe.h index 5f5e14b76..b07da6793 100644 --- a/nuttx/graphics/nxbe/nxbe.h +++ b/nuttx/graphics/nxbe/nxbe.h @@ -142,9 +142,14 @@ struct nxbe_window_s FAR struct nxbe_window_s *above; /* The window "above" this window */ FAR struct nxbe_window_s *below; /* The window "below this one */ + /* Window geometry */ struct nxgl_rect_s bounds; /* The bounding rectangle of window */ struct nxgl_point_s origin; /* The position of the top-left corner of the window */ + + /* Client state information this is provide in window callbacks */ + + FAR void *arg; }; /* Back-end state ***********************************************************/ |