Search found 214 matches

by mritter0
Mon Sep 11, 2017 7:49 pm
Forum: Platform: AmigaOne X5000
Topic: X5000 OK?
Replies: 24
Views: 15635

Re: X5000 OK?

I have not had a single problem with mine. Pull the trigger and buy one. You won't be sorry.

I got mine customized through Amiga On The Lake. See if they will do the same for you.
by mritter0
Wed Aug 02, 2017 11:01 pm
Forum: General Developer Support
Topic: GradientSlider values
Replies: 3
Views: 2911

Re: GradientSlider values

Note to self: don't try to program at work when not enough time; you word your questions poorly.

Thanks. Getting it up and running.
by mritter0
Wed Aug 02, 2017 6:52 pm
Forum: General Developer Support
Topic: GradientSlider values
Replies: 3
Views: 2911

GradientSlider values

I just added a vertical gradient slider. To me the values seems backwards: the bottom should be 0, the top should be 100. But it is the opposite. If it were a volume control, the top is max volume, not mute. Even the colors are backwards. Is there a formula, or function, to reverse the values? If at...
by mritter0
Mon Jul 24, 2017 2:47 am
Forum: General Developer Support
Topic: LABEL_Text with foreign characters
Replies: 8
Views: 7050

Re: LABEL_Text with foreign characters

Javier de las Rivas sent me some source code. I can directly print text correctly into the window's RastPort, but I can not get the LabelClass with IA_Font,tfISO7, to work. char testStringISO5[] = "Test ISO-8859-5: ±êÛÓÐàáÚØ", testStringISO2[] = "Test ISO-8859-2: èeská", testStri...
by mritter0
Sun Jul 23, 2017 11:18 pm
Forum: General Developer Support
Topic: ILocale->OpenCatalog()
Replies: 5
Views: 5860

Re: ILocale->OpenCatalog()

Gotcha. Maybe that should be made a bit more clear in the AutoDocs. So then people should be doing: Program Version: 1.5 Catalog Version: 15.0 Program Version: 1.6 Catalog Version: 16.0 Program Version: 2.0 Catalog Version: 20.0 etc. Or whatever way they want. So they can specify OC_Version,16, and ...
by mritter0
Sun Jul 23, 2017 10:24 pm
Forum: General Developer Support
Topic: ILocale->OpenCatalog()
Replies: 5
Views: 5860

ILocale->OpenCatalog()

I was doing some updating to my code for Locale handling. I was reading the AutoDocs for OC_Version (uint16) - catalog version number required. Default is 0 which means to accept any version of the catalog that is found. Note that if a version is specified, the catalog's version must match it exactl...
by mritter0
Sun Jul 23, 2017 12:57 am
Forum: General Developer Support
Topic: LABEL_Text with foreign characters
Replies: 8
Views: 7050

Re: LABEL_Text with foreign characters

struct TextAttr DejaVuSansMono17={ (STRPTR)"DejaVu Sans Mono.font",17,0,FPF_DISKFONT }; The Preferences->Locale->Country tab is doing what I want. Showing Greece (or Greek in my case) in English and Greek. Russian and Cyprus are doing it, also. I have never opened a different character set...
by mritter0
Sat Jul 22, 2017 6:03 am
Forum: General Developer Support
Topic: LABEL_Text with foreign characters
Replies: 8
Views: 7050

LABEL_Text with foreign characters

I am trying to make a LabelClass with Greek letters in the text. How do I manage this? I am writing the source code file on Windows then transferring it to my X5000. What encoding do I save it in? ANSI can't do it. If it can be done on my X5000, using English locale, then that would be fine, too. I ...
by mritter0
Mon Jul 03, 2017 1:17 am
Forum: General Developer Support
Topic: Pen RGB values
Replies: 2
Views: 3269

Re: Pen RGB values

Got it. Thanks.
by mritter0
Sun Jul 02, 2017 9:20 pm
Forum: General Developer Support
Topic: Pen RGB values
Replies: 2
Views: 3269

Pen RGB values

Code: Select all

	if ((di=IIntuition->GetScreenDrawInfo(Scr)))
	{
		BackgroundPen=di->dri_Pens[BACKGROUNDPEN];
		IIntuition->FreeScreenDrawInfo(Scr,di);
	}
How do I go about getting the RGB values for BackgroundPen? Or any pen. I eventually want to turn them into HTML hex code, #FF00FF.