Wanderer Icon Exchange

miker1264 · 4933

AMIGASYSTEM

  • Legendary Member
  • *****
    • Posts: 1879
    • Karma: +46/-1
  • AROS One
    • AROS One
Reply #30 on: December 16, 2021, 12:31:42 AM
AMIGASYSTEM

I could just use your config for Dopus.

I attach my config, if you need I can send you my complete Dopus4 and files and datatypes so that all keys are functional

Quote
How do I advance the button bank? Right click or something?

If I understand correctly the banks once added you can manage them from a Slide, you will also see it on the Drive pusants where you can click on the default paths of the system.


miker1264

  • Legendary Member
  • *****
    • Posts: 1224
    • Karma: +80/-2
Reply #31 on: December 16, 2021, 01:28:34 AM
Thanks. I will check out icon display for Dopus4 Icon Information. I'll match that to the source code to find out why it's not working correctly.

Here's my idea about Wanderer Icon Information. Wanderer is MUI based. It uses Zune. Icon Information is a small tool associated with Wanderer that is also MUI based.

In order to change the behavior of the Icon Data GUI I would need to set "MUIA_Window_Appwindow,  TRUE," then set up an AppMsgHook for the IconImageObject. Whenever the user drags an icon over the icon image in the top left corner it sends a message to the AppMsgFunc which reads the alt icon filename. It then sets the IconImageObject value to the new filename. It also sets BOOL image_changed = TRUE for future.

Once the icon image changes that indicates an "Icon Exchange" operation is pending. When the user selects "Save" if image_changed = TRUE then instead of Save_Icon we use Save_Alt_Icon to copy the attributes from the original icon to the alternate icon then rename them so alternate becomes original.

Then the Icon Exchange is complete.  :)

It sounds good. But will it work as planned? We'll see.







AMIGASYSTEM

  • Legendary Member
  • *****
    • Posts: 1879
    • Karma: +46/-1
  • AROS One
    • AROS One
Reply #32 on: December 16, 2021, 08:58:11 AM
It would be ideal to have these features on Wanderer, then maybe in the future also a small tool for quick icon exchange when there are many to exchange, as said CopyIcon44 works well with the icon.library AROS 68k, the only problem is that it does not show the icon in the GUI, if you want you can try it, you can find it here:

http://aminet.net/package/util/wb/CopyIcon44


miker1264

  • Legendary Member
  • *****
    • Posts: 1224
    • Karma: +80/-2
Reply #33 on: December 16, 2021, 09:01:04 AM
After only a few hours I was able to drop an icon on the Wanderer Icon Information window and get a filename using an MUI Callback Hook for the dragndrop operation on the image.

Next I'll try to change the icon image in the top left based on the new filename with an MUI Set Method. These two things are the most difficult and the most important part of the icon exchange. The rest is rather straightforward copying the icon attributes.



AMIGASYSTEM

  • Legendary Member
  • *****
    • Posts: 1879
    • Karma: +46/-1
  • AROS One
    • AROS One
Reply #34 on: December 16, 2021, 09:59:51 AM
Congratulations, the hardest thing is that it does all this with DualPNG icons as well.


miker1264

  • Legendary Member
  • *****
    • Posts: 1224
    • Karma: +80/-2
Reply #35 on: December 16, 2021, 02:09:56 PM
Congratulations, the hardest thing is that it does all this with DualPNG icons as well.

It simply works with filenames.   :)

I set the information window to be an appwindow so that it accepts icon drag-n-drop operations. Then I setup a MUI Callback Hook (AROS Hook) for the IconImageObject. It sends an AppMessage to the Callback Function when an icon is dropped on the IconImageObject in the top left corner.

When the message is received we obtain the new icon filename then decide what to do with it. We will do two things. Change the image displayed in the IconImageObject by supplying the new filename in an MUI Set fuction to set the new value of MUI_IconImage_File. MUI then displays the image hopefully. Then we set a TRUE/FALSE BOOL image_changed in this case it's TRUE. The value is used at Save time to decide to use Save_Icon or our new function Save_Alt_Icon to Exchange.

The difficult part is the Dragndrop Callback Hook and that's almost done. The rest is just changing the icon image, setting a value and providing a new save method to copy icon attributes.

Seems easy enough.
« Last Edit: December 16, 2021, 03:01:19 PM by miker1264 »



AMIGASYSTEM

  • Legendary Member
  • *****
    • Posts: 1879
    • Karma: +46/-1
  • AROS One
    • AROS One
Reply #36 on: December 16, 2021, 03:35:49 PM
Congratulations again, Wanderer must improve and surpass our old beloved Workbench !


miker1264

  • Legendary Member
  • *****
    • Posts: 1224
    • Karma: +80/-2
Reply #37 on: December 16, 2021, 05:55:20 PM
How is this idea for an MUI based Name View for Wanderer?

