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
e772f3a6
Commit
e772f3a6
authored
27 years ago
by
Piers Wombwell
Browse files
Options
Download
Email Patches
Plain Diff
Changed slider look for Daytona
parent
cea5054f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
27 additions
and
5 deletions
+27
-5
h/style
h/style
+27
-5
No files found.
h/style
View file @
e772f3a6
...
...
@@ -19,6 +19,7 @@
* 07-Mar-94: CSM: Removed RJUSTIFY from label flags
* 13-Jun-94: NK : display fields now unfilled
* 06-Jun-97: PW : Added writable icons without borders for Daytona
* 24-Jun-97: PW : Changed slider look for Daytona
*/
#ifndef __style_h
...
...
@@ -213,10 +214,20 @@
)
#define style_DISPLAY_FIELD_VALIDSTR "R2;f17"
/* make sure colours are ok when we come to ff */
#ifdef DAYTONA_BUILD
#define style_SLIDER_BORDERSIZE 4
#define style_HSLIDER_WELL_BACKCOL 7
/* black */
#define style_HSLIDER_WELL_TYPE wimp_BUTTON_NEVER
#define style_HSLIDER_WELL_ICONFLAGS (wimp_ICONFLAGS_FILLED |\
(wimp_ICONFLAGS_BUTTON_TYPE * style_HSLIDER_WELL_TYPE) |\
(wimp_ICONFLAGS_BACKCOL * style_HSLIDER_WELL_BACKCOL)\
)
#define style_HSLIDER_WELL_VALIDSTR ""
#else
/* DAYTONA_BUILD */
#define style_SLIDER_BORDERSIZE 12
//#define style_HSLIDER_HEIGHT 40 /* OS Units */
#define style_HSLIDER_HEIGHT 40
/* OS Units */
#define style_HSLIDER_WELL_HEIGHT 40
/* OS Units */
//#define style_HSLIDER_WELL_HEIGHT 40 /* OS Units */
#define style_HSLIDER_WELL_BACKCOL 1
/* v. light grey */
#define style_HSLIDER_WELL_TYPE wimp_BUTTON_NEVER
#define style_HSLIDER_WELL_ICONFLAGS (wimp_ICONFLAGS_HAS_BORDER |\
...
...
@@ -226,6 +237,7 @@
(wimp_ICONFLAGS_BACKCOL * style_HSLIDER_WELL_BACKCOL)\
)
#define style_HSLIDER_WELL_VALIDSTR "R2"
#endif
/* DAYTONA_BUILD */
#define style_HSLIDER_BACKGND_HEIGHT 16
/* OS Units */
#define style_HSLIDER_BACKGND_BACKCOL 0
/* white */
...
...
@@ -243,9 +255,18 @@
(wimp_ICONFLAGS_BACKCOL * style_HSLIDER_VALUE_BACKCOL)\
)
#define style_VSLIDER_WIDTH 20
/* OS Units */
//
#define style_VSLIDER_WIDTH 20 /* OS Units */
#define style_VSLIDER_WELL_WIDTH 20
/* OS Units */
//#define style_VSLIDER_WELL_WIDTH 20 /* OS Units */
#ifdef DAYTONA_BUILD
#define style_VSLIDER_WELL_BACKCOL 7
/* black */
#define style_VSLIDER_WELL_TYPE wimp_BUTTON_NEVER
#define style_VSLIDER_WELL_ICONFLAGS (wimp_ICONFLAGS_FILLED |\
(wimp_ICONFLAGS_BUTTON_TYPE * style_HSLIDER_WELL_TYPE) |\
(wimp_ICONFLAGS_BACKCOL * style_HSLIDER_WELL_BACKCOL)\
)
#define style_VSLIDER_WELL_VALIDSTR ""
#else
/* DAYTONA_BUILD */
#define style_VSLIDER_WELL_BACKCOL 1
/* v. light grey */
#define style_VSLIDER_WELL_TYPE wimp_BUTTON_NEVER
#define style_VSLIDER_WELL_ICONFLAGS (wimp_ICONFLAGS_HAS_BORDER |\
...
...
@@ -255,6 +276,7 @@
(wimp_ICONFLAGS_BACKCOL * style_VSLIDER_WELL_BACKCOL)\
)
#define style_VSLIDER_WELL_VALIDSTR "R2"
#endif
/* DAYTONA_BUILD */
#define style_VSLIDER_BACKGND_WIDTH 16
/* OS Units */
#define style_VSLIDER_BACKGND_BACKCOL 0
/* white */
...
...
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