Closed sumo961 closed 8 years ago
Ill have to double check the other issues, though i dont remember them being issues (although im using a mac vm so not sure if that could be related).
However, as you mentioned i have noticed the DC stuff not working at all on mac / linux, which ive been meaning to take another look at. Unfortunately time isnt my friend at the moment.
Thanks.
One thing - are you using WXwidgets 3.0.2 or 3.1?
Another thing - could some things be ported over from the waxe project? I think you're approach is quite different how you make the "glue", so I'm not sure. One nice thing waxe had, was a way to handle OS X Menu items like this:
//file.append(App.s_macAboutMenuItemId, "About Simple.hx");
//file.append(App.s_macPreferencesMenuItemId, "Preferences of
Simple.hx"); //file.append(App.s_macExitMenuItemId, "Exit");
On Sat, Apr 9, 2016 at 6:45 AM, Ian Harrigan notifications@github.com wrote:
Ill have to double check the other issues, though i dont remember them being issues (although im using a mac vm so not sure if that could be related).
However, as you mentioned i have noticed the DC stuff not working at all on mac / linux, which ive been meaning to take another look at. Unfortunately time isnt my friend at the moment.
— You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub https://github.com/ianharrigan/hxWidgets/issues/23#issuecomment-207768419
Ok, so as far as the menus go you have a few options now:
file.appendItem(new MenuItem(file, null, null, StandardIds.ABOUT));
file.appendItem(new MenuItem.PreferencesMenuItem(file));
file.append(StandardIds.EXIT);
Updated list of what works/what's missing on my system
What's missing:
Thanks - keep up the good work
Ok, great... slowly moving forward! :)
Any chance you can send a screen shot? It might just be that some controls are underneath other controls. Also I had to remove the menu stuff i detailed above as it didnt seem available in linux, so will have to rethink it somewhat. Still, progress is progress.
Cheers, Ian
(Also you might want to grab the latest ive just pushed also)
Cool - further improvements:
DC area now has red background and text "Test" appears.
Other issues still exist including the strange "openFL button only become visible once clicked on"
Cheers,
Hartmut
On Tue, Apr 26, 2016 at 4:01 AM, Ian Harrigan notifications@github.com wrote:
(Also you might want to grab the latest ive just pushed also)
— You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub https://github.com/ianharrigan/hxWidgets/issues/23#issuecomment-214660907
Have you got a screen shot btw? Just want to check something.
Hi Sumo,
When you get a moment can you pull latest demo and try again... one thing to now about this is that the "drawing" page doesnt work. Im not quite sure what it is, but something strange happens on osx. But you should be able to flip between the pages now and see components. Bizarrely the event handler for the event when the notebook page changed needed an e.skip()
- not totally sure why, but my guess is that it was "eating" the event so the OS never knew it had been changed and thus to relayout everything - not sure.
Anyways, let me know if it works (screen shot would be good too!)
Right now I get a compile error - do I need a different version of hxcpp?
./src/hx/widgets/TextCtrl.cpp:46:16: error: ambiguous conversion for functional-style cast from 'Pointer
you need git version of hxcpp
but which version? - The version I have worked before
On Sat, May 7, 2016 at 3:49 AM, Ian Harrigan notifications@github.com wrote:
you need git version of hxcpp
— You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub https://github.com/ianharrigan/hxWidgets/issues/23#issuecomment-217614307
The latest commit, a lot was fixed and added.
OK, I got it running now.
First tab: the multiline text control is "smashed" and nothing on drawing tap other than black background.
Console shows: 12:48:12: Debug: wxColour::Set - couldn't set to colour string 'CYAN' 12:48:12: Debug: wxColour::Set - couldn't set to colour string 'GREY' 12:48:12: Debug: wxColour::Set - couldn't set to colour string 'LIGHT GREY' 12:48:12: Debug: wxColour::Set - couldn't set to colour string 'MEDIUM GREY'
Yeah, ive noticed those two issues on my VM too... Something to do with the sizers (for the text field) and not sure about the drawing dialog... seems like the paint isnt handled correctly... Still, apart from that looking pretty good.
Yes, definitely progress. Keep up the good work.
Here are two questions:
Von meinem iPhone gesendet
Am 08.05.2016 um 13:33 schrieb Ian Harrigan notifications@github.com:
Yeah, ive noticed those two issues on my VM too... Something to do with the sizers (for the text field) and not sure about the drawing dialog... seems like the paint isnt handled correctly... Still, apart from that looking pretty good.
— You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub
- will there be native file dialogs?
- will drag and drop be possible?
wxWidgets supports both of these, and they are useful, so yes ;)
Great!
On Sun, May 8, 2016 at 1:56 PM, Valentin Lemière notifications@github.com wrote:
- will there be native file dialogs?
- will drag and drop be possible?
wxWidgets supports both of these, and they are useful, so yes ;)
— You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub https://github.com/ianharrigan/hxWidgets/issues/23#issuecomment-217736325
Ok, so i think im going to close this issue and open up new ones about the text field and drawing... As well as some feature requests for file dialogs and drag and drop... Ok with you @sumo961?
Sounds good
Von meinem iPhone gesendet
Am 09.05.2016 um 03:12 schrieb Ian Harrigan notifications@github.com:
Ok, so i think im going to close this issue and open up new ones about the text field and drawing... As well as some feature requests for file dialogs and drag and drop... Ok with you @sumo961?
— You are receiving this because you were mentioned. Reply to this email directly or view it on GitHub
Looking through the code more, there are several missing elements on OS X/wxwidgets 3.0.2: