Include Digger

User contributed sources that have become inactive, deprecated, or generally unusable. But ... we don't really want to throw them away either.
bcohio2001
Posts: 556
Joined: Mar 10, 2007 15:44
Location: Ohio, USA
Contact:

FLTK -- Include Digger

Post by bcohio2001 »

After about 2 months of work, have a new version using FLTK.

https://github.com/bcohio2001/Freebasic ... /tree/FLTK

Not quite ready by any means. But with a little more work …

Version 0.1.0 Aug. 29, 2019
-- Modified Version 1.1.1 (July 9, 2019) that is "Windows" only to use FLTK.
-- Many known issues/bugs.
---- Mostly because of the conversion to FLTK.
---- Main menu and both popup menus.
------ Unable to properly (de)activate when required.
---- Search_Menu_SelAll()
------ Using code from a "test" program. Does not work as expected.
---- Search_Menu_Paste()
------ Pasting "text" that is copied from a "rich-edit" source may result in garbage.
------ Or is improper use of Fl_Input_Cut() and Fl_Input_Insert().
Knatterton
Posts: 165
Joined: Apr 19, 2019 19:03

Re: Include Digger

Post by Knatterton »

Litlle mistake:

#Include "FB Include.Bi"

Case always must exactly match file name in Linux. Then it compiles in Mint 19.2 64 but gives error message:

Segmentation fault

These are difficult to find because no line number given, mostly it is somewhere you worked last time on.
bcohio2001
Posts: 556
Joined: Mar 10, 2007 15:44
Location: Ohio, USA
Contact:

Re: Include Digger

Post by bcohio2001 »

The "little mistake" is fixed.
Also uncommented the

Code: Select all

#define _FBInc_ALL_LIVE_MENU_
so that the menu items will always be active. Have it coded so if not supposed to be active, will exit.

On odd occasions I do get a Segment Fault, but not really worried about it. YES, I know it is unstable.
More worried about getting the menus to work right.
Knatterton
Posts: 165
Joined: Apr 19, 2019 19:03

Re: Include Digger

Post by Knatterton »

bcohio2001 wrote: Also uncommented the

Code: Select all

#define _FBInc_ALL_LIVE_MENU_
Did this before, but no change. :-)
Post Reply