[PATCH 2/5] Adding a defeault dialogrc configuration file to select the Ubuntu color palatte when fwts-frontend-text is ran

Chris Van Hoof vanhoof at canonical.com
Tue Dec 13 17:37:34 UTC 2011


On 12/09/2011 01:31 AM, Keng-Yu Lin wrote:
> On 12/06/11 07:52, Colin Ian King wrote:
>> On 05/12/11 22:54, Chris Van Hoof wrote:
>>> ---
>>>    live-image/fwts-live-dialogrc |  129
>>> +++++++++++++++++++++++++++++++++++++++++
>>>    1 files changed, 129 insertions(+), 0 deletions(-)
>>>    create mode 100644 live-image/fwts-live-dialogrc
>>>
>>> diff --git a/live-image/fwts-live-dialogrc
>>> b/live-image/fwts-live-dialogrc
>>> new file mode 100644
>>> index 0000000..4d32298
>>> --- /dev/null
>>> +++ b/live-image/fwts-live-dialogrc
>>> @@ -0,0 +1,129 @@
>>> +#
>>> +# Run-time configuration file for dialog
>>> +#
>>> +# Automatically generated by "dialog --create-rc<file>"
>>> +#
>>> +#
>>> +# Types of values:
>>> +#
>>> +# Number     -<number>
>>> +# String     -  "string"
>>> +# Boolean    -<ON|OFF>
>>> +# Attribute  -  (foreground,background,highlight?)
>>> +
>>> +# Set aspect-ration.
>>> +aspect = 0
>>> +
>>> +# Set separator (for multiple widgets output).
>>> +separate_widget = ""
>>> +
>>> +# Set tab-length (for textbox tab-conversion).
>>> +tab_len = 0
>>> +
>>> +# Make tab-traversal for checklist, etc., include the list.
>>> +visit_items = OFF
>>> +
>>> +# Shadow dialog boxes? This also turns on color.
>>> +use_shadow = ON
>>> +
>>> +# Turn color support ON or OFF
>>> +use_colors = ON
>>> +
>>> +# Screen color
>>> +screen_color = (WHITE,MAGENTA,ON)
>>> +
>>> +# Shadow color
>>> +shadow_color = (BLACK,BLACK,ON)
>>> +
>>> +# Dialog box color
>>> +dialog_color = (BLACK,WHITE,OFF)
>>> +
>>> +# Dialog box title color
>>> +title_color = (RED,WHITE,ON)
>>> +
>>> +# Dialog box border color
>>> +border_color = (WHITE,WHITE,ON)
>>> +
>>> +# Active button color
>>> +button_active_color = (WHITE,RED,ON)
>>> +
>>> +# Inactive button color
>>> +button_inactive_color = (BLACK,WHITE,OFF)
>>> +
>>> +# Active button key color
>>> +button_key_active_color = (WHITE,RED,ON)
>>> +
>>> +# Inactive button key color
>>> +button_key_inactive_color = (RED,WHITE,OFF)
>>> +
>>> +# Active button label color
>>> +button_label_active_color = (YELLOW,RED,ON)
>>> +
>>> +# Inactive button label color
>>> +button_label_inactive_color = (BLACK,WHITE,ON)
>>> +
>>> +# Input box color
>>> +inputbox_color = (BLACK,WHITE,OFF)
>>> +
>>> +# Input box border color
>>> +inputbox_border_color = (BLACK,WHITE,OFF)
>>> +
>>> +# Search box color
>>> +searchbox_color = (BLACK,WHITE,OFF)
>>> +
>>> +# Search box title color
>>> +searchbox_title_color = (RED,WHITE,ON)
>>> +
>>> +# Search box border color
>>> +searchbox_border_color = (WHITE,WHITE,ON)
>>> +
>>> +# File position indicator color
>>> +position_indicator_color = (RED,WHITE,ON)
>>> +
>>> +# Menu box color
>>> +menubox_color = (BLACK,WHITE,OFF)
>>> +
>>> +# Menu box border color
>>> +menubox_border_color = (WHITE,WHITE,ON)
>>> +
>>> +# Item color
>>> +item_color = (BLACK,WHITE,OFF)
>>> +
>>> +# Selected item color
>>> +item_selected_color = (WHITE,RED,ON)
>>> +
>>> +# Tag color
>>> +tag_color = (RED,WHITE,ON)
>>> +
>>> +# Selected tag color
>>> +tag_selected_color = (YELLOW,RED,ON)
>>> +
>>> +# Tag key color
>>> +tag_key_color = (RED,WHITE,OFF)
>>> +
>>> +# Selected tag key color
>>> +tag_key_selected_color = (WHITE,RED,ON)
>>> +
>>> +# Check box color
>>> +check_color = (BLACK,WHITE,OFF)
>>> +
>>> +# Selected check box color
>>> +check_selected_color = (WHITE,RED,ON)
>>> +
>>> +# Up arrow color
>>> +uarrow_color = (GREEN,WHITE,ON)
>>> +
>>> +# Down arrow color
>>> +darrow_color = (GREEN,WHITE,ON)
>>> +
>>> +# Item help-text color
>>> +itemhelp_color = (WHITE,BLACK,OFF)
>>> +
>>> +# Active form text color
>>> +form_active_text_color = (WHITE,RED,ON)
>>> +
>>> +# Form text color
>>> +form_text_color = (WHITE,CYAN,ON)
>>> +
>>> +# Readonly form item color
>>> +form_item_readonly_color = (CYAN,WHITE,ON)
>> Ack, minor typo in patch title "defealt" -->  "defaut", Kengyu, can you
>> fix that up before applying?
>>
>> Colin
>>
>>
> The same as the first one: it will be good to have a "frontend: " or
> "fwts-frontend: " prefix in the subject and sob in the end.
> Noted the spelling typo.

Heya Keng-yu -- Thanks for the review, I've made a mental note for
future submissions :)

> Is it also an error "fwts-frontend-text is ran" -> "fwts-frontend runs" 
> or "fwts-frontend is run"?
> 

Perhaps "fwts-frontend-text is executed" ... fwts-frontend is a package
which provides the script fwts-frontend-text.  My thinking here was that
should we ever add another interface to fwts or a parser we could
leverage this new optional package.

--chris




More information about the fwts-devel mailing list