Customizing splash screen - General Help and Assistance on using CHDK stable releases - CHDK Forum supplierdeeply

Customizing splash screen

  • 7 Replies
  • 4768 Views
*

Offline gabriele

  • *
  • 24
  • Applaud me! ;-) Powered by A630 + CHDK
    • Gabriele Profita home page
Customizing splash screen
« on: 14 / April / 2008, 05:52:30 »
Advertisements
Hi everyone,
lately I'm compiling the CHDK code on my PC,
I would like to know where is the code responsible
of the splash screen so I could edit it.
Instead of using the grid I'd like to put there
my name as the owner of the camera in case it gets stolen
so I wouldn't have 2 turn off the grid each time.
This way I'd like to keep the CHDK credits at boot time  8)
adding my details to it.
What do you think about it? Any suggestions?

*

Offline PhyrePhoX

  • *****
  • 2254
  • make RAW not WAR
    • PhyreWorX
Re: Customizing splash screen
« Reply #1 on: 14 / April / 2008, 06:44:57 »
/trunk/core/gui.c - chdk - Trac

line 36 - splashtime, with this value you can customize how long splash will be shown.
line 2070 -    void gui_draw_splash().
there you can customize the actual splash data.
have fun :)

*

Offline gabriele

  • *
  • 24
  • Applaud me! ;-) Powered by A630 + CHDK
    • Gabriele Profita home page
Re: Customizing splash screen
« Reply #2 on: 14 / April / 2008, 07:04:21 »
Thanks a lot! That was awesome! Worked like a charm! :-)
Now it would be nice to change the splashtime directly from a GUI menu
instead of keeping it hardcoded. ;-)
I also noticed that the spashtime is considered only when turning on the cam
in shoot mode (I'm using the autoload feature), otherwise the splashtime is
really short (I modified it from 20 to 50 so it can be easily readable)
« Last Edit: 14 / April / 2008, 07:20:18 by gabriele »

*

Offline mx3

  • ****
  • 372
Re: Customizing splash screen
« Reply #3 on: 14 / April / 2008, 08:36:49 »
I don't think it will be useful if splash display time is hardcoded or tuned via menu (small will not suit your purpose. big will not suit you for everyday use).
I think this time must increase with each day's power on without entering some protection "code".
you can see thread Lost or Stolen Camera Security Feature and explain your wishes.
I'm sure people already have come to the idea how it must be done
skype: max_dtc. ICQ: 125985663, email: win.drivers(at)gmail, eVB decompiler


*

Offline PhyrePhoX

  • *****
  • 2254
  • make RAW not WAR
    • PhyreWorX
Re: Customizing splash screen
« Reply #4 on: 14 / April / 2008, 08:48:39 »
well, it could modified as to "continue booting (exiting splash) on button press".

*

Offline gabriele

  • *
  • 24
  • Applaud me! ;-) Powered by A630 + CHDK
    • Gabriele Profita home page
Re: Customizing splash screen
« Reply #5 on: 14 / April / 2008, 09:19:47 »
well, it could modified as to "continue booting (exiting splash) on button press".

Sounds nice, what about using a txt file for the bootsplash so it could be edited easily
without editing and recompiling the code each time?
Obviously for less than dumb thieves is useless because all they have to do is to replace or format the memory card, so I think it's just a light security measure, more useful for lost cameras than stolen ones.

*

Offline mx3

  • ****
  • 372
Re: Customizing splash screen
« Reply #6 on: 14 / April / 2008, 09:50:13 »
gabriele

I'm sure moderator will delete/freeze this topic

I advise you to continue this in this topic Lost or Stolen Camera Security Feature

skype: max_dtc. ICQ: 125985663, email: win.drivers(at)gmail, eVB decompiler

*

Offline GrAnd

  • ****
  • 916
  • [A610, S3IS]
    • CHDK
Re: Customizing splash screen
« Reply #7 on: 14 / April / 2008, 11:58:43 »
well, it could modified as to "continue booting (exiting splash) on button press".

Hmm... It's already modified... A year ago... :P
CHDK Developer.


 

Related Topics