Search found 444 matches

by pjde
Sun Nov 25, 2018 12:08 am
Forum: Graphics
Topic: Converting PNG files to cursors.
Replies: 9
Views: 5861

Re: Converting PNG files to cursors.

Github updated with the new API.

Have also added extra image readers so will now handle GIF and bitmap images.

Regards

Paul
by pjde
Sat Nov 24, 2018 11:40 pm
Forum: Graphics
Topic: Converting PNG files to cursors.
Replies: 9
Views: 5861

Re: Converting PNG files to cursors.

Good to know.

I must of based mine on an old Mouse example.

Will update the program to use these.

Regards

Paul
by pjde
Sat Nov 24, 2018 9:28 pm
Forum: Graphics
Topic: Converting PNG files to cursors.
Replies: 9
Views: 5861

Re: Converting PNG files to cursors.

Have added another example at https://github.com/pjde-ultibo/png2cursor which allows one to load an arbitrarily sized png as a cursor.

By adding the appropriate FPReadXXX to the uses clause allows other file formats to be used.

Regards

Paul
by pjde
Sat Nov 24, 2018 12:39 am
Forum: Graphics
Topic: Converting PNG files to cursors.
Replies: 9
Views: 5861

Re: Converting PNG files to cursors.

Can do. Should be attached.

It was written in Delphi XE and requires the Drag and Drop Component from http://melander.dk/

Enjoy

Paul
by pjde
Wed Nov 21, 2018 11:21 pm
Forum: Graphics
Topic: Converting PNG files to cursors.
Replies: 9
Views: 5861

Converting PNG files to cursors.

Greetings All

I have been experimenting with mouse cursors and have created a program to convert a 32x32 PNG image into code that can be imported into your Ultibo project.

I have uploaded it to https://github.com/pjde-ultibo/png2cursor for others to use.

Regards

Paul
by pjde
Wed Nov 21, 2018 8:24 pm
Forum: General
Topic: Shift State
Replies: 4
Views: 708

Re: Shift State

Thanks Piotr

I will try it out.

Regards

Paul
by pjde
Wed Nov 21, 2018 3:45 am
Forum: General
Topic: Shift State
Replies: 4
Views: 708

Shift State

Hi Garry I am trying to translate some Delphi VCL code over to Ultibo and are currrently working on the OnMouseDown events. I have most of it working but am coming a bit stuck on trying to read the keyboard modifiers (e.g. Alt, Ctrl, Shift). My test code currently is kb := KeyboardDeviceFindByDescri...
by pjde
Sun Nov 18, 2018 7:46 pm
Forum: General
Topic: UTF8
Replies: 2
Views: 447

Re: UTF8

Thanks Garry

The functions I need seem to be in the lazutf8 module.

Regards

Paul
by pjde
Fri Nov 16, 2018 11:20 pm
Forum: General
Topic: UTF8
Replies: 2
Views: 447

UTF8

Hi Garry

I may have asked this question before but can't seem to find any reference on the forum.

Where are the UTF8 functions located?

Regards

Paul
by pjde
Wed Nov 14, 2018 6:32 am
Forum: Graphics
Topic: New Graphic Canvas
Replies: 4
Views: 5339

New Graphic Canvas

Greetings All

I have been experimenting with adding image support to my Ultibo Canvas. It utilises the standard FPImage components and can scale and render PNG, JPEG, BMP, GIF, TGA, PCX and PSD format images.

It resides at https://github.com/pjde-ultibo/Canvas

Enjoy

Paul

Go to advanced search