Search found 129 matches

by evil
Sun May 05, 2019 12:40 pm
Forum: General programming
Topic: GetAttribute() using #SAMPLE and #ATTRPOSITION
Replies: 3
Views: 197

Re: GetAttribute() using #SAMPLE and #ATTRPOSITION

Yes, that helps. Thanks!
by evil
Sat May 04, 2019 2:51 pm
Forum: General programming
Topic: GetAttribute() using #SAMPLE and #ATTRPOSITION
Replies: 3
Views: 197

GetAttribute() using #SAMPLE and #ATTRPOSITION

Hello! I need to get the actual Sampleposition, while playing it. So I use GetAttribute(#SAMPLE,id,#ATTRPOSITION) to get that value. On OS3 (Amithlon) everything works fine, but on OS4 I get very nasty values. In the following Code I get values around -1151680034, while the #DURATION-Attribute gives...
by evil
Thu Apr 04, 2019 8:06 am
Forum: General programming
Topic: Peek, Poke and Big / Little endians.
Replies: 5
Views: 376

Re: Peek, Poke and Big / Little endians.

I'm using the AmigaOS3-Version of Hollywood 7.1
by evil
Tue Apr 02, 2019 10:56 pm
Forum: General programming
Topic: Peek, Poke and Big / Little endians.
Replies: 5
Views: 376

Re: Peek, Poke and Big / Little endians.

That doesnt help. All three constants return en error: Constant not found. Also, the Guide says: ne Optional. True, if you want to use native endian byte order. (Defaults to FALSE) (V6.0) At the moment, I use MemToTable() and TableToMem() as a workaround. They seem to work correct, when useing the E...
by evil
Mon Apr 01, 2019 11:16 pm
Forum: General programming
Topic: Peek, Poke and Big / Little endians.
Replies: 5
Views: 376

Peek, Poke and Big / Little endians.

Maybe, I'm wrong, but shouldn't give

Code: Select all

AllocMem(1, 2)
Poke(1, 0, $100, #SHORT, TRUE)
DebugPrint (Peek (1, 0, #SHORT, TRUE))
DebugPrint(Peek(1, 0, #SHORT, FALSE))
d
ifferent values??

Best regards

George
by evil
Sun Jan 20, 2019 11:52 am
Forum: RapaGUI
Topic: Imagecache on LInux
Replies: 2
Views: 320

Re: Imagecache on LInux

Ok, I think I got it...

Using listview.forcemode with attribute dataview, seems to solve the problem..

Best regards

George
by evil
Sun Jan 20, 2019 11:19 am
Forum: RapaGUI
Topic: Imagecache on LInux
Replies: 2
Views: 320

Imagecache on LInux

Hello again! I Created a gui, which contains one listview. And three sliders. Inside this listview are some entries, which contain images (brushes, which show just one color...) The sliders will be used to change the colors of those listviewimages. When I now change an image of an entry, the new ima...
by evil
Sat Jan 19, 2019 6:15 pm
Forum: RapaGUI
Topic: Creating ContextMenus at runtime on LInux
Replies: 2
Views: 281

Re: Creating ContextMenus at runtime on LInux

Okay. Thank you!
by evil
Fri Jan 18, 2019 3:02 pm
Forum: RapaGUI
Topic: Creating ContextMenus at runtime on LInux
Replies: 2
Views: 281

Creating ContextMenus at runtime on LInux

I want to change the contextmenu of an object at runtime. Area.ContextMenu has the applicability of IS. On AmigaOS3 everything works well, but on Linux (could not test on Win/Mac) the Menus are shown, but their events arent handled. A Bug?? Best regars George A small code-snippet: @REQUIRE "RapaGUI"...
by evil
Wed Dec 12, 2018 10:25 pm
Forum: Hollywood bugs
Topic: SaveBrush() - artefacts
Replies: 11
Views: 1131

Re: SaveBrush() - artefacts

Buhh... Shame on me...
I really read the comple documentation of Hollywood twice... at least...
But never saw the command ChangeBrushTransparency().

Thanks for the hint... That helps a lot...
Best regards

Evil