I like the clean simplicity and look and feel of MUI/Zune Apps.

It's part of a user interface I'm working on. Whereas FileMaster that has been around for a while is based on BGUI. It would be nice to have a Simple MUI based File Manger for use with AROS.

This FM is based on the concept of simplicity & portability. The small button at bottom right is the  "return to parent" button.

It's just a concept at the moment. In an experimental version of Wanderer I will put this together when my MUI skills improve.

I know many people have contributed to Wanderer over the years. I would consult top developers before anything official. Same thing for Icon Exchange. I would consult about it also. AROS is a collaboration so we must work together at times.

I'm allowed to experiment at least. That's the fun of it.  ;)

« Last Edit: December 16, 2021, 06:20:03 PM by miker1264 »



salvo

  • Legendary Member
  • *****
    • Posts: 1758
    • Karma: +20/-4
  • Peace an Love
    • TinyAros
Reply #38 on: December 16, 2021, 06:02:15 PM
nice miker :)

http://tinyaros.flazio.com/
HP Z400 Intel Xeon W3565 3.20 Ghz, 8 Gb Ram, SSD 250 Gb, HD 500 Gb, Nvidia G210 1 Gb


AMIGASYSTEM

  • Legendary Member
  • *****
    • Posts: 1879
    • Karma: +46/-1
  • AROS One
    • AROS One
Reply #39 on: December 16, 2021, 06:04:00 PM
Yes beautiful it is an style old /standard MUI !


miker1264

  • Legendary Member
  • *****
    • Posts: 1224
    • Karma: +80/-2
Reply #40 on: December 16, 2021, 06:26:53 PM
Maybe move the statusbar to the bottom like Wanderer Icon View and move the addressbar to the top and try to use the blue parent button to be more consistent. I'll paint another concept.

The Workbench Tab simply lists the volumes on Wanderer's Workbench Screen for easy access. The Volumes Tab lists all volumes. And Directories is the Main Tab for directory search.

When I say "MUI" in reference to AROS it's actually just "Zune".

This is all conceptual done in PaintDotNet. It's not real yet. 8)
« Last Edit: December 16, 2021, 06:36:21 PM by miker1264 »



AMIGASYSTEM

  • Legendary Member
  • *****
    • Posts: 1879
    • Karma: +46/-1
  • AROS One
    • AROS One
Reply #41 on: December 16, 2021, 06:44:11 PM
I said old style because in the MUI package there is a nice PatchASL that makes a MUI window more modern like the MOS one, I would say even more beautiful, but very heavy for OS3, maybe it can inspire you, watch this video of mine.

https://drive.google.com/file/d/1KPGMXBubAidqy2UxV1USsGWz4w4iKqbG/view?usp=sharing


miker1264

  • Legendary Member
  • *****
    • Posts: 1224
    • Karma: +80/-2
Reply #42 on: December 16, 2021, 07:49:09 PM
Name View Concept number three.

All actions in Name View are menu-driven. But there will be more menu items available in Name View with more options.

When Icon View Window Closes and Name View Window Opens a new menu is attached. On the Main Menu "Icon" becomes "File" which contains basic operations for Name View such as File Copy, File Move, File Delete, Rename, Clear All, Select All.

File Copy and File Move will pop up a File Requester to select destination. The Directory Listview will be set to Multi-Select.

Name View will handle the basic file operations we need from time to time. So we won't have to resort to Dopus4 or the shell.

The Name View Window will be accompanied by a Full MUI based File Manager (hence the window title). It will be very similar with two listviews and a memu system. It may have optional buttonbars at the bottom for those who like buttons. The Full File Manager will be capable of many more options and as far as its location the Tools Directory seems appropriate. Maybe a Wanderer menu item opens the File Manager directly.

Up till now I had been working on FileMaster that Toni Wilen had started long ago. I had hoped it would fill the gap on AROS x86-64 and for those who choose not to use Magellan. But it seems rather than BGUI that MUI/Zune would be a better way to go.

Unlike Dopus4 and Magellan both Wanderer Name View & the Full File Manager will be designed for All Flavors of AROS.

This is also just a concept. But it seems very plausible.  8)

« Last Edit: December 16, 2021, 09:09:54 PM by miker1264 »



miker1264

  • Legendary Member
  • *****
    • Posts: 1224
    • Karma: +80/-2
Reply #43 on: December 17, 2021, 09:46:19 AM
After some experimentation I've concluded that the Icon Information window is not the best place for Icon Exchange.

Rather I would propose a new Icon Exchange Module to exchange icon images. The new icon can then be opened in Icon Information to change ToolTypes, etc.



AMIGASYSTEM

  • Legendary Member
  • *****
    • Posts: 1879
    • Karma: +46/-1
  • AROS One
    • AROS One
Reply #44 on: December 17, 2021, 10:55:49 AM
Great, if there is also the possibility of dragging the icons would be even more functional, thanks for what you do