English Amiga Board


Go Back   English Amiga Board > Main > Amiga scene

 
 
Thread Tools
Old 18 November 2018, 00:32   #1
Daedalus
Registered User
 
Daedalus's Avatar
 
Join Date: Jun 2009
Location: Dublin, then Glasgow
Posts: 6,334
Ranchero: Pop-up Notification System for OS 3

I've just uploaded a simple pop-up notification system for OS 3 Amigas. I like OS4's built-in notification system, Ringhio, and thought OS 3 might also benefit from such a system. Ranchero is my offering for this, and is fully compatible with the Ringhio ARexx interface so the same scripts should work on both. It's currently in the Aminet uploads queue and available from www.robthenerd.com/ranchero.

It runs as a commodity, so can easily be disabled or made to quit using Exchange. Currently it doesn't have any library-level API (since there's no application.library on OS 3), so it's controlled through ARexx.

Example scripts are included to demonstrate how to use the notifications from any ARexx-supporting application or ARexx script.

Daedalus is offline  
Old 18 November 2018, 05:24   #2
HardStep
Registered User
 
Join Date: Dec 2005
Location: Toronto
Posts: 185
Sweet, thanks! Heard you mentioning it in the last podcast, wanted to look it up but here it is.
HardStep is offline  
Old 18 November 2018, 16:22   #3
indigolemon
Bit Copying Bard
 
indigolemon's Avatar
 
Join Date: Jan 2017
Location: Kelty, Fife, Scotland
Age: 41
Posts: 1,293
Thanks for this man, it works great
indigolemon is offline  
Old 18 November 2018, 17:01   #4
Daedalus
Registered User
 
Daedalus's Avatar
 
Join Date: Jun 2009
Location: Dublin, then Glasgow
Posts: 6,334
No problem And thanks should go to Indigolemon for the included example scripts and the betatesting!
Daedalus is offline  
Old 18 November 2018, 19:59   #5
kolla
Banned
 
Join Date: Nov 2007
Location: Trondheim, Norway
Posts: 1,893
Very cool. How about an option for tiny boring square (not rounded corners) popups?
kolla is offline  
Old 18 November 2018, 20:05   #6
Daedalus
Registered User
 
Daedalus's Avatar
 
Join Date: Jun 2009
Location: Dublin, then Glasgow
Posts: 6,334
Sure That one's easy - I'll include it in the inevitable bug-fix release.
Daedalus is offline  
Old 18 November 2018, 21:14   #7
Samurai_Crow
Total Chaos forever!
 
Samurai_Crow's Avatar
 
Join Date: Aug 2007
Location: Waterville, MN, USA
Age: 49
Posts: 2,186
Speaking of different style notifications, can the current framework support a custom screen scrolling up from the bottom of the display quickly until it's in position like an Android cookie? It need only work on planar displays because the Copper will do most of the work and a cookie need only be 1 or 2 bitplanes using a custom palette.
Samurai_Crow is offline  
Old 18 November 2018, 22:13   #8
Daedalus
Registered User
 
Daedalus's Avatar
 
Join Date: Jun 2009
Location: Dublin, then Glasgow
Posts: 6,334
Hmmm, that's not actually a bad idea at all, and should be easily done using a standard Intuition screen. I'll put it on the list for the next release.
Daedalus is offline  
Old 18 November 2018, 22:39   #9
Samurai_Crow
Total Chaos forever!
 
Samurai_Crow's Avatar
 
Join Date: Aug 2007
Location: Waterville, MN, USA
Age: 49
Posts: 2,186
Thanks Daedalus!
Samurai_Crow is offline  
Old 19 November 2018, 07:07   #10
Romanujan
Registered User
 
Join Date: Dec 2007
Location: Szczecin/Poland
Posts: 424
A small piece of great software, thank you! Two remarks from my side:

- It requires jpeg.library, which is not included in e one supplied with AmiBlitz3 seems to work - IMHO this should be mentioned in the documentation

