On Tue, May 02, 2017 at 12:33:54PM +0100, Caolán McNamara
wrote:
> Yeah, bitmap names are now the id, so no collisions and no need to
> extend a .hrc block or dig around for a free slot.
Cool, thanks a lot. :-)
signature.asc
Description: Digital signature
On Tue, 2017-05-02 at 10:50 +0200, Miklos Vajna wrote:
> Hi,
>
> On Thu, Apr 27, 2017 at 02:40:26PM +0100, Caolán McNamara dhat.com> wrote:
> > tl;dr: To use a theme png in C++, add #define NAME "path/to/png" to
> > a .hlst and use BitmapEx foo(NAME)
>
> If I understand correctly,
Hi,
On Thu, Apr 27, 2017 at 02:40:26PM +0100, Caolán McNamara
wrote:
> tl;dr: To use a theme png in C++, add #define NAME "path/to/png" to a
> .hlst and use BitmapEx foo(NAME)
If I understand correctly, this is also means it's harder to get this
wrong, as you don't have to
> On 27 Apr 2017, at 11:40 pm, Caolán McNamara wrote:
>
> tl;dr: To use a theme png in C++, add #define NAME "path/to/png" to a
> .hlst and use BitmapEx foo(NAME)
Brilliant news, that really is great work Caolon!
Chris
___
tl;dr: To use a theme png in C++, add #define NAME "path/to/png" to a
.hlst and use BitmapEx foo(NAME)
Until recent changes, bitmap (png) resources were described by a define
to an arbitrary number in a .hrc with a body in a .src that contains
the file name within the theme hierarchy. The .src