Pages: 1
  Print  
Author Topic: Creating a HtmlView control on Linux  (Read 1758 times)
Offline (Male) time-killer-games
Posted on: July 31, 2014, 08:47:06 PM

Contributor
Location: Virginia Beach
Joined: Jan 2013
Posts: 1157

View Profile Email
*Windows has by default an IE based ActiveX control for embeding HTML in dialogs.
*Macintosh has by default a Safari based control for embeding HTML in dialogs.
*WTF is the Linux equivalent? Me needs it.

Blitzmax doesn't have a WebView control on Linux, it's more of a raw text viewer than anything. They said this is because Linux has no equivalent. If Linux does have one I assume it's Firefox based but I've googled everywhere and can't find shit. If ENIGMA supported a Linux WebView control, I would trash Blitzmax (other than for Mac use) and use ENIGMA right way.
Logged
Offline (Male) edsquare
Reply #1 Posted on: July 31, 2014, 09:49:33 PM

Member
Location: The throne of ringworld
Joined: Apr 2014
Posts: 402

View Profile
*Windows has by default an IE based ActiveX control for embeding HTML in dialogs.
*Macintosh has by default a Safari based control for embeding HTML in dialogs.
*WTF is the Linux equivalent? Me needs it.

Blitzmax doesn't have a WebView control on Linux, it's more of a raw text viewer than anything. They said this is because Linux has no equivalent. If Linux does have one I assume it's Firefox based but I've googled everywhere and can't find shit. If ENIGMA supported a Linux WebView control, I would trash Blitzmax (other than for Mac use) and use ENIGMA right way.

You can use webkit (from safari I think) in linux, not sure if that's what you need since I have no idea what you want to do.

http://www.linuxjournal.com/magazine/using-webkit-your-desktop-application
Logged
A child of five would understand this. Send someone to fetch a child of five.
Groucho Marx
Offline (Male) Goombert
Reply #2 Posted on: July 31, 2014, 09:53:18 PM

Developer
Location: Cappuccino, CA
Joined: Jan 2013
Posts: 3107

View Profile
You could also use wxWidgets, Qt Framework (which is webkit based I think), or possibly some GTK project. Java/Swing is also an option but don't expect it to render too much advanced HTML or HTML5 for that matter.
Logged
I think it was Leonardo da Vinci who once said something along the lines of "If you build the robots, they will make games." or something to that effect.

Offline (Male) time-killer-games
Reply #3 Posted on: July 31, 2014, 10:01:42 PM

Contributor
Location: Virginia Beach
Joined: Jan 2013
Posts: 1157

View Profile Email
Is it currently possible for me to do this in EDL and/or enigma's C++?

Edit.

Okay nevermind, edsquare you have exactly what I need - thanks for the link!!! :D
« Last Edit: July 31, 2014, 10:03:46 PM by time-killer-games » Logged
Offline (Male) edsquare
Reply #4 Posted on: July 31, 2014, 10:12:49 PM

Member
Location: The throne of ringworld
Joined: Apr 2014
Posts: 402

View Profile
Is it currently possible for me to do this in EDL and/or enigma's C++?

Edit.

Okay nevermind, edsquare you have exactly what I need - thanks for the link!!! :D

What do you want to do?

If it's on wxwidgets, gtk and qt then it's accesible for C++; not sure about EDL though.
Logged
A child of five would understand this. Send someone to fetch a child of five.
Groucho Marx
Offline (Male) time-killer-games
Reply #5 Posted on: July 31, 2014, 10:18:49 PM

Contributor
Location: Virginia Beach
Joined: Jan 2013
Posts: 1157

View Profile Email
I have a point-and-click escape game I designed in pure HTML but online it runs slow as hell and it has very limited browser compatibility so I'm "converting" it to "native" or at least disguising it as that it can run locally at full speed while being standalone. An HTML container if you will. My game doesn't work at all in Chrome or Firefox. Works perfect in IE and Safari. Since Qt's WebKit is Safari based your suggestion is perfect. Thanks again!! :D

Edit.

It still needs to be built for Mac using my existing BlitzMax code, and I still need to write and compile the Linux equivalent in Qt, but I do have it written and compiled for Windows already using GM 8.1 if you're interested. :D Get it here - http://timekillergames.weebly.com/cabin-fever-escape-3d.html
« Last Edit: July 31, 2014, 10:27:54 PM by time-killer-games » Logged
Offline (Male) Goombert
Reply #6 Posted on: July 31, 2014, 11:16:10 PM

Developer
Location: Cappuccino, CA
Joined: Jan 2013
Posts: 3107

View Profile
Write a widget system extension and you can use whatever widgets you want.
Logged
I think it was Leonardo da Vinci who once said something along the lines of "If you build the robots, they will make games." or something to that effect.

Offline (Male) time-killer-games
Reply #7 Posted on: August 01, 2014, 11:53:45 AM

Contributor
Location: Virginia Beach
Joined: Jan 2013
Posts: 1157

View Profile Email
That won't be needed Bob, I'll just use Qt cold turkey. Shouldn't be that hard since what I'm after is so basic.
Logged
Pages: 1
  Print