Hello!
I left Windows several years ago, and I no longer feel interest for it, but I still have on my HD some examples that I have made in Pascal. I put them on my website, in case you would like to take a look: freepascal-cairo-win32-examples.zip
Regards.
Roland
Search found 990 matches
- Mar 25, 2024 21:43
- Forum: Windows
- Topic: Cairo under Windows
- Replies: 4
- Views: 178
- Mar 22, 2024 10:21
- Forum: General
- Topic: screenres with a vertical scroll bar
- Replies: 16
- Views: 726
Re: screenres with a vertical scroll bar
You might take a look to the sGUI library, which has a scrollbar, and is multiplatform.
- Mar 20, 2024 10:32
- Forum: Sources, Examples, Tips and Tricks
- Topic: Cairo animated spiral
- Replies: 7
- Views: 302
Cairo animated spiral
Hello everybody! Here is a little thing I have made. It's an animated spiral using Cairo (idea taken here ). Warning: Don't keep your eyes fixed on the animation, otherwise you will feel dizzy. :) #include once "cairo/cairo.bi" const WINDOW_W = 480 const WINDOW_H = 480 screenres WINDOW_W, ...
- Jan 13, 2024 9:19
- Forum: Projects
- Topic: Eschecs FreeBASIC (UCI chess GUI)
- Replies: 446
- Views: 96188
Re: Eschecs FreeBASIC (UCI chess GUI)
Hello everybody!
I applied the modifications suggested by neil here (thanks to him), and uploaded the project to a git repository:
https://codeberg.org/rchastain/eschecs-freebasic
Compilation successfully tested with fbc 1.10.1 under Linux.
I applied the modifications suggested by neil here (thanks to him), and uploaded the project to a git repository:
https://codeberg.org/rchastain/eschecs-freebasic
Compilation successfully tested with fbc 1.10.1 under Linux.
- Jun 25, 2023 15:29
- Forum: Libraries & Headers
- Topic: FLTK headers for FreeBasic OOP (no C wrapper)
- Replies: 232
- Views: 26199
- Jun 05, 2023 5:29
- Forum: Libraries & Headers
- Topic: FLTK headers for FreeBasic OOP (no C wrapper)
- Replies: 232
- Views: 26199
Re: FLTK headers for FreeBasic OOP (no C wrapper)
Hello!
Tested the latest version of the library on Linux, with FBC 1.10 and the examples provided in this discussion. All compile and work fine.
Tested the latest version of the library on Linux, with FBC 1.10 and the examples provided in this discussion. All compile and work fine.
- Feb 17, 2023 13:27
- Forum: Libraries & Headers
- Topic: FreeBASIC bindings for Rust regex
- Replies: 11
- Views: 4871
Re: FreeBASIC bindings for Rust regex
A last one (still capture, but using iterator). ' capture2.bas #include "rure.bi" #inclib "rure" dim subject(2) as zstring ptr = { _ @"2012-03-14", _ @"0000-00-00", _ @"0000-00-0A" _ } dim as rure ptr re = rure_compile_must("-(\d{2})") dim ...
- Feb 17, 2023 10:47
- Forum: Libraries & Headers
- Topic: FreeBASIC bindings for Rust regex
- Replies: 11
- Views: 4871
Re: FreeBASIC bindings for Rust regex
Three examples. ' match.bas #include "rure.bi" #inclib "rure" dim subject(2) as zstring ptr = { _ @"2012-03-14", _ @"0000-00-00", _ @"0000-00-0A" _ } dim as rure ptr re = rure_compile_must("^\d{4}-\d{2}-\d{2}$") ' rure_compile_must aborts t...
- Feb 17, 2023 1:11
- Forum: Libraries & Headers
- Topic: FreeBASIC bindings for Rust regex
- Replies: 11
- Views: 4871
Re: FreeBASIC bindings for Rust regex
For the fun, an all-in-one bash script which downloads and builds the library, builds the C example, downloads the FB header, creates and builds the FB example. To be pasted and run in an empty directory. # rure-start.sh # Usage: # chmod +x rure-start.sh # sh rure-start.sh echo Download Rust regex l...
- Feb 17, 2023 0:30
- Forum: Libraries & Headers
- Topic: FreeBASIC bindings for Rust regex
- Replies: 11
- Views: 4871
Re: FreeBASIC bindings for Rust regex
Thank you for the confirmation.
- Feb 16, 2023 13:27
- Forum: Libraries & Headers
- Topic: FreeBASIC bindings for Rust regex
- Replies: 11
- Views: 4871
Re: FreeBASIC bindings for Rust regex
Here is a first working example. It seems that I wasn't using the right method to build the library. ' test1.bas (Rust regex library usage example) ' 1. How to get librure.a ' ----------------------- /' git clone https://github.com/rust-lang/regex cd regex/regex-capi cargo build --release cd ../.. c...
- Feb 08, 2023 17:47
- Forum: Projects
- Topic: IUP_FB_EDITOR (simple development environment)
- Replies: 175
- Views: 54054
Re: IUP_FB_EDITOR (simple development environment)
Another thing. This afternoon I played with the Windows version. I wonder if the relative path for the compiler is really supported: I didn't manage to make it work. Maybe I made a mistake in the path. But I have not seen any error message. If it was my program, I would add a log file, so one could ...
- Feb 08, 2023 17:30
- Forum: Linux
- Topic: error loading shared libraries: libtinfo.so.5: cannot open shared object file
- Replies: 8
- Views: 5303
Re: error loading shared libraries: libtinfo.so.5: cannot open shared object file
Same issue here on Mageia. I searched which version of libtinfo was installed: [roland@localhost source]$ locate libtinfo /usr/lib64/libtinfo.so /usr/lib64/libtinfo.so.6 /usr/lib64/libtinfo.so.6.2 And I tried this wild solution, which works: [roland@localhost source]$ sudo cp /usr/lib64/libtinfo.so....
- Feb 08, 2023 17:22
- Forum: Projects
- Topic: IUP_FB_EDITOR (simple development environment)
- Replies: 175
- Views: 54054
Re: IUP_FB_EDITOR (simple development environment)
Hello VANYA!
Thanks for the update.
I don't know why, I had to put
directly in iup.bi, like this:
Otherwise I couldn't compile the program.
Thanks for the update.
I don't know why, I had to put
Code: Select all
#define __USE_GTK3__
Code: Select all
#inclib "iup"
#define __USE_GTK3__
#ifdef __fb_win32__
- Feb 08, 2023 5:35
- Forum: Libraries & Headers
- Topic: FreeBASIC bindings for Rust regex
- Replies: 11
- Views: 4871
Re: FreeBASIC bindings for Rust regex
Thank you for the info about building static and dynamic libraries. I built the static library and put the file libregex.a in the same folder where I have rure.bi and test.bas . ' test.bas #include "rure.bi" #inclib "regex" dim as rure ptr re re = rure_compile_must("^\d{4}-\...