Search found 72 matches

by blmara
Sun Jun 06, 2021 11:13 am
Forum: General Developer Support
Topic: Text datatype in a layout.gadget and odd behaviour of DTA_Busy
Replies: 3
Views: 460

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

Hi, I tested some more and I'm wondering why the layout of text.datatype is working differently in Enchancer 2.0 compared to the plain AmigaOS4. When starting in AmigaOS4, the GA_Width and GA_Height of text.datatype object is similar to the space.gadget object installed into the layout and only few ...
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: 3
Views: 460

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: 495

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: 495

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: 893

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: 807

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: 807

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: 9310

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: 2947

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 ...