Created an attachment (id=14330) Adds unformatted text.
This patch adds very simple code to output text with TxDraw and measure it's size using TxGetNaturalSize.
This is sufficient to get a bare bones working version of Google Talk.
Setting the default character formatting still needs to be done and I'm working on that now.
It is a long way from actually rendering richtext, but at least you can see something when loading google talk.
I've combined the old patch (which defines a variable where the current text is stored) into this patch. They need to be together.
The patch applies to git at commit dd01d39f3b8.
Created an attachment (id=14330)
Adds unformatted text.
This patch adds very simple code to output text with TxDraw and measure it's size using TxGetNaturalSize.
This is sufficient to get a bare bones working version of Google Talk.
Setting the default character formatting still needs to be done and I'm working on that now.
It is a long way from actually rendering richtext, but at least you can see something when loading google talk.
I've combined the old patch (which defines a variable where the current text is stored) into this patch. They need to be together.
The patch applies to git at commit dd01d39f3b8.