Welcome,
Guest
. Please
login
or
register
. Did you miss your
activation email?
French forum
Home
Help
Search
Login
Register
SFML community forums
»
Help
»
General
»
Help Creating a wxSFMLCanvus custom widget
Print
Pages: [
1
]
Author
Topic: Help Creating a wxSFMLCanvus custom widget (Read 2416 times)
0 Members and 1 Guest are viewing this topic.
Sanction
Jr. Member
Posts: 63
Help Creating a wxSFMLCanvus custom widget
«
on:
July 19, 2017, 04:22:17 pm »
I'm following this tutorial:
https://www.sfml-dev.org/tutorials/1.6/graphics-wxwidgets.php
is this still possible with SFML 2.4?
Logged
Knowledge comes, but wisdom lingers. It may not be difficult to store up in the mind a vast quantity of facts within a comparatively short time, but the ability to form judgments requires the severe discipline of hard work and the tempering heat of experience and maturity.
Hiura
SFML Team
Hero Member
Posts: 4321
Re: Help Creating a wxSFMLCanvus custom widget
«
Reply #1 on:
July 20, 2017, 08:58:54 am »
Probably
. If you end up making it working, go ahead and post a quick tutorial on the
wiki under §Miscellaneous
.
Logged
SFML / OS X developer
Sanction
Jr. Member
Posts: 63
Re: Help Creating a wxSFMLCanvus custom widget
«
Reply #2 on:
July 20, 2017, 04:29:43 pm »
So I reached out to the wxWidget community and got some very helpful feedback.
Post:
https://forums.wxwidgets.org/viewtopic.php?f=1&t=43670&sid=3c349aac924af20b6c340fa459c0fb7f
You can find an example wxSFMLCanvus widget
Here:
https://github.com/4ian/GD/blob/master/GDCpp/GDCpp/IDE/Dialogs/wxSFMLCanvas.cpp
I don't mind making a quick tutorial but it might be a few weeks, I have twins due any day!!
I still haven't figured out how you would implement events yet. I still have some research to do.
Logged
Knowledge comes, but wisdom lingers. It may not be difficult to store up in the mind a vast quantity of facts within a comparatively short time, but the ability to form judgments requires the severe discipline of hard work and the tempering heat of experience and maturity.
Hiura
SFML Team
Hero Member
Posts: 4321
Re: Help Creating a wxSFMLCanvus custom widget
«
Reply #3 on:
July 21, 2017, 08:43:53 am »
Take your time, you've definitely got two higher priorities!
Logged
SFML / OS X developer
Print
Pages: [
1
]
SFML community forums
»
Help
»
General
»
Help Creating a wxSFMLCanvus custom widget
anything