BUTTON_AutoButton
BUTTON_AutoButton
Could you add BAG_POPDATE to the list of built-in BUTTON_AutoButton images? A calendar image of some sort.
Workbench Explorer - A better way to browse drawers
- salass00
- AmigaOS Core Developer
- Posts: 530
- Joined: Sat Jun 18, 2011 3:12 pm
- Location: Finland
- Contact:
Re: BUTTON_AutoButton
There's a BAG_POPTIME. Have you tried using that?
Re: BUTTON_AutoButton
That's what I am using; calendar just more accurate for what the gadget is for. I will probably switch to a PNG image down the road. Just asked for completeness.
Workbench Explorer - A better way to browse drawers
- salass00
- AmigaOS Core Developer
- Posts: 530
- Joined: Sat Jun 18, 2011 3:12 pm
- Location: Finland
- Contact:
Re: BUTTON_AutoButton
A requirement for BAG_POPDATE is that support for GLYPH_POPDATE and an appropriate DrawList based vector image would need to be added to glyph.image first. I'd do it but I'm not sure if I can make a calendar image that will be recognisable as such.
Re: BUTTON_AutoButton
A small grid with the last line missing the last couple of squares would probably do it.salass00 wrote:A requirement for BAG_POPDATE is that support for GLYPH_POPDATE and an appropriate DrawList based vector image would need to be added to glyph.image first. I'd do it but I'm not sure if I can make a calendar image that will be recognisable as such.
- salass00
- AmigaOS Core Developer
- Posts: 530
- Joined: Sat Jun 18, 2011 3:12 pm
- Location: Finland
- Contact:
Re: BUTTON_AutoButton
First attempt:chris wrote: A small grid with the last line missing the last couple of squares would probably do it.
Good enough?
Re: BUTTON_AutoButton
Fits perfectly to the other buttons, if i were asked
People are dying.
Entire ecosystems are collapsing.
We are in the beginning of a mass extinction.
And all you can talk about is money and fairytales of eternal economic growth.
How dare you!
– Greta Thunberg
Entire ecosystems are collapsing.
We are in the beginning of a mass extinction.
And all you can talk about is money and fairytales of eternal economic growth.
How dare you!
– Greta Thunberg
Re: BUTTON_AutoButton
Nice work!
Is it possible to lock aspect ratio to avoid enlargement of the glyph inside the button?
The best would to allow to use custom graphics (vector or bitmap)!
regards,
Is it possible to lock aspect ratio to avoid enlargement of the glyph inside the button?
The best would to allow to use custom graphics (vector or bitmap)!
regards,
Re: BUTTON_AutoButton
Petrol wrote:Is it possible to lock aspect ratio to avoid enlargement of the glyph inside the button?
Code: Select all
CHILD_WeightedHeight, 0,
CHILD_WeightedWidth, 0,
/.../
The Rear Window blog
AmigaOne X5000 @ 2GHz / 4GB RAM / Radeon RX 560 / ESI Juli@ / AmigaOS 4.1 Final Edition
SAM440ep-flex @ 667MHz / 1GB RAM / Radeon 9250 / AmigaOS 4.1 Final Edition
AmigaOne X5000 @ 2GHz / 4GB RAM / Radeon RX 560 / ESI Juli@ / AmigaOS 4.1 Final Edition
SAM440ep-flex @ 667MHz / 1GB RAM / Radeon 9250 / AmigaOS 4.1 Final Edition