Search found 214 matches

by mritter0
Wed May 27, 2015 1:53 am
Forum: AmigaOS Feature Requests
Topic: listbrowser hierarchical mode
Replies: 6
Views: 7495

Re: listbrowser hierarchical mode

Not to start a conflict, but in the GUI Prefs->Gadgets->Clicktab there is a checkbox for "Evenly sized tabs". This is also a programmer option CLICKTAB_EvenSize. So why I can't I have my request be a programmer option? Not everything is covered in the GUI Prefs for every gadget type. As in...
by mritter0
Mon May 25, 2015 9:26 pm
Forum: General Developer Support
Topic: ColumnInfo widths
Replies: 4
Views: 2057

Re: ColumnInfo widths

Well, it is working the way I wanted now. It has to be LBCIA_Width,100, not 0.

I came up with another idea in the mean time, and you touched on it, and OS4Coding.net has another tidbit to tweak it.

Off for more tweaking....Thanks
by mritter0
Mon May 25, 2015 8:46 pm
Forum: General Developer Support
Topic: ColumnInfo widths
Replies: 4
Views: 2057

Re: ColumnInfo widths

I figured it out. I had to put a CHILD_MinWidth on the listbrowser gadget. Not a big fan of that, it should just do it regardless.
by mritter0
Mon May 25, 2015 8:32 pm
Forum: General Developer Support
Topic: ColumnInfo widths
Replies: 4
Views: 2057

ColumnInfo widths

I have a ColumnInfo with 3 columns: if (!(ContentCI=IListBrowser->AllocLBColumnInfo(3, LBCIA_Column, 0, LBCIA_Title, "", LBCIA_Width, 38, LBCIA_Sortable, FALSE, LBCIA_DraggableSeparator, FALSE, LBCIA_UserData, 0, LBCIA_Column, 1, LBCIA_Title, SAK_LocaleString(MSG_TITLE_NAME), LBCIA_Weight,...
by mritter0
Mon May 25, 2015 7:32 pm
Forum: AmigaOS Feature Requests
Topic: GetDeviceType()
Replies: 0
Views: 2008

GetDeviceType()

Something that I have always felt is lacking in AmigaOS is a way to get what type a device is. GetDeviceType("CD0:"); then have a struct with the fields filled in: Type=CDROM (or DVD, BluRay) Removable=TRUE Capacity=650MB (or 4G, 25G) Writable=TRUE Vendor=ASUS etc..... GetDeviceType("...
by mritter0
Mon May 04, 2015 1:12 am
Forum: SDK Support
Topic: No datebrowser
Replies: 3
Views: 4464

Re: No datebrowser

I always did include each class separately, but my project uses almost every one now,including DateBrowser, so I used the shortcut.
by mritter0
Sun May 03, 2015 9:10 pm
Forum: SDK Support
Topic: No datebrowser
Replies: 3
Views: 4464

No datebrowser

When use #define ALL_REACTION_CLASSES to include all the reaction classes, the datebrowser class is not in reaction/reaction.h header file, so not included.
by mritter0
Sun Apr 26, 2015 8:32 pm
Forum: AmigaOS Feature Requests
Topic: StringObject ReadOnly
Replies: 6
Views: 6005

Re: StringObject ReadOnly

I use this with GA_ReadOnly,FALSE, so the cursor is active. uint32 BlockInputHookFunc(struct Hook *hook,struct SGWork *sgw,uint32 *msg) { if (*msg==SGH_KEY) { sgw->Actions &= ~SGA_BEEP; sgw->Actions &= ~SGA_USE; return(~0L); } return(0); } I don't want the screen to beep in error since there...
by mritter0
Sun Apr 26, 2015 5:26 pm
Forum: General Developer Support
Topic: Scaling with hardware acceleration but without blending
Replies: 16
Views: 9746

Re: Scaling with hardware acceleration but without blending

I had a problem, too, with the alpha channel in my image preview code. After a lot of trial and error it was simply to not use any flags: if (IGraphics->CompositeTags( COMPOSITE_Src, PID->OrigBM, PID->PreviewBM, COMPTAG_ScaleX, COMP_FLOAT_TO_FIX(ScaleFactorX), COMPTAG_ScaleY, COMP_FLOAT_TO_FIX(Scale...
by mritter0
Fri Apr 10, 2015 7:34 pm
Forum: AmigaOS Feature Requests
Topic: StringObject ReadOnly
Replies: 6
Views: 6005

Re: StringObject ReadOnly

People's natural instinct is to click in the gadget. If nothing happens then they probably won't try to do anything else. I don't think I would. A flashing cursor would tell me I can do things; even if limited. So no, it is not good enough for my needs. This is one of the only ways a programmer can ...