Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
34 user(s) are online (27 user(s) are browsing Forums)

Members: 1
Guests: 33

flash, more...

Headlines

Forum Index


Board index » All Posts (Deniil)




Re: Plain and simple rectangle in a ReAction window???
Quite a regular
Quite a regular


@thomas

Shouldn't the gi_Gadget be the same gadget? That one doesn't have the correct values in the Left/Top/.. fields.

Anyway, I tried GetAttr(GA_Left,o,&buffer) and it worked so only problem left was that it draws over its border. I just hardcoded 2 pixels border to get around that...

@Chris

If the space gadget is easy, there's no hope what so ever getting the virtual gadget to draw itself properly, is there?

Don't I need to specify an AreaBox to be able to use it? Anyway, the GA_Left etc work fine so I'll just leave it at that.

Next problem is a virtual group that basically works as it should but when checkmarks are redrawn (because of external changes) it defaults to the system background (pen 0), not the ReAction background. Also the area around the virtual is drawn in the pen 0 instead of the RA background.

What's wrong here?

Software developer for Amiga OS3 and OS4.
Develops for OnyxSoft and the Amiga using E and C and occasionally C++
Go to top


Re: Plain and simple rectangle in a ReAction window???
Quite a regular
Quite a regular


mm, and yea, I would like a frame around this thing once it is able to draw itself properly. Tried SPACE_BevelStyle,BVS_DISPLAY, for the Space gadget and a few other things but I get nothing.

Software developer for Amiga OS3 and OS4.
Develops for OnyxSoft and the Amiga using E and C and occasionally C++
Go to top


Virtual gadget? (was:[Solved]Plain and simple rectangle)
Quite a regular
Quite a regular


I posted this question on utilitybase but was told I would get more luck asking Rigo or ssolie over here.

How do I create a simple rectangle (preferably non-fixed) that I can draw something in in a ReAction window??

I have tried Filler, Frame, FillRect but was told Space was the way to go. With the three former I got nothing, not a single pixel. With Space I atleast get my hook called but as expected its parameters doesn't contain any relevant information, such as the very simple x/x/w/h of my object in the window.

I tried using "render->gpr_GInfo->gi_Gadget->LeftEdge" etc. but that gives me the size of the parent group. Very useful... (not).

Tried "render->gpr_GInfo->gi_Domain.Left" etc. but those apparently hold the size of the window. Come on!

How do I do this and why is it so difficult??


Edited by Deniil on 2010/11/23 15:39:48
Software developer for Amiga OS3 and OS4.
Develops for OnyxSoft and the Amiga using E and C and occasionally C++
Go to top


Re: Creating an AmigaOS4 library
Quite a regular
Quite a regular


@ChrisH

Quote:

ChrisH wrote:
@angelheart Quote:
We need a UNIVERSAL AMIGA Assembly language ... to port to different CPUS.


We have: It's called "C"


Excellent answer!

Why try to mess with LLVM and other detours unless possibly if something is already written in LLVM.

It just doesn't get any easier than C, with the possible exception of PortablE then

Software developer for Amiga OS3 and OS4.
Develops for OnyxSoft and the Amiga using E and C and occasionally C++
Go to top


Re: Searching for MPlayer mantainer
Quite a regular
Quite a regular


@ChrisH

Quote:

Maybe it would fix the horrid playback issues I have for MP4s (and other non-AVI/DivX formats to a lesser extent) where video stops being rendered (and just shows bright purple instead). Also MP4s seem to have bug where playback starts smooth & then quickly slows down until it is one frame per several seconds or more.


Yea, this is very annoying. I think it has to do with audio syncing. I have a theory that it looses the sync sometimes and then slows down the video gradually trying to sync up with the audio again but it never works because most of the times the video is the slow thing, not the audio.

Most of the time it is not possible to properly quit mplayer when this happens. It ends up in some almost quitted busy-loop.

And another wierdness (in SVN-r29532-4.2.3): Some wmv files do not render properly but leave green residue from previous delta-frames, but this does not happen in an older version (SVN-r29068-4.2.3)!!

Software developer for Amiga OS3 and OS4.
Develops for OnyxSoft and the Amiga using E and C and occasionally C++
Go to top


Re: A possible bug in the p96 GetBitMapAttr function
Quite a regular
Quite a regular


@Massi

screen->Width, screen->Height ?

@Wanderer

Quote:

The color depth is 2usually 4bit on a 32bit screen.


Could you repeat that please, didn't quite sunk it properly over here.

