Search found 382 matches

by ike
Jun 06, 2015 16:27
Forum: Libraries
Topic: FLTK 1.3.x C Wrapper (obsolete)
Replies: 753
Views: 93477

Re: FLTK 1.3.3 C Wrapper Windows/Linux 32/64-bit.

dim as integer indx = Fl_ChoiceGetValue (choice1)
? indx
by ike
Jun 05, 2015 21:18
Forum: Libraries
Topic: FLTK 1.3.x C Wrapper (obsolete)
Replies: 753
Views: 93477

Re: FLTK 1.3.3 C Wrapper Windows/Linux 32/64-bit.

Joshi, May be a bug in FLTK (not in the wrapper) however you can use DrawCircle() or DarwArc() It work if it is inside: DrawBeginComplexPolygon DrawEndComplexPolygon (but it is not what I want to do) Same apply for DrawCurve (Bezxier curve) DrawCurve and DrawArc2 take DOUBLE as parameter and DrawLin...
by ike
Jun 05, 2015 13:12
Forum: Libraries
Topic: FLTK 1.3.x C Wrapper (obsolete)
Replies: 753
Views: 93477

Re: FLTK 1.3.3 C Wrapper Windows/Linux 32/64-bit.

why drawarc2 does not work here. Thx #include once "fltk-c.bi" namespace T DIM SHARED AS Fl_BoxEx PTR box1 DIM AS Fl_Window PTR win end namespace '############################################################# FUNCTION DrawCB1 CDECL(box AS ANY PTR) AS INTEGER dim as integer x1 = Fl_WidgetGe...
by ike
May 29, 2015 15:34
Forum: Projects
Topic: FLTK Form Designer (very basic)
Replies: 6
Views: 1975

Re: FLTK Form Designer (very basic)

You can edit dialogs-forms that you did before, but to be able to insert new element, form has to be created with this program
That is because you need marker00, marker01 inside code so program will know where to insert


https://youtu.be/S56D1fg23xw

If you edit old be sure to have backup
by ike
May 29, 2015 14:18
Forum: Projects
Topic: FLTK Form Designer (very basic)
Replies: 6
Views: 1975

Re: FLTK Form Designer (very basic)

see your fltk-c.bi

at line 357



enum Fl_Event
FL_NO_EVENT = 0
FL_EVENT_PUSH
FL_EVENT_RELEASE
FL_EVENT_ENTER
FL_EVENT_LEAVE
FL_EVENT_DRAG
by ike
May 29, 2015 4:14
Forum: Libraries
Topic: FLTK 1.3.x C Wrapper (obsolete)
Replies: 753
Views: 93477

Re: FLTK 1.3.3 C Wrapper Windows/Linux 32/64-bit.

https://www.youtube.com/watch?v=Sa2KSwFufiE

Very basic form designer for FLTK

viewtopic.php?f=8&t=23621

It helped me to create more than 150 forms, and also I use it if I have to edit them
by ike
May 29, 2015 3:57
Forum: Projects
Topic: FLTK Form Designer (very basic)
Replies: 6
Views: 1975

Re: FLTK Form Designer (very basic)

Always copy EXE to the folder where is form to edit On main screen you have 2 input box: green and yellow enter test1.bi into green input box and click "Create new form" then click: 1. Reload File 2. Form 3. enter widget name "NEW" into pink input box and click BTN 4. enter widge...
by ike
May 29, 2015 3:50
Forum: Projects
Topic: FLTK Form Designer (very basic)
Replies: 6
Views: 1975

FLTK Form Designer (very basic)

https://www.youtube.com/watch?v=Sa2KSwFufiE https://youtu.be/S56D1fg23xw split.bi DECLARE FUNCTION split(src AS STRING, _ del AS STRING, _ res() AS STRING) AS INTEGER ''::::: v1ctor FUNCTION split(src AS STRING, _ del AS STRING, _ res() AS STRING) AS INTEGER CONST MAXDELIMITERS = 256 DIM AS INTEGER...
by ike
May 25, 2015 23:13
Forum: Community Discussion
Topic: What happens next with OOP in FreeBasic and when? :)
Replies: 24
Views: 3589

Re: What happens next with OOP in FreeBasic and when? :)

If cgal doesn't use the C++ boolean type, then you can access cgal classes directly from FB using extern "C++" blocks to create FB type definitions. CGAL HAS SWIG BINDINGS, and examples in PYTHON and JAVA https://github.com/cgal/cgal-swig-bindings 2015/02/01 - SWIG-3.0.5 released We are p...
by ike
May 24, 2015 2:58
Forum: Community Discussion
Topic: [offtopic]Another Synthesizer House Trance Techno :-)
Replies: 1
Views: 431

Re: [offtopic]Another Synthesizer House Trance Techno :-)

100 yr ago: https://www.youtube.com/watch?v=zb8cAdEECuU https://www.youtube.com/watch?v=uI75Xa2xhOU Today: https://www.youtube.com/watch?v=E2yhNeoVmlw Not even close ... --------------------- Just wondering what kind of compilers, and OS would Euler, Bernoulli, Gauss make if they are alive today
by ike
May 23, 2015 20:20
Forum: Libraries
Topic: FLTK 1.3.x C Wrapper (obsolete)
Replies: 753
Views: 93477

Re: FLTK 1.3.3 C Wrapper Windows/Linux 32/64-bit.

Some stupid example where I was testing MODAL, NONMODAL windows, and full screen ON/OFF Press first button to show a window, then press second button couple of times - to random move it Then try 3. and 4. button on main screen #include once "fltk-c.bi" dim shared as FL_WINDOW ptr win1, win...
by ike
May 22, 2015 23:13
Forum: Beginners
Topic: Windows GUI Apps
Replies: 4
Views: 1026

Re: Windows GUI Apps

http://www.freebasic.net/forum/viewtopic.php?f=14&t=21548

IMHO, FLTK is the best,

easy to install, (just unzip in separate folder and run BAT file to compile examples)

manual, a lot of examples 100+
by ike
May 20, 2015 2:20
Forum: Community Discussion
Topic: Your thoughts on privacy?
Replies: 21
Views: 3576

Re: Your thoughts on privacy?

Start, control panel, what has your computer been up to / is doing right now with someone else's / and more importantly why !


But if you read Snowden files, when program crashes and you are asked to send info to Msft it does not really send any info about crash, but stealing your private data
by ike
May 18, 2015 15:29
Forum: Tips and Tricks
Topic: LUA
Replies: 1
Views: 888

LUA

#INCLUDE ONCE "Lua/lua.bi" #INCLUDE ONCE "Lua/lauxlib.bi" #INCLUDE ONCE "Lua/lualib.bi" DIM Lua AS lua_State PTR Lua = luaL_newstate luaL_openlibs(Lua) IF luaL_loadfile(Lua, exepath() + "\bb.lua") ORELSE lua_pcall(Lua, 0, 0, 0) THEN PRINT "PROBLEM: "...
by ike
May 16, 2015 0:09
Forum: Community Discussion
Topic: What happens next with OOP in FreeBasic and when? :)
Replies: 24
Views: 3589

Re: What happens next with OOP in FreeBasic and when? :)

Turning FreeBASIC into C++ doesn't make much sense to me why not just use C++ It make sense: you will be able to use more external libs And you dont have to use all that advanced features if you dont like them. For what I am using FB it is more advanced than I will ever need But I would not complai...

Go to advanced search