Wanderer Icon Exchange

miker1264 · 18476

AMIGASYSTEM

  • Global Moderator
  • Legendary Member
  • *****
    • Posts: 3744
    • Karma: +69/-2
  • AROS One
    • AROS One
Reply #30 on: December 15, 2021, 05:31:42 PM
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: 1827
    • Karma: +84/-6
Reply #31 on: December 15, 2021, 06:28:34 PM
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

  • Global Moderator
  • Legendary Member
  • *****
    • Posts: 3744
    • Karma: +69/-2
  • AROS One
    • AROS One
Reply #32 on: December 16, 2021, 01: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: 1827
    • Karma: +84/-6
Reply #33 on: December 16, 2021, 02: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

  • Global Moderator
  • Legendary Member
  • *****
    • Posts: 3744
    • Karma: +69/-2
  • AROS One
    • AROS One
Reply #34 on: December 16, 2021, 02:59:51 AM
Congratulations, the hardest thing is that it does all this with DualPNG icons as well.


miker1264

  • Legendary Member
  • *****
    • Posts: 1827
    • Karma: +84/-6
Reply #35 on: December 16, 2021, 07:09:56 AM
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, 08:01:19 AM by miker1264 »



AMIGASYSTEM

  • Global Moderator
  • Legendary Member
  • *****
    • Posts: 3744
    • Karma: +69/-2
  • AROS One
    • AROS One
Reply #36 on: December 16, 2021, 08:35:49 AM
Congratulations again, Wanderer must improve and surpass our old beloved Workbench !


miker1264

  • Legendary Member
  • *****
    • Posts: 1827
    • Karma: +84/-6
Reply #37 on: December 16, 2021, 10:55:20 AM
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, 11:20:03 AM by miker1264 »



Amiwell

  • Legendary Member
  • *****
    • Posts: 2616
    • Karma: +35/-4
  • Peace
Reply #38 on: December 16, 2021, 11:02:15 AM
nice miker :)



AMIGASYSTEM

  • Global Moderator
  • Legendary Member
  • *****
    • Posts: 3744
    • Karma: +69/-2
  • AROS One
    • AROS One
Reply #39 on: December 16, 2021, 11:04:00 AM
Yes beautiful it is an style old /standard MUI !


miker1264

  • Legendary Member
  • *****
    • Posts: 1827
    • Karma: +84/-6
Reply #40 on: December 16, 2021, 11:26:53 AM
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, 11:36:21 AM by miker1264 »



AMIGASYSTEM

  • Global Moderator
  • Legendary Member
  • *****
    • Posts: 3744
    • Karma: +69/-2
  • AROS One
    • AROS One
Reply #41 on: December 16, 2021, 11:44:11 AM
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: 1827
    • Karma: +84/-6
Reply #42 on: December 16, 2021, 12: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, 02:09:54 PM by miker1264 »



miker1264

  • Legendary Member
  • *****
    • Posts: 1827
    • Karma: +84/-6
Reply #43 on: December 17, 2021, 02: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

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