Search found 228 matches

by nimdays
Jul 07, 2020 19:49
Forum: Beginners
Topic: Resizing ImageCreate
Replies: 1
Views: 34

Resizing ImageCreate

Is there any way to resize the buffer created with imagecreate?

Thanks
by nimdays
Jun 18, 2020 5:17
Forum: Tips and Tricks
Topic: Overlapping Rectangles
Replies: 0
Views: 198

Overlapping Rectangles

There are 16 possibilities when 2 rectangles are overlapping each other const sw = 800,sh = 600,sd = 32 type rect as integer x,y,w,h as ulong bcolor end type function test_rect(rs as rect,rd as rect)as integer dim as integer l = rs.x - rd.x,t = rs.y - rd.y,tb,lr,tb1,lr1 'src tb += cuint(t) <= rd.h t...
by nimdays
May 21, 2020 9:12
Forum: Beginners
Topic: Pointer To Pointer Question
Replies: 3
Views: 338

Re: Pointer To Pointer Question

Thank you both
by nimdays
May 21, 2020 4:33
Forum: Beginners
Topic: Pointer To Pointer Question
Replies: 3
Views: 338

Pointer To Pointer Question

Hello, Do you think below is safe without allocating first? type node as node ptr pnext end type dim as node ptr proot,ptail proot = new node ptail = new node proot->pnext = ptail dim as node ptr ptr p = @proot p[1] = ptail '' this ?*p & " " & *(p+1) ?proot & " " &...
by nimdays
May 20, 2020 14:45
Forum: Community Discussion
Topic: Mobile Friendly
Replies: 0
Views: 392

Mobile Friendly

I can see better now
by nimdays
May 17, 2020 4:55
Forum: Tips and Tricks
Topic: Simple Linear Gradient
Replies: 4
Views: 370

Re: Simple Linear Gradient

Thanks all
by nimdays
May 15, 2020 7:13
Forum: Tips and Tricks
Topic: Simple Linear Gradient
Replies: 4
Views: 370

Simple Linear Gradient

Left to right linear gradient without multiplication. There's no need to calculate all rows since they are equal(only the first one) function draw_lrgrad(c1 as ulong,c2 as ulong,x as integer,y as integer,_ w as integer,h as integer,sw as integer,dst as ulong ptr)as integer ''''''''''''''''' if c1 = ...
by nimdays
May 10, 2020 6:44
Forum: Community Discussion
Topic: Kogaion -the freeware ide for freebasic
Replies: 15
Views: 944

Re: Kogaion -the freeware ide for freebasic

Nice IDE
Why not provide one complete zip ?
by nimdays
May 09, 2020 5:14
Forum: Tips and Tricks
Topic: FLTK GUI without C wrapper
Replies: 6
Views: 623

Re: FLTK GUI without C wrapper

I'll try later
by nimdays
Jun 30, 2019 3:48
Forum: Tips and Tricks
Topic: Open File Dlg with multiple selections
Replies: 4
Views: 5348

Re: Open File Dlg with multiple selections

The single selection is fine, however the multiple selection doesn't show the names after the dialog is closed
by nimdays
Jun 30, 2019 2:28
Forum: Libraries
Topic: FLTK-C-1.3.3 for FreeBASIC
Replies: 393
Views: 85202

Re: FLTK C for FreeBASIC Jan 09, 2017

the example provided counts in tenth and I will wish to count in integers is there anyone who can explain to me thank you in advance Baptiste, Add "Fl_ValuatorSetStep" ... var cnt1 = Fl_CounterNew(10,10,192,24,"counter 1") Fl_ValuatorSetStep(cnt1, 1) ...
by nimdays
Jun 06, 2019 23:46
Forum: Windows
Topic: GUI tool kit
Replies: 23
Views: 11229

Re: GUI tool kit

nastasa eodor wrote:its just a idea, please compile "gui.bas" it and you will see it in action...enjoy

Sorry I missed that :)
by nimdays
Jun 06, 2019 23:03
Forum: Tips and Tricks
Topic: Auto-complete input text [windows only]
Replies: 2
Views: 4719

Re: Auto-complete input text [windows only]

Could you provide a screenshot?
I typed "window" and nothing happened(winxp)
by nimdays
May 17, 2019 1:07
Forum: Windows
Topic: GUI tool kit
Replies: 23
Views: 11229

Re: GUI tool kit

No example?
by nimdays
May 17, 2019 1:03
Forum: Tips and Tricks
Topic: Thorough search.
Replies: 3
Views: 3797

Re: Thorough search.

Nice one Searching . . . C:\FreeBASIC-1.06.0-win32\examples\manual\operator\is.bas C:\FreeBASIC-1.06.0-win32\examples\manual\udt\abstract1.bas C:\FreeBASIC-1.06.0-win32\examples\manual\udt\extends2.bas C:\FreeBASIC-1.06.0-win32\examples\manual\udt\override.bas C:\FreeBASIC-1.06.0-win32\examples\manu...

Go to advanced search