Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
132 user(s) are online (64 user(s) are browsing Forums)

Members: 2
Guests: 130

walkero, skynet, more...

Headlines

 
  Register To Post  

(1) 2 »
OWB splash window
Supreme Council
Supreme Council


See User information
http://bugs.os4depot.net/?function=viewcomments&issueid=32

Anyone interested in creating a launcher for OWB as joerg suggests in the link above?

The splash image should be a replaceable image in the same directory (PROGDIR:) as the launcher.

Edit:
salass00 uploaded his program to os4depot:

http://os4depot.net/index.php?functio ... y/misc/splashlauncher.lha

Thanks Fredrik!


Edited by orgin on 2008/10/20 12:49:18
Vacca foeda. Sum, ergo edo

Mr Bobo Cornwater
Go to top
Re: OWB splash window
Just can't stay away
Just can't stay away


See User information
@orgin

If someone makes the splash image I can write the launcher.

Go to top
Re: OWB splash window
Supreme Council
Supreme Council


See User information
@salass00

I'll ask klesterjr if he's interested.

Though you could start by just opening an image specified in the icon tooltypes. "SPLASHIMAGE=splash.png". And center it on the screen using a borderless window.

Vacca foeda. Sum, ergo edo

Mr Bobo Cornwater
Go to top
Re: OWB splash window
Quite a regular
Quite a regular


See User information
@orgin or whom it may concern

I have been wondering why OWB does not have some sort of splash window to let you know you have actually clicked its icon. I was going to suggest it but I don't need to now !

The delay before any user response is given is far too Windows like. Nothing seems to haoppen for ages before the main window opens.

Opening a small centered window is not too difficult is it - sort of the next level in any Amiga C tutorial from the "Hello World" example


Another request, could OWB be made to open its own screen rather than going via the rather hacky way of setting up a screen entry in the Screens prefs. The latter is a much slower way of doing theings than the normal Amiga way.



Bill.

Go to top
Re: OWB splash window
Supreme Council
Supreme Council


See User information
@BillE

Quote:

Another request, could OWB be made to open its own screen rather than going via the rather hacky way of setting up a screen entry in the Screens prefs. The latter is a much slower way of doing theings than the normal Amiga way.


I suggest that you post that in the tracker at:
http://bugs.os4depot.net/?function=viewsoftware&softwareid=1

Vacca foeda. Sum, ergo edo

Mr Bobo Cornwater
Go to top
Re: OWB splash window
Just popping in
Just popping in


See User information
@orgin

i just had a minute of inspiration, i bundled this from memory.

feel free to improve/publish, whatever, i can't spend time making docs,publishing it,etc.

http://ami603.kicks-ass.net/open/owblaunch.lha

the image is just my avatar in big size.

edit: OS4.1 executable making profit of the new transparency features:

http://ami603.kicks-ass.net/open/owblauncher.OS41

(i'm not sure if i can publish the sourcecode modifications for this as there's no sdk that i know that supports these).


Edited by Ami603 on 2008/10/19 14:25:04
Go to top
Re: OWB splash window
Supreme Council
Supreme Council


See User information
@salass00

Or even do it totally generic.

Tooltypes:
SPLASHEXE=owb
SPLASHIMAGE=owbsplash.png


That way you can reuse it for any application.

call it "splashstart" perhaps? And then the user can rename it to whetever (s)he wants.

Vacca foeda. Sum, ergo edo

Mr Bobo Cornwater
Go to top
Re: OWB splash window
Just can't stay away
Just can't stay away


See User information
I have a suggestion to everyone. Open any text editor like Notepad f.ex. Type the following lines but replace all file names and their paths with correct ones. You don't have to write comment lines which start with ";":

; This will open your splash window
Run >nil: Multiview MyDataPartition:MyPictures/MyPreferredSplashPic.pic PORTNAME SPLASH
; Wait 1 sec so starting OWB doens't slow down opening the splash window
Wait 1 sec
; Start OWB with WBRun command so OWB can find its tooltypes
WBRun Internet:OWB/OWB
; Wait for the OWB.1 message port to appear so we will know it's running
WaitForPort OWB.1
; Close the splash window
rx 'address SPLASH QUIT

