Title Line - Script Writing - CHDK Forum
supplierdeeply

Title Line

  • 2 Replies
  • 1110 Views
Title Line
« on: 22 / October / 2022, 05:45:45 »
Advertisements
@reyalp

The current set_draw_title_line functionality toggles the script title and <ALT> symbol on and off.

May I request that this also allows users to toggle the script title and <ALT> symbol indepedently.

That is, script title on/off and <ALT> on/off indepedently.

Once the script is running the title is not that useful and clutters the screen. Being reminded what the <ALT> exit button is, remains potentially useful with the script running.

*

Offline philmoz

  • *****
  • 3450
    • Photos
Re: Title Line
« Reply #1 on: 25 / October / 2022, 01:53:23 »
The current set_draw_title_line functionality toggles the script title and <ALT> symbol on and off.


I have extended the set_draw_title_line function so you can turn off the script title only.
Call - set_draw_title_line(2). This will only display the <ALT> text and turn off the script title.


Calling with 0, 1, true or false works as before (turning both on or off).


This will be in 1.7.0 build 6203 or later.





CHDK ports:
  sx30is (1.00c, 1.00h, 1.00l, 1.00n & 1.00p)
  g12 (1.00c, 1.00e, 1.00f & 1.00g)
  sx130is (1.01d & 1.01f)
  ixus310hs (1.00a & 1.01a)
  sx40hs (1.00d, 1.00g & 1.00i)
  g1x (1.00e, 1.00f & 1.00g)
  g5x (1.00c, 1.01a, 1.01b)
  g7x2 (1.01a, 1.01b, 1.10b)

Re: Title Line
« Reply #2 on: 25 / October / 2022, 11:47:28 »
The current set_draw_title_line functionality toggles the script title and <ALT> symbol on and off.




I have extended the set_draw_title_line function so you can turn off the script title only.
Call - set_draw_title_line(2). This will only display the <ALT> text and turn off the script title.


Calling with 0, 1, true or false works as before (turning both on or off).


This will be in 1.7.0 build 6203 or later.
@philmoz many thanks for such a quick turn around and a pragmatic solution.

Cheers

Garry
« Last Edit: 25 / October / 2022, 16:07:50 by pigeonhill »

 

Related Topics