Values for LAYOUT_BevelStyle [ SOLVED ]

4 posts / 0 new
Last post
Massi
Massi's picture
Offline
Last seen: 4 years 1 week ago
Joined: 2012-03-28 17:16
Values for LAYOUT_BevelStyle [ SOLVED ]

Hello,
I would like to know more about the following extract from SDK 53.20 file images/bevel.h :

/* New bevel styles for V50
*/
#define BVS_CONTAINER 12 /* Scroller container. */
#define BVS_KNOB 13 /* Scroller knob. */
#define BVS_DISPLAY 14 /* Read-only area. */

What are they for? How are they rendered?

Thanks, regards

thomas
thomas's picture
Offline
Last seen: 4 hours 8 min ago
Joined: 2011-05-16 14:23
They are surely not meant for

They are surely not meant for LAYOUT_BevelStyle but for bevel.image. Probably a new version of scroller.gadget now uses bevel.image to draw its appearance.

Massi
Massi's picture
Offline
Last seen: 4 years 1 week ago
Joined: 2012-03-28 17:16
From SDK 53.20 file

From SDK 53.20 file layout_gc.doc :

LAYOUT_BevelStyle (uint16)
The style of the bevel drawn around the group. This value is
passed to bevel.image.

Defaults to BVS_NONE.

Applicability is (OM_NEW, OM_SET, OM_UPDATE)

thomas
thomas's picture
Offline
Last seen: 4 hours 8 min ago
Joined: 2011-05-16 14:23
So what? bevel.image is a

So what?

bevel.image is a general purpose class for drawing bevels. You use BVS_GROUP, BVS_FIELD or BVS_NONE for groups and other styles for other gadgets.

Log in or register to post comments