www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - Search for the dialog library

reply Alexander Zhirov <azhirov1991 gmail.com> writes:
Colleagues, tell me, please, is there any library on D for 
drawing 
[dialog](https://invisible-island.net/dialog/images/dialog.png) 
boxes using the dialog library, like in Python 
[pythondialog](https://pypi.org/project/pythondialog/)?
Oct 14 2023
next sibling parent Imperatorn <johan_forsberg_86 hotmail.com> writes:
On Saturday, 14 October 2023 at 23:02:34 UTC, Alexander Zhirov 
wrote:
 Colleagues, tell me, please, is there any library on D for 
 drawing 
 [dialog](https://invisible-island.net/dialog/images/dialog.png) 
 boxes using the dialog library, like in Python 
 [pythondialog](https://pypi.org/project/pythondialog/)?
Since it's a c lib you could try either ctod, ImportC, DPP, dstep or ohmygentool. Or just link with it and use what you need. There's also that cpp2d converter in Visual D you could try, but I don't know how good it works.
Oct 14 2023
prev sibling parent reply Dmitry Ponyatov <dponyatov gmail.com> writes:
On Saturday, 14 October 2023 at 23:02:34 UTC, Alexander Zhirov 
wrote:
 Colleagues, tell me, please, is there any library on D for 
 drawing dialog boxes?
Maybe it's time to port the old warm tubby Turbo Vision into the glorious D lang? https://github.com/magiblot/tvision
Oct 15 2023
parent reply Alexander Zhirov <azhirov1991 gmail.com> writes:
On Sunday, 15 October 2023 at 21:46:44 UTC, Dmitry Ponyatov wrote:
 Maybe it's time to port the old warm tubby Turbo Vision into 
 the glorious D lang?

 https://github.com/magiblot/tvision
Since there was a conversation about the implementation of the wrapper, it is easier to write a wrapper for the `dialog` library, in fact, which is probably what I will do. I'll share a link here a little later. If anyone wants to help, it will be very cool! I think this library can be useful to many people.
Oct 15 2023
parent Imperatorn <johan_forsberg_86 hotmail.com> writes:
On Sunday, 15 October 2023 at 23:01:05 UTC, Alexander Zhirov 
wrote:
 On Sunday, 15 October 2023 at 21:46:44 UTC, Dmitry Ponyatov 
 wrote:
 Maybe it's time to port the old warm tubby Turbo Vision into 
 the glorious D lang?

 https://github.com/magiblot/tvision
Since there was a conversation about the implementation of the wrapper, it is easier to write a wrapper for the `dialog` library, in fact, which is probably what I will do. I'll share a link here a little later. If anyone wants to help, it will be very cool! I think this library can be useful to many people.
Porting is also possible now pretty easy with the tools mentioned. Yesterday I ported a small project in C to D in 10 minutes using ctod + manual fixes. Anyway, whatever you choose, remember to put it on dub ❤️
Oct 15 2023