Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
75 user(s) are online (62 user(s) are browsing Forums)

Members: 0
Guests: 75

more...

Support us!

Headlines

 
  Register To Post  

(1) 2 3 4 ... 6 »
DrawerGenie for AOS4?
Not too shy to talk
Not too shy to talk


See User information
I find it very interesting...

https://daedalus2097.itch.io/drawergenie

...a breath of fresh air in an old WB. It starts on AOS4 but empty toolbar appears plus some nice Mason's icons would be cool.

CD32/A500/A600/A600+Furia/A1200/A4000D+A2320+PiccoloSD64/Sam440 flex 800MHz RAM 1GB HD7750 128MB OS4.1 SBLive! ->
Go to top
Re: DrawerGenie for AOS4?
Home away from home
Home away from home


See User information
@mr2

Oh boy, that wavy drawer backdrop makes my eyes bleed


But a toolbar for drawers would be a cool addition

Go to top
Re: DrawerGenie for AOS4?
Not too shy to talk
Not too shy to talk


See User information
I was thinking the same when this popped up on amiga-news. Basic directory navigation would be a welcome addition, and everything else of course.

Go to top
Re: DrawerGenie for AOS4?
Not too shy to talk
Not too shy to talk


See User information
@Raziel

Quote:
Oh boy, that wavy drawer backdrop makes my eyes bleed


LOL, I was so focused on a toolbar that didn't even noticed.
Once again, the toolbar is cool, not the backdrop

CD32/A500/A600/A600+Furia/A1200/A4000D+A2320+PiccoloSD64/Sam440 flex 800MHz RAM 1GB HD7750 128MB OS4.1 SBLive! ->
Go to top
Re: DrawerGenie for AOS4?
Home away from home
Home away from home


See User information
@mr2
This one to be cool for os4 worth writing from scratch, on C, to use all latest os4 api. Can be pretty basic at the beginning, like, some prefs where you can setup what buttons to place and attach an action on it. Like filler's toolbar, just in wb window.

I will be glad to sponsor developming if there anyone with skills and free time want to do it :)

Join us to improve dopus5!
AmigaOS4 on youtube
Go to top
Re: DrawerGenie for AOS4?
Not too shy to talk
Not too shy to talk


See User information
@kas1e

Quote:
... worth writing from scratch, on C, to use all latest os4 api.


I do not even dare to ask. That's why I ask for AOS4 version.
Source code is available but its BlitzBasic.
For 90% of daily activities such toolbar would be enough, for more complex is Filer/Opus.

CD32/A500/A600/A600+Furia/A1200/A4000D+A2320+PiccoloSD64/Sam440 flex 800MHz RAM 1GB HD7750 128MB OS4.1 SBLive! ->
Go to top
Re: DrawerGenie for AOS4?
Just can't stay away
Just can't stay away


See User information
The interesting thing is how do they patch Workbench to add the toolbar. I understood a complete WB replacement is not desired here but patching WB drawers instead. The source code is without linefeeds so a bit hard to read in Notepad. They seem to use WB's arexx port a lot. I'm wondering also if AOS3.5 WB has features missing in AOS 3.1-3.2 and AOS4.x.

Rock lobster bit me - so I'm here forever
X1000 + AmigaOS 4.1 FE
"Anyone can build a fast CPU. The trick is to build a fast system." - Seymour Cray
Go to top
Re: DrawerGenie for AOS4?
Just can't stay away
Just can't stay away


See User information
Okay. They don't patch WB but rather find out where WB windows are located and then open a small borderless window on top of a drawer window. Basically I have done the same with WBPreview commodity. When you open the WBPreview window and then select any picture file on an open drawer window the WBPreview displays the picture. Adding a toolbar to a window works in icon mode because you can scroll icons down a bit to make room for the toolbar. But you shouldn't cover the titlebar with the toolbar window in lister/text mode.

