New web multimedia language written in FreeBASIC.
damn! this is what I am planning for my one and only freebasic project.
if only you could make a tutorial.
or perhaps, a small collab. :-/
if only you could make a tutorial.
or perhaps, a small collab. :-/
-
- Posts: 8631
- Joined: May 28, 2005 3:28
- Contact:
You can download the source tree of firefoxKristopherWindsor wrote:A tutorial for that would be very appreciated. :)
you will find an folder with some plugin examples written in C.
Plugins are simple dynamic libs (*.DLL / *.SO)
there is no problem to create this libs with FreeBASIC too.
I lost the fun on my Shiny3D project it was to mutch work for a one man show.
(Compiler, IDE, 3D content editor, help files, website, forum, ...)
WebGL (without any plugin) will be the future for web browsers on PC's, PDA's and of course Smartphones too.
Joshy
Does that mean that you are about to release the source code? ;)D.J.Peters wrote:I lost the fun on my Shiny3D project it was to mutch work for a one man show.
(Compiler, IDE, 3D content editor, help files, website, forum, ...)
My project already have, (pseudo) Compiler, code editor, help files, website, and forum. but lacks the key ingredient -- being able to render inside browsers. :(
It's mostly a one-man show either but I'm not losing interest and keeps having fun.
Just attempted to convert NPAPI.H to BI, and I wonder how Joshy got away with variables names that are keywords in FreeBASIC?
ex:
hmm...
ex:
Code: Select all
End As uint32_t
next As _NPByteRange Ptr
len As int32_t
Left As uint16_t
right As uint16_t
width As int32_t
window As Any Ptr
width As uint32_t
Type As NPWindowType
Data As ZString Ptr
-
- Posts: 5494
- Joined: Sep 12, 2005 20:06
- Location: California
UDT members can be named anything. In fact, in fbgfx.bi there's this:
Also, you can "re-define" keywords:
Code: Select all
type IMAGE
type as ... '' some datatype
end type
Code: Select all
#undefine FBkeyword
#define FBkeyword
-
- Posts: 5494
- Joined: Sep 12, 2005 20:06
- Location: California
FBC complains on Next As _NPByteRange Ptr with keyword "NEXT" being used as name of a struct/type.anonymous1337 wrote:UDT members can be named anything. In fact, in fbgfx.bi there's this:Also, you can "re-define" keywords:Code: Select all
type IMAGE type as ... '' some datatype end type
Code: Select all
#undefine FBkeyword #define FBkeyword
-
- Posts: 5494
- Joined: Sep 12, 2005 20:06
- Location: California
That's a horrible reason to withhold source code. Everyone that would be downloading such an incomplete program would be programmers, and fully well aware of the security implications inherent with Shiny3D.D.J.Peters wrote:But there is no sandbox this means you can do everything and yes very bad things too.
You can get the window handle with all keyboard and mouse messages.
This is the point why i don't share my FreeBASIC Browser source code.
I want the source, now. I want to look at it, I want to study it, I want to absorb it. You've got me intrigued and I want that source.
-
- Posts: 147
- Joined: May 24, 2009 23:13
- Location: Texas, United States, Planet Earth
- Contact:
I think you should try and understand D. J.'s point. No one wants to take security risks. And using demanding tones is not a way to get answers.segin wrote:That's a horrible reason to withhold source code. Everyone that would be downloading such an incomplete program would be programmers, and fully well aware of the security implications inherent with Shiny3D.D.J.Peters wrote:But there is no sandbox this means you can do everything and yes very bad things too.
You can get the window handle with all keyboard and mouse messages.
This is the point why i don't share my FreeBASIC Browser source code.
I want the source, now. I want to look at it, I want to study it, I want to absorb it. You've got me intrigued and I want that source.
He said that you can translate the headers, after that it should be relatively simple to implement.
David
-
- Posts: 8631
- Joined: May 28, 2005 3:28
- Contact:
-
- Posts: 147
- Joined: May 24, 2009 23:13
- Location: Texas, United States, Planet Earth
- Contact:
Hey, I use this.D.J.Peters wrote:http://www.osakit.com/