Search found 382 matches

by ike
May 08, 2017 19:22
Forum: Community Discussion
Topic: Programming competition
Replies: 2
Views: 526

Programming competition

organized by Google. 10000$-winner, 5000 second and 3000 third place plus Google order pizza after wow best in The World get 10000. Poor Google, Valentino Rossi may get millions in advertising, Federer gets tens of millions and programmer gets 10000$ Ok next year they will get free bus ticket extra ...
by ike
Apr 24, 2017 22:59
Forum: Community Discussion
Topic: Simple and portable (but not inflexible) GUI library in C
Replies: 3
Views: 922

Simple and portable (but not inflexible) GUI library in C

Simple and portable (but not inflexible) GUI library in C that uses the native GUI technologies of each platform it supports.
https://github.com/andlabs/libui
by ike
Apr 24, 2017 22:41
Forum: Beginners
Topic: a message to all new users of FreeBasic
Replies: 8
Views: 1252

Re: a message to all new users of FreeBasic

I was thinking or hopefully we get a new IDE every month


Without SCINTILLA component - no way!!
IUP for Freebasic looks ''abandonware'

With SCINTILLA it wouldnot be that hard
by ike
Apr 23, 2017 22:40
Forum: Beginners
Topic: a message to all new users of FreeBasic
Replies: 8
Views: 1252

Re: a message to all new users of FreeBasic

And FreeBasic setup is misleading . when you install and click to explore you will click on EXAMPLES, then you will try GUI. There is 5 folders wxc, WIN, IUP, CGUI, GTK+ New user will never try any other GUI. Using this logic: NOTHING ELSE CAN BE GOOD, anyway it shold be in here So I spend a month l...
by ike
Apr 21, 2017 17:46
Forum: Beginners
Topic: a message to all new users of FreeBasic
Replies: 8
Views: 1252

a message to all new users of FreeBasic

Dont even try any other GUI before you test-try FLTK. It is so good and simple. I like it so much. DJ (Joshi) did GREAT job (as always!)
by ike
Apr 08, 2017 18:13
Forum: Hardware Interfaces / Communication
Topic: Tip: Event driven RS232 class (windows)
Replies: 22
Views: 14311

Re: Tip: Event driven RS232 class (windows)

I am using this class to send Gcode to CNC machine, machine can store 50 commands into buffer. After executig commad machine send me code info "I am done", or "I am still working my position is x= y= z=" In the mean time program is sending new commands to buffer, but if machine i...
by ike
Apr 04, 2017 15:31
Forum: Beginners
Topic: FLTK how to set one of two buttons "on"
Replies: 5
Views: 966

Re: FLTK how to set one of two buttons "on"

declare sub Fl_ButtonSetOnly(byval btn as Fl_Button ptr)
by ike
Mar 29, 2017 21:43
Forum: Libraries
Topic: FLTK-C-1.3.3 for FreeBASIC
Replies: 353
Views: 46565

Re: FLTK C for FreeBASIC Jan 09, 2017

Thank you very much for detailed explanation!
by ike
Mar 29, 2017 17:04
Forum: Libraries
Topic: FLTK-C-1.3.3 for FreeBASIC
Replies: 353
Views: 46565

Re: FLTK C for FreeBASIC Jan 09, 2017

I have 2 windows, one is MAIN. On second window I have if Fl_EventKey() = ESC then do something Then I close second window and program behave like I press ESC on MAIN window What I want to do is when closing window2 to get rid of keyboard buffer I have foun way around this but I am just asking is th...
by ike
Mar 29, 2017 4:29
Forum: Libraries
Topic: FLTK-C-1.3.3 for FreeBASIC
Replies: 353
Views: 46565

Re: FLTK C for FreeBASIC Jan 09, 2017

If I use

if Fl_EventKey()=FL_Escape then
do something
CLEARBUFFER() '????
end if

to read keyboard

How I can clear that buffer
by ike
Mar 10, 2017 23:56
Forum: Community Discussion
Topic: Best Programming Language
Replies: 34
Views: 5330

Re: Best Programming Language

I dunno what is best but I know what is worst: JAVA.

And if you see statistics 30% of all jobs out there is JAVA, J2EE and other crappy stuff. This world is crazy!
by ike
Feb 24, 2017 21:54
Forum: Projects
Topic: FBB - FreeBasic Bézier
Replies: 13
Views: 1866

Re: FBB - FreeBasic Bézier

by ike
Feb 24, 2017 20:44
Forum: Libraries
Topic: FLTK-C-1.3.3 for FreeBASIC
Replies: 353
Views: 46565

Re: FLTK C for FreeBASIC Jan 09, 2017

please note the return 1 vs return 0 in the HandleCB (it was missed in your short demo)
I know that - but I did this demo fast - so I did not have time to check

Thank you for telling me about scaling - I did not know those functions exist!!
by ike
Feb 24, 2017 16:16
Forum: Projects
Topic: FBB - FreeBasic Bézier
Replies: 13
Views: 1866

Re: FBB - FreeBasic Bézier

Zooming - try mousewheel #include once "fltk-c.bi" namespace MAIN dim as double x1, y1, w, h, xc, yc, xx1, yy1, xx2, yy2, left DIM AS Fl_Window PTR win DIM AS Fl_BoxEx PTR box DIM AS Fl_Button PTR btn1 end namespace SUB WH() MAIN.x1 = Fl_WidgetGetX(MAIN.box) MAIN.y1 = Fl_WidgetGetY(MAIN.bo...
by ike
Feb 23, 2017 22:38
Forum: Projects
Topic: FBB - FreeBasic Bézier
Replies: 13
Views: 1866

Re: FBB - FreeBasic Bézier

Nice work. But if you wish to continue work on this I recommend you to switch to FLTK lib (find it on this forum) It has good drawing routines and then you can have real windows program Look how easy is to draw and control events: #include once "fltk-c.bi" function DrawCB cdecl (byval self...

Go to advanced search