I'm wondering, Mac and Windows are stuffing buttons on the window titlebar, which is wrong IMHO, the window titlebar is also a drag bar. But adding few buttons to the titlebar (as titlebar/sys gadgets) could be one option.

Rock lobster bit me - so I'm here forever
X1000 + AmigaOS 4.1 FE
"Anyone can build a fast CPU. The trick is to build a fast system." - Seymour Cray
Go to top
Re: DrawerGenie for AOS4?
Not too shy to talk
Not too shy to talk


See User information
Heh, thanks guys. Backdrops are of course down to personal taste, but I kinda like that one when using the bright coloured GlowIcons of 3.9.

There shouldn't be a major reason it doesn't work on OS4, so I'll check that out when I get a chance. The OS4 Workbench API is almost the same as 3.9's, but if it's opening a blank toolbar then the issue is more likely the image loading or gadget creation. The deadline for the Tool Jam is today though so last night's upload will be the main release for a little while. I wasn't too pushed about OS4 compatibility since Lister already exists and has much better navigation functions.

It uses the Workbench API introduced in OS 3.5, which was inherited then by every Workbench version after, including 4.x and 3.2. It does also use ARexx as some functions are only available through the ARexx interface, and some functions appear to be buggy and ARexx is used to work around them.

The plans for the future do include user-provided toolbar imagery, AISS support etc., and patching Intuition so that it can be opened automatically when Workbench opens a window.

Go to top
Re: DrawerGenie for AOS4?
Home away from home
Home away from home


See User information
@Daedalus

Hey...you just won...(counting the posts) 1, 2, 3, 4, 5...aww, a *lot* of betatesters

Go to top
Re: DrawerGenie for AOS4?
Just can't stay away
Just can't stay away


See User information
@Daedalus

A little more interaction with the windows/GUI under AmigaOs4.1 would be great and if that could be made possible through your tool that would certainly be a good thing.

I would be happy about such an implementation for AmigaOs4.1 and I'm certainly not the only one

Since there is already a lot of interest in your tool, you will definitely get a lot of support here.

MacStudio ARM M1 Max Qemu//Pegasos2 AmigaOs4.1 FE / AmigaOne x5000/40 AmigaOs4.1 FE
Go to top
Re: DrawerGenie for AOS4?
Home away from home
Home away from home


See User information
Yeah an interesting utility for sure

Go to top
Re: DrawerGenie for AOS4?
Quite a regular
Quite a regular


See User information
Looks like TSK (Tuomas Hokka) made a start for such an OS4 tool: WB Toolbar

Source in C is included so it should not be that hard to expand its functionality

Go to top
Re: DrawerGenie for AOS4?
Not too shy to talk
Not too shy to talk


See User information
Yeah, I saw it but I'm away from my SAM. How does it look/feel?

"I'm not planning to add more features so it's Amiga community which can develop
this further."

I'm concerned about it, a little bit

Anyway, that was quick, thanks TSK.

CD32/A500/A600/A600+Furia/A1200/A4000D+A2320+PiccoloSD64/Sam440 flex 800MHz RAM 1GB HD7750 128MB OS4.1 SBLive! ->
Go to top
Re: DrawerGenie for AOS4?
Home away from home
Home away from home


See User information
@geennaam
I tried it, and its ... its not what it means to be :) It just some kind of workarounds to mimic functionality we talk about : it draws a button on the windowses after window is drawing, and when you move the window, buttons stays not connected to the window, but leaves on the workbench screen, and after a while moved to the window :)) It's even takes up to 10% of CPU when you move window and those buttons tries to moves/fits to the window on new place :) So nope, that not good for us if we want it to be as clean and as fast as possible without having sources of workbench.

The only real way to make the functionality we talk about, it's probably to use the patching mechanism of OS4 : SetMethod(). (in OS3 it was SetFunction() ). So, this way you patch OpenWindow (or whatever we need , probably WBOpenWindow() or how it called), and expand it by functionality we need: Like we do in Dopus5, there :

