From ad2faab27444c4f2e24e5bcde65898036a86767b Mon Sep 17 00:00:00 2001 From: patacongo Date: Mon, 1 Dec 2008 13:22:34 +0000 Subject: Add argument to window callbacks git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1366 42af7a65-404d-4744-a932-0658087f49c3 --- nuttx/graphics/nxbe/nxbe.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'nuttx/graphics/nxbe/nxbe.h') 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 ***********************************************************/ -- cgit v1.2.3