Our new official repo is on github
LCD Smartie version 5.6 is released!
Download it now: https://github.com/LCD-Smartie/LCDSmartie/releases

easy create of custom chars

General discussion about LCD Smartie.

Moderators: _X7JAY7X_, caesar, IFR, mattcro, limbo, Fast351

Post Reply
manio
Posts: 1
Joined: April 21st, 2005, 7:38 pm
Location: Poland
Contact:

easy create of custom chars

Post by manio »

Hello
I've write some piece of code, that allows to easily create a custom char.
It's written in MASM32 (only 6kB :)) as a DLL with one exported function
here's the prototype:

CustomCharDlg (HINSTANCE hInst, char *pBuff)
The first parameter is a instance handler, passed to a dialog box and the second is a buffer for output string (generated CustomChar code).
The passed buffer address MUST pointing to a string which is at least 39 bytes long. The function displays a dialog, where a CustomChar can be easily drawn, then if user click 'Insert' the passed buffer is filled with a customchar code, otherwise if user closes the dialogbox or click Cancel the zero is written to the first byte of buffer.

Image

It would be very nice is someone implements it in Smartie :)
Of course i can provide a source code of this DLL if there is such need.

The DLL and a simple demo application which use the DLL is at:
http://tresjazz.pl/customchar.zip
The demo app is holding the buffer for string and just calls the dll's function, after that it shows the result string in a MessageBox.

regards
limbo
Plugin Author
Posts: 1604
Joined: February 13th, 2005, 7:38 pm
Location: Athens - Greece
Contact:

Post by limbo »

Great job keep on
It would be very nice is someone implements it in Smartie
I think there is already a solution (program and plugin) by IFR.


However your skills is still needed here. STAY TUNED! :)
IFR
Plugin Author
Posts: 201
Joined: April 6th, 2005, 12:59 am
Location: Canada
Contact:

Post by IFR »

yeah we need your skill !!! 8)
Post Reply