https://sourceforge.net/p/dopus5allami ... source/Library/wb.c#l2330

Then (and only then) it will feel like you open the window, and it's having buttons as they expected to be.

With the example above, it's no more than just fun-test. The real one need to be integrated well : have connection with window (to feels fluid), moves together with window (of course), have preferences to choose what kind of buttons we want in the topbar, etc.


@mr2
Quote:

Yeah, I saw it but I'm away from my SAM. How does it look/feel?


It feels funny, but of course looks just like a fast-funny-hack, nothing like we need or like the program we discuss previously. check this out:




Join us to improve dopus5!
AmigaOS4 on youtube
Go to top
Re: DrawerGenie for AOS4?
Not too shy to talk
Not too shy to talk


See User information
Thanks...To be fair, DrawerGenie reacts simmilar. If you try to move fast, a toolbar stays in place for a while...but thats on not so fast Classic.

CD32/A500/A600/A600+Furia/A1200/A4000D+A2320+PiccoloSD64/Sam440 flex 800MHz RAM 1GB HD7750 128MB OS4.1 SBLive! ->
Go to top
Re: DrawerGenie for AOS4?
Quite a regular
Quite a regular


See User information
@kas1e

That is indeed a hack.

Or at least not the functionality that could be expected from the description. It's not a toolbar but more like an overlay of icons.

Go to top
Re: DrawerGenie for AOS4?
Home away from home
Home away from home


See User information
@mr2
That explain why i didn't find any reference to SetMethod() or so in the code of the DrawerGenie.

@geennaam
Currently, i tried to just patch a function opening windowses on workbench, and print "hello" with return to original.

So far tried Workbench's OpenWorkbenchObject(), OpenWindow() and OpenWindowTags() : but those also not the ones used to open Workbench's windowses seems (i can patch them and can see my printf when run any app which open separate window, etc, but not the ones opened by workbench).

Instead, seems OpenWindowTagList() is used for!

Code to play with are easy (and buggy of course, lead to crashes, etc, wrong resulting to original , but i can see my printfs at least when open workbench windowses):

#include <stddef.h>
#include <proto/exec.h>
#include <proto/intuition.h>

int (*oldFunc)(void);

int newFunc(void) {
    
IExec->DebugPrintF("SomeFunc() called\n");
    return 
oldFunc();
}

int main()
{
    
    
IExec->Forbid();
    

oldFunc IExec->SetMethod((struct Interface *)IIntuition,offsetof(struct IntuitionIFaceOpenWindowTagList), newFunc);
    
    
IExec->Permit();
    
}


Through, we need somehow to difference between workbench windowses and any other windowses .. Or maybe it still need to find something else, and not general OpenWindowTagList()


Edited by kas1e on 2023/11/14 13:33:59
Edited by kas1e on 2023/11/14 13:35:17
Edited by kas1e on 2023/11/14 13:37:48
Join us to improve dopus5!
AmigaOS4 on youtube
Go to top
Re: DrawerGenie for AOS4?
Just popping in
Just popping in


See User information
Hello,
On aminet the PowerWB tool allows you to add buttons to the window title bar the source code of the program is available. It could be a good lead for an OS4 program

https://aminet.net/search?query=powerWB

Go to top
Re: DrawerGenie for AOS4?
Quite a regular
Quite a regular


See User information
@sinisrus @kas1e

Would be nice to check if that tool could live up to the expectations.
Because I just checked the source. And like @kas1e already hinted, PowerWB works with OpenWindowTagList().
Unfortunately the interesting part is 68k assembly. So I need to do a speedcourse 68k assembly first

Edit: Looks like it's redirecting and replacing the OpenWindow routine of OS3. So a patch.

Go to top

  Register To Post
(1) 2 3 4 ... 6 »

 




Currently Active Users Viewing This Thread: 1 ( 0 members and 1 Anonymous Users )




Powered by XOOPS 2.0 © 2001-2024 The XOOPS Project