- As Kolla mentioned, it would be nice to display rectangular popups WITHOUT rounding the edges. Reason: if the popup covers the window, and something changes within it (for example user moves it), it leaves the old window content visible near the rounded edges; this is common problem with all the transparent/semitransparent windows on AmigaOS
Romanujan is offline  
Old 19 November 2018, 09:44   #11
Daedalus
Registered User
 
Daedalus's Avatar
 
Join Date: Jun 2009
Location: Dublin, then Glasgow
Posts: 6,334
Quote:
Originally Posted by Romanujan View Post
A small piece of great software, thank you!
Thanks, and you're welcome

Quote:
- It requires jpeg.library, which is not included in e one supplied with AmiBlitz3 seems to work - IMHO this should be mentioned in the documentation
Ah yes, this should indeed be mentioned in the documents. I completely forgot it was a requirement. It's the image loading library for Blitz that I used that uses it (and possibly also zlib for PNGs - I'll need to check). I'll either update the documents or remove the requirement altogether - datatypes alone should be enough for such simple image use.

Quote:
- As Kolla mentioned, it would be nice to display rectangular popups WITHOUT rounding the edges. Reason: if the popup covers the window, and something changes within it (for example user moves it), it leaves the old window content visible near the rounded edges; this is common problem with all the transparent/semitransparent windows on AmigaOS
Indeed, transparency needs to be faked on OS3. It is only a small area and I was trying to replicate the Ringhio look, but of course that has the benefit of true alpha support from the OS. It'll be an option in the next update

Thanks for the feedback!
Daedalus is offline  
Old 19 November 2018, 10:34   #12
Minuous
Coder/webmaster/gamer
 
Minuous's Avatar
 
Join Date: Oct 2001
Location: Canberra/Australia
Posts: 2,631
Nice concept, but is it possible to make it more Amiga-ish? Eg. grey window with blue+white close gadget. Also the close gadget is not changing its appearance while the button is held down unlike a real close gadget.
Minuous is offline  
Old 19 November 2018, 12:05   #13
Daedalus
Registered User
 
Daedalus's Avatar
 
Join Date: Jun 2009
Location: Dublin, then Glasgow
Posts: 6,334
Quote:
Originally Posted by Minuous View Post
Nice concept, but is it possible to make it more Amiga-ish? Eg. grey window with blue+white close gadget. Also the close gadget is not changing its appearance while the button is held down unlike a real close gadget.
That's certainly possible, and was actually how it looked when I first started developing it. I like the white background because it looks less like an ordinary window or requester, which is an important distinction I think. But that does mean that the close gadget can't use the traditional shine/shadow pens because the white edges just gets lost.

I'll add an option for a classic window look using the standard colours anyway.
Daedalus is offline  
Old 19 November 2018, 12:14   #14
Minuous
Coder/webmaster/gamer
 
Minuous's Avatar
 
Join Date: Oct 2001
Location: Canberra/Australia
Posts: 2,631
It just occurred to me, perhaps the window background colour could be specified by the user, so eg. red for important warnings, white/yellow for less important, grey for unimportant, etc. Although I suppose if the API was extended it might cause issues for those using the scripts with Ringhio.

Last edited by Minuous; 19 November 2018 at 12:22.
Minuous is offline  
Old 19 November 2018, 13:13   #15
Daedalus
Registered User
 
Daedalus's Avatar
 
Join Date: Jun 2009
Location: Dublin, then Glasgow
Posts: 6,334
Yeah, I'd like to keep it as compatible as possible, but I'll have a think about it. In reality though, if something is actually important it should use a requester instead of a notification that disappears after a few seconds and could easily be missed.
Daedalus is offline  
 


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Wrote a pop-up/task-bar notification thingy.. opinions? watertonian support.Apps 3 12 March 2021 13:33
ClassicWB3.9 System Request pop up XsamX1987 project.ClassicWB 4 03 November 2018 00:52
Windows shutdown/logoff notification bernd roesch support.WinUAE 1 12 January 2018 14:40
Email notification. Claw22000 project.EAB 4 05 May 2011 15:28
Notification of new messages in Social Groups Graham Humphrey project.EAB 5 15 October 2008 08:25

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 19:40.

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.36347 seconds with 15 queries