-1

I have an application with tons of windows (frames and dialogs) made with wxWidgets XRC. I'm preparing to convert all generated screens to HTML to make an web version, before doing it I would like to know if someone knows a tool for doing so, convert XRC resource to a bunch of DIVs, INPUTs, CHECKBOXes, TABLEs, etc., so I don't need to reinvent the wheel :)

Fred
  • 23
  • 6

1 Answers1

0

To the best of my knowledge, no such tool exists and, to be honest, I have trouble understanding how one could be written considering that:

  1. wxWidgets layout model based on sizers is very different from the typical layout models used on the web, so you would need to find a way to reimplement it in CSS first.
  2. wxWidgets provides a much richer set of widgets than standard HTML, so you would also need to have a JavaScript library implementing many of them.
VZ.
  • 21,740
  • 3
  • 39
  • 42
  • I need just the basic components, my app is written in Ruby using wxRuby, if I load XRC file using wxWidgets I can pick all elements sizes and positions and replace it with HTML elements, CSS gives it the same look (it is already working). Now I'm trying to generate such windows without loading wxRuby – Fred Aug 11 '16 at 14:22