December 30, 2012 Re: Awesomium D wrappers/bindings | ||||
---|---|---|---|---|
| ||||
Posted in reply to evilrat | doh.. now it inputs 2 char in a row, this is really stupid because i'm not sending anything but single char event |
December 30, 2012 Re: Awesomium D wrappers/bindings | ||||
---|---|---|---|---|
| ||||
Posted in reply to evilrat | i hate myself sometimes. figured out what the stuck is wrong. it was my raw input problems. so awesomium just need key down without text, and for text input one would need just set type and text fields. |
December 30, 2012 Re: Awesomium D wrappers/bindings | ||||
---|---|---|---|---|
| ||||
Posted in reply to evilrat | Am 30.12.2012 07:14, schrieb evilrat:
> i hate myself sometimes. figured out what the stuck is wrong. it was my raw input problems.
>
> so awesomium just need key down without text, and for text input one would need just set type and text fields.
And don't forget to set the wchar16 array to cast(wchar)0 otherwise it
will display garbage (it needs a terminator)
|
January 02, 2013 Re: Awesomium D wrappers/bindings | ||||
---|---|---|---|---|
| ||||
Posted in reply to David | i'm figured out why awesomium doesn't load on osx, they have wrong instruction on their wiki. i'll try to do D app project for xcode later.
i wish there be already existing template for this :(
On Sunday, 30 December 2012 at 10:41:22 UTC, David wrote:
> And don't forget to set the wchar16 array to cast(wchar)0 otherwise it
> will display garbage (it needs a terminator)
arrays initialized with nulls right? anyway just setting only first symbol in text field(it's wchar[4]) is enough.
|
January 02, 2013 Re: Awesomium D wrappers/bindings | ||||
---|---|---|---|---|
| ||||
Posted in reply to evilrat | Am 02.01.2013 08:48, schrieb evilrat:
> arrays initialized with nulls right? anyway just setting only first symbol in text field(it's wchar[4]) is enough.
>
Not wchar arrays:
import std.stdio;
void main() {
writefln("0x%x", wchar.init);
}
this prints: 0xffff
|
Copyright © 1999-2021 by the D Language Foundation