Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: Help Creating a wxSFMLCanvus custom widget  (Read 1862 times)

0 Members and 1 Guest are viewing this topic.

Sanction

  • Jr. Member
  • **
  • Posts: 63
    • View Profile
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?

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
    • View Profile
    • Email
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.
SFML / OS X developer

Sanction

  • Jr. Member
  • **
  • Posts: 63
    • View Profile
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!! :D
I still haven't figured out how you would implement events yet. I still have some research to do.
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
    • View Profile
    • Email
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!   ;D
SFML / OS X developer