Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
RiscOS
S
Sources
Toolbox
tboxlib
Commits
6dab7a05
Commit
6dab7a05
authored
28 years ago
by
Piers Wombwell
Browse files
Options
Download
Email Patches
Plain Diff
Added support for nested windows.
Changed ActionButton style slightly so fonts can be used.
parent
93275ac1
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
3 deletions
+13
-3
h/style
h/style
+1
-1
h/twimp
h/twimp
+12
-2
No files found.
h/style
View file @
6dab7a05
...
...
@@ -100,7 +100,7 @@
(wimp_ICONFLAGS_FORECOL * style_ACTION_BUTTON_FORECOL) |\
(wimp_ICONFLAGS_BACKCOL * style_ACTION_BUTTON_BACKCOL)\
)
#define style_ACTION_BUTTON_VALIDSTR "R5,3"
#define style_ACTION_BUTTON_VALIDSTR "R5,3
;f17
"
#define style_DEFAULT_ACTION_HEIGHT 68
/* OS Units */
...
...
This diff is collapsed.
Click to expand it.
h/twimp
View file @
6dab7a05
...
...
@@ -15,7 +15,8 @@
/* Title: wimp.h
* Purpose: C interface to RISC OS Wimp routines.
* Author: IDJ
* History: 16-Sep-93: created
* History: 16-Sep-93: IDJ: created
* 25-Nov-96: EPW: Updated structures for nested window support
*/
# ifndef __wimp_h
...
...
@@ -308,9 +309,18 @@ typedef struct
int
scx
,
scy
;
/* scroll offsets */
int
behind
;
/* handle to open window behind */
}
wimp_OpenWindow
;
typedef
struct
{
int
window_handle
;
/* handle of window to open */
wimp_Bbox
visible_area
;
/* visible area coords */
int
scx
,
scy
;
/* scroll offsets */
int
behind
;
/* handle to open window behind */
/* The following requires nested window support in the Wimp */
int
window_flags
;
}
wimp_NestedOpenWindow
;
#define wimp_OpenWindow_TopOfStack (-1)
#define wimp_OpenWindow_BottomOfStack (-2)
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment