Search found 70 matches

by blmara
Sat May 29, 2021 11:52 pm
Forum: General Developer Support
Topic: Text datatype in a layout.gadget and odd behaviour of DTA_Busy
Replies: 0
Views: 92

Text datatype in a layout.gadget and odd behaviour of DTA_Busy

Hi, in my BibVision program I use text.datatype object embedded into a layout.gadget for viewing contents of a text file. Unlike with the original AmigaOS FE upd2, with Enhancer 2.0 the text datatype seems to fill only part of the layout area reserved for it. While debugging my program I decided to ...
by blmara
Sat May 08, 2021 1:10 pm
Forum: General Developer Support
Topic: Where to pick the default printed page size?
Replies: 3
Views: 344

Re: Where to pick the default printed page size?

@Steady, @thomasrapp

Thanks! My program actually uses both the prefs files and printer.device preferences to get other settings, but I didn't understand that even this piece of information is not valid anymore. I'll check these.

Marko
by blmara
Sat Apr 24, 2021 3:24 pm
Forum: General Developer Support
Topic: Where to pick the default printed page size?
Replies: 3
Views: 344

Where to pick the default printed page size?

Hi, I'm developing a music notation program. At startup program is trying to find the default page size user would perhaps want to use with the musical scores. I've used IIntuition->GetPrefs() to get the field Preferences->PaperSize. Now, when I created a new partition for OS4 update 2 combined with...
by blmara
Fri Apr 02, 2021 9:33 am
Forum: General Developer Support
Topic: Workbench library issue
Replies: 8
Views: 709

Re: Workbench library issue

@OldFart

About the SDK:C question: it was FileHandleScan

For some reason, in my SDK installation that file had it's executable flag not set. I set it with

protect sdk:c/filehandlescan +e

After that the program executed nicely.

Marko
by blmara
Sun Jan 24, 2021 3:10 pm
Forum: General AmigaOS
Topic: Application notification server turned off with update2hotfix?
Replies: 2
Views: 616

Re: Application notification server turned off with update2hotfix?

@nbache Ok, thanks. Hopefully the work for the OS notification will be finished soon, back into Enchancer version for now! Marko Edit: as currently my update 2+hotfix partition contains only selected pieces of Enhancer, System/NotificationServer output was 'Error opening libraries'. With Snoopy I fo...
by blmara
Sat Jan 23, 2021 12:03 pm
Forum: General AmigaOS
Topic: Application notification server turned off with update2hotfix?
Replies: 2
Views: 616

Application notification server turned off with update2hotfix?

Hi, after updating my Amiga X1000 with FE update 2 and hotfix I noticed that applications using IApplication->NotifyA (i.e. Wet, AmiUpdate and my still-in-development program) won't show any notifications anymore. Checked the result of NotifyA, it is #define APPNOTIFY_ERROR_SERVERNOTRUNNING 120. I h...
by blmara
Thu Apr 09, 2020 9:20 am
Forum: General Developer Support
Topic: Outline Font OT_BaseLine data not found
Replies: 8
Views: 9049

Re: Outline Font OT_BaseLine data not found

@salass00 Thanks, will adapt my code to that information. Could this be added to the SDK unless it's there already? Marko Edit: odd enough, with the routine described below the EObtainInfo() results in a reasonable value with Dejavu Sans.font while the GetTagData results a OT_BaseLine of 0. Other ta...
by blmara
Thu Feb 22, 2018 9:55 pm
Forum: General Developer Support
Topic: ListBrowser LBNCA_FGPen odd behavior?
Replies: 3
Views: 2848

Re: ListBrowser LBNCA_FGPen odd behavior?

The pen definitions (TEXTPEN, SHINEPEN etc) are indexes into the dri_Pens[] array in the DrawInfo sctructure. You can always specify a direct pen number from ObtainBestPen/FindColor etc too. Simon Ok, that corrected my program's behavior and I also agree with Thomas that the autodoc sentence could ...
by blmara
Wed Feb 21, 2018 5:43 pm
Forum: General Developer Support
Topic: ListBrowser LBNCA_FGPen odd behavior?
Replies: 3
Views: 2848

ListBrowser LBNCA_FGPen odd behavior?

Hi, I'm trying to use listbrowser.gadget node pens to display different information state. However, I noticed that LBNCA_FGPen doesn't work as I expected. in SetListBrowserNodeAttrs autodoc there are following lines: LBNCA_FGPen (int16) LBNCA_BGPen (int16) The pens to be used for rendering the text ...
by blmara
Mon Oct 30, 2017 7:21 pm
Forum: SDK Support
Topic: Were there any BFD hacks for OS4?
Replies: 2
Views: 5311

Re: Were there any BFD hacks for OS4?

*bump* Hi all developers of the AmigaOS, so the question Frank Wille (phx), the developer of VBCC asks above is due to my experiences with debugging my programs compiled with VBCC / AmigaOS4. When searching for the actual crashed line with addr2line, I get multiple error messages described above, bu...