Enable "Create icons" from Notepad's settings menu and save that script you just wrote. Make that icon executable (possible to run). Then use that icon (script) to launch OWB from now.

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: OWB splash window
Just can't stay away
Just can't stay away


See User information
@orgin

Quote:

SPLASHEXE=owb
SPLASHIMAGE=owbsplash.png


I have the launching code itself done already. I just need to add some code for opening/closing the window and reading the tooltypes. This should be relatively so I'll probably get it finished tomorrow already.

Go to top
Re: OWB splash window
Just popping in
Just popping in


See User information
@salass00

nobody tried the source and exe i pointed before? it has already what you need.

Go to top
Re: OWB splash window
Not too shy to talk
Not too shy to talk


See User information
@Ami603

I tried it, and it does work well. Thanks!

Thank you also for including the source code. I did change one thing:
Line 57
IDOS->SystemTags("wbrun OWB",

(Just having "OWB" gave me shell output that I didn't like.)

Go to top
Re: OWB splash window
Just can't stay away
Just can't stay away


See User information
@salass00

Quote:
If someone makes the splash image I can write the launcher.
Mason created one for OWB:
Resized Image

Go to top
Re: OWB splash window
Quite a regular
Quite a regular


See User information
@TSK

Cool If only multiview had an option to remove window title...

Resized Image
"the expression, 'atonal music,' is most unfortunate--it is on a par with calling flying 'the art of not falling,' or swimming 'the art of not drowning.'. A. Schoenberg
Go to top
Re: OWB splash window
Quite a regular
Quite a regular


See User information
@Ami603

Quote:
nobody tried the source and exe i pointed before? it has already what you need.
I tried it, and ran it from ram:, but once the eye picture loaded my whole system locked up. I presume it has to be in the OWB directory?, but I haven't sorted it out yet.

Peter Swallow

Eyetech A1XE-G3 800Mhz OS4.1
Towered A1200 OS3.9
Go to top
Re: OWB splash window
Home away from home
Home away from home


See User information
@joerg

Nice

Go to top
Re: OWB splash window
Supreme Council
Supreme Council


See User information
@orgin

Resized Image

Vacca foeda. Sum, ergo edo

Mr Bobo Cornwater
Go to top
Re: OWB splash window
Supreme Council
Supreme Council


See User information
@salass00

Upload to the depot when done :)

Vacca foeda. Sum, ergo edo

Mr Bobo Cornwater
Go to top
Re: OWB splash window
Just can't stay away
Just can't stay away


See User information
@orgin

I have it working now. Now I just need to write a .readme file and upload it.

I had originally intended to just use NP_EntryCode to signal my program when OWB has been run but it seems there is a long time between this and the OWB window opening and very little time (a fraction of a second) between SystemTags() and the EntryCode function being run so I've added a WAITFORPORT functionality for waiting for OWB's public message port. It's written to work even when running several instances of OWB and is working quite nicely in the tests I've done here.

Go to top
Re: OWB splash window
Supreme Council
Supreme Council


See User information
@salass00

Cool, does that mean that it's locked to OWB though or can it be used for other software?

Edit: Ohh btw, make sure that the license allows joerg to include it in his archive if he wants to, if that's okey with you.

Vacca foeda. Sum, ergo edo

Mr Bobo Cornwater
Go to top
Re: OWB splash window
Supreme Council
Supreme Council


See User information
@all

Salass00 uploaded his program to os4depot:

http://os4depot.net/index.php?functio ... y/misc/splashlauncher.lha

Thanks Fredrik!

Vacca foeda. Sum, ergo edo

Mr Bobo Cornwater
Go to top

  Register To Post
(1) 2 »

 




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




Powered by XOOPS 2.0 © 2001-2023 The XOOPS Project