There is this item in SDK:Include/include_h/gadgets/layout.h:
#define LAYOUT_LabelColumn (LAYOUT_Dummy+34)
/* (ULONG) LABELTEXT_LEFT or LABELTEXT_RIGHT, the side where object
labels are placed in a vertical group. */
I can't find LABELTEXT_LEFT or LABELTEXT_RIGHT defined anywhere in the SDK. Can someone tell me what the values should be and add them to the SDK?
Missing definitions
Missing definitions
AmigaOne X1000 with 2GB memory - OS4.1 FE
- tonyw
- AmigaOS Core Developer
- Posts: 1479
- Joined: Wed Mar 09, 2011 1:36 pm
- Location: Sydney, Australia
Re: Missing definitions
Can't find those macro names anywhere so I suspect they are typos.
Have you tried using these values (from the end of layout.h) :
#define LALIGN_LEFT 0
#define LALIGN_RIGHT 1
#define LALIGN_CENTER 2
Have you tried using these values (from the end of layout.h) :
#define LALIGN_LEFT 0
#define LALIGN_RIGHT 1
#define LALIGN_CENTER 2
cheers
tony
tony
- salass00
- AmigaOS Core Developer
- Posts: 530
- Joined: Sat Jun 18, 2011 3:12 pm
- Location: Finland
- Contact:
Re: Missing definitions
The correct names are PLACETEXT_LEFT and PLACETEXT_RIGHT and they are mentioned in the autodoc (the defines themselves are in <libraries/gadtools.h>).xenic wrote:There is this item in SDK:Include/include_h/gadgets/layout.h:
#define LAYOUT_LabelColumn (LAYOUT_Dummy+34)
/* (ULONG) LABELTEXT_LEFT or LABELTEXT_RIGHT, the side where object
labels are placed in a vertical group. */
I can't find LABELTEXT_LEFT or LABELTEXT_RIGHT defined anywhere in the SDK. Can someone tell me what the values should be and add them to the SDK?
Re: Missing definitions
Good to know. However, my primary reason for reporting problems here is to get them corrected in the SDK. The note in the LAYOUT_LabelColumn item in SDK:Include/include_h/gadgets/layout.h needs to be corrected to match the autodoc. Will you or Tony correct it?salass00 wrote: The correct names are PLACETEXT_LEFT and PLACETEXT_RIGHT and they are mentioned in the autodoc (the defines themselves are in <libraries/gadtools.h>).
AmigaOne X1000 with 2GB memory - OS4.1 FE
- salass00
- AmigaOS Core Developer
- Posts: 530
- Joined: Sat Jun 18, 2011 3:12 pm
- Location: Finland
- Contact:
Re: Missing definitions
@xenic
I corrected the header file comment just after posting and committed it to the source repo.
I corrected the header file comment just after posting and committed it to the source repo.
Re: Missing definitions
Thanks.salass00 wrote:@xenic
I corrected the header file comment just after posting and committed it to the source repo.
AmigaOne X1000 with 2GB memory - OS4.1 FE