Has depth suddenly nothing to do with the amount of colors anymore? Is depth now defined as the amount of legacy pens Workbench managed to allocate or something..?! Why would it then be called depth (when it's not depth) instead of NumOfPens or something?

Software developer for Amiga OS3 and OS4.
Develops for OnyxSoft and the Amiga using E and C and occasionally C++
Go to top


Re: A possible bug in the p96 GetBitMapAttr function
Quite a regular
Quite a regular


@kas1e

I believe you should ask the screen if you want the screen dimensions. The bitmap hold the bitmap dimensions which are aligned for hardware, just like in a classic. Although the classic alignment is only 2 bytes and a screen rarely has an odd dimension. Modern hardware can have like a 64 byte alignment requirement for DMA to work properly.

About the depth, I agree. This should be wrong. I also noticed I got 24 for a 32 bit screen.

Software developer for Amiga OS3 and OS4.
Develops for OnyxSoft and the Amiga using E and C and occasionally C++
Go to top


Re: AMC Amiga Media Center
Quite a regular
Quite a regular


@phoenixkonsole

> The hole in the cluod...

Ok, cool. Looking forward to try this out on OS4

Software developer for Amiga OS3 and OS4.
Develops for OnyxSoft and the Amiga using E and C and occasionally C++
Go to top


Re: AMC Amiga Media Center
Quite a regular
Quite a regular


@phoenixkonsole

You say "we" so you're one of the developers.
Could you explain the design decision of showing the browse list in such a small hole in the background cloud? It looks really awkward to find anything through that small hole. No overviewability.

Software developer for Amiga OS3 and OS4.
Develops for OnyxSoft and the Amiga using E and C and occasionally C++
Go to top


Re: Zaphod - well known os3.x binary editor now aos4 native
Quite a regular
Quite a regular


@kas1e

How do I search for hex?? I only seem to be able to find ASCII or something. I entered 0x0064 and it finds "0016" and "0036" sequences and ASCII characters '64'. I want to find the hex value 0064 in the hex.

Software developer for Amiga OS3 and OS4.
Develops for OnyxSoft and the Amiga using E and C and occasionally C++
Go to top


Re: Zaphod - well known os3.x binary editor now aos4 native
Quite a regular
Quite a regular


@kas1e

Cool! Then I can scrap my plans of a hex mode in Annotate. Would save a year or so of development

Software developer for Amiga OS3 and OS4.
Develops for OnyxSoft and the Amiga using E and C and occasionally C++
Go to top


Re: Some info leaked from AmiWest
Quite a regular
Quite a regular


@Vulture

With USB 2.0 but no fixed CrashDOSfilesystem we can crash out memory sticks 45 times faster, yay!

Software developer for Amiga OS3 and OS4.
Develops for OnyxSoft and the Amiga using E and C and occasionally C++
Go to top


Re: Qt Native News
Quite a regular
Quite a regular


@alfkil

Cool! Qt is nice to program for/in.

Did I mention I have been at a garden party at the home of the inventor of Qt (no, it's not Nokia) and the first employer of Trolltech!? He had a prettty nice house

Software developer for Amiga OS3 and OS4.
Develops for OnyxSoft and the Amiga using E and C and occasionally C++
Go to top


Re: program to convert 8 bit AIFF files to 16 bit ?
Quite a regular
Quite a regular


@328gts

If they are not really 8-bit *AIFF* but rather normal 8-bit IFF-8SVX you could use 8SVXtoXXX from http://www.onyxsoft.se . Has a GUI and batch conversion functionality.

Software developer for Amiga OS3 and OS4.
Develops for OnyxSoft and the Amiga using E and C and occasionally C++
Go to top


Re: Extended characters in OS 4.1?
Quite a regular
Quite a regular


@jbni

On Amiga, unlike PC, most extended character are available using Alt+{a similar letter}. Also Shift+Alt for uppercase versions or other alternatives.

This is the alphabet wil Alt pressed down:
??𤽣??????????ש?

Software developer for Amiga OS3 and OS4.
Develops for OnyxSoft and the Amiga using E and C and occasionally C++
Go to top


Re: despotify?
Quite a regular
Quite a regular


@LiveForIt

Shouldn't errno be part of unistd.h?

Software developer for Amiga OS3 and OS4.
Develops for OnyxSoft and the Amiga using E and C and occasionally C++
Go to top


Re: What happened to the colours??!
Quite a regular
Quite a regular


@kas1e

If it only was that easy.... ;)

Or file a bug report on OWB for lacking everything IBrowse has...

Software developer for Amiga OS3 and OS4.
Develops for OnyxSoft and the Amiga using E and C and occasionally C++
Go to top


What happened to the colours??!
Quite a regular
Quite a regular


Using IBrowse I noticed Amigans just got very ugly. Why?

IBrowse is completely superior surfing Amiga sites because of its rich feature set (download, hotlinks, mimetypes, etc., etc.) and speed but now it looks like crap.

Software developer for Amiga OS3 and OS4.
Develops for OnyxSoft and the Amiga using E and C and occasionally C++
Go to top


Re: despotify?
Quite a regular
Quite a regular


@LiveForIt

I saw the warning about endian, and it assumed little. That you need to fix or stuff will probably not work very well.

I can help you with AHI if you like. And of course msg ports would be better than TCP/IP. What was I thinking..

Software developer for Amiga OS3 and OS4.
Develops for OnyxSoft and the Amiga using E and C and occasionally C++
Go to top


Re: despotify?
Quite a regular
Quite a regular


@LiveForIt

Yea, please do! I actually downloaded the source but never got around to look at it. I'm also not good at porting. I might be arsed into making a GUI though if someone ports the library stuff.

If the library wants to be stand-alone for some reason perhaps the GUI could be stand-alone too and communicate through TCP/IP. That would be cool, and makes it a lot easier to split the job between the porter and the GUI maker. It also makes it extremely easy for someone else to make a different GUI without having to compile the library.

Software developer for Amiga OS3 and OS4.
Develops for OnyxSoft and the Amiga using E and C and occasionally C++
Go to top



TopTop
« 1 ... 17 18 19 (20) 21 22 23 ... 27 »




Powered by XOOPS 2.0 © 2001-2023 The XOOPS Project