Search found 386 matches

by ike
Jun 10, 2015 3:16
Forum: Libraries
Topic: PdfLib on linux
Replies: 10
Views: 2210

Re: PdfLib on linux

http://free-basic.ru/ 18.04.2015 It is in russian, I guess you can not read cyrilic, but you dont need it: just click 3rd link from the top. Library is called LIBHARU follow link and save libharu.zip - and then when you download it will be in english I don use that lib, but I tested examples and it...
by ike
Jun 08, 2015 1:59
Forum: Libraries
Topic: FLTK 1.3.x C Wrapper (obsolete)
Replies: 753
Views: 97302

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

IN FUNCTION DrawCB1 CDECL(box AS ANY PTR) AS INTEGER I want to draw a blue rectangle then stop drawing and ask a question eg WHAT COLOR IS NEXT RECTANGLE then wait for answer and draw second rectangle in desired color. How do I stop drawing wait for action and then continue to draw depending on answ...
by ike
Jun 06, 2015 19:35
Forum: Libraries
Topic: FLTK 1.3.x C Wrapper (obsolete)
Replies: 753
Views: 97302

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

Strange: DrawStr "FLTK", x1+140, y1+150 'CRASH DrawStrRot(0, "FLTK", x1+200, y1+100) 'CRASH DrawStrRot(1, "FLTK", x1+200, y1+100) 'WORKS and once i use DrawStrRot(1, ..... this will work well: DrawStr "FLTK", x1+140, y1+150 ====================================...
by ike
Jun 06, 2015 16:27
Forum: Libraries
Topic: FLTK 1.3.x C Wrapper (obsolete)
Replies: 753
Views: 97302

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: 97302

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: 97302

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: 2034

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: 2034

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: 97302

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: 2034

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: 2034

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: 3683

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: 443

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: 97302

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...

Go to advanced search