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 :)
-
maybe you will have a better luck looking at wx-3.1 + wxWebView?– IgorAug 15, 2016 at 17:58
-
maybe, but I'm stuck on wx-2.8 with wxruby :( stackoverflow.com/questions/16572421/…– FredAug 16, 2016 at 12:56
-
can't you compile it yourself?– IgorAug 16, 2016 at 13:38
-
just on linux, so far... not windows– FredAug 16, 2016 at 15:26
Add a comment
|
1 Answer
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:
- 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.
- 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.
-
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– FredAug 11, 2016 at 14:22