[Xerte] Re: Customizing XOT Projects

Kemp Johnathan johnathan.kemp at ntlworld.com
Fri Dec 2 10:39:53 GMT 2011


OK I'm getting there bit by bit.

I can now move the buttons and the masks (and the button background), I can
also redraw the Title Bar, Title Banner and Status Bar.

I have hit the following issue.

If I want to reduce the height of the title bar I can set the height to a
lower value and then draw it, but the original title bar is still displayed
beneath it. The only way I can find to erase the original Title Bar is to
set visuals to 0 and then start to build my interface from scratch. I can
then draw a new title bar, title banner and status bar, but cannot get the
buttons to re-appear.

so

   1. Is there a way to erase any of the bars without setting visuals to 0,
   so that a smaller new bar can be displayed without the original bar being
   visible as well?
   2. If visuals are set to 0 is there a way of re-appearing or repainting
   the original Xerte buttons and combo boxes?

I will document all this on the wiki once I have things sorted out :-)

Kind regards

Johnathan

On 1 December 2011 13:36, Julian Tenney <Julian.Tenney at nottingham.ac.uk>wrote:

> It's a bit of pain. Look for clips on rootIcon called ‘mask’ and then an
> index, and move those, or delete them.
>
>
>
> *From:* xerte-bounces at lists.nottingham.ac.uk [mailto:
> xerte-bounces at lists.nottingham.ac.uk] *On Behalf Of *Kemp Johnathan
> *Sent:* 30 November 2011 19:16
>
> *To:* Xerte discussion list
> *Subject:* [Xerte] Re: Customizing XOT Projects
>
>
>
> Thanks for that.
>
>
>
> If I move the buttons down using
>
>
>
> rootIcon.tocBtn._y = 550;
>
>
>
> then a shadow of the button is left in the title bar, as the buttonFill
> does not move when the button does. Is there a way of moving the button
> fill so that the button keeps its background?
>
>
>
> Kind regards
>
>
>
> Johnathan
>
>
>
>
>
> On 30 November 2011 16:19, Julian Tenney <Julian.Tenney at nottingham.ac.uk>
> wrote:
>
> Redraw it. It’s just drawings (not a movieclip), but the height is
> remembered in case it comes in handy for other layout tasks. You should
> probably set it if you redraw the status bar.
>
>
>
> *From:* xerte-bounces at lists.nottingham.ac.uk [mailto:
> xerte-bounces at lists.nottingham.ac.uk] *On Behalf Of *Kemp Johnathan
> *Sent:* 30 November 2011 16:13
>
>
> *To:* Xerte discussion list
> *Subject:* [Xerte] Re: Customizing XOT Projects
>
>
>
> Is there a way of increasing the height of the status bar at the bottom of
> the screen.
>
>
>
> If someone moves the buttons to the bottom of the screen then it would be
> useful to be able to increase the height of the status bar to accommodate
> the height of the buttons.
>
>
>
> I tried the following in a script of the Entry Frame
>
>
>
> debug("rootIcon.statusBarHeight = " + rootIcon.statusBarHeight); //
> returns 20
>
>
> rootIcon.statusBarHeight = 40;
>
>
> debug("rootIcon.statusBarHeight = " + rootIcon.statusBarHeight); //
> returns 40
>
>
>
> but the displayed height of the status bar does not change.
>
>
>
> Any ideas?
>
>
>
> On 30 November 2011 13:38, Tom Reijnders <reijnders at tor.nl> wrote:
>
> Thanks, that works!
> Citeren Julian Tenney <Julian.Tenney at nottingham.ac.uk>:
>
> You need to use the #aabbcc format, as a string, for the html text fields.
>
> [cid:image001.jpg at 01CCAF43.D79927B0]
>
>
>
> From: xerte-bounces at lists.nottingham.ac.uk [mailto:
> xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders
> Sent: 29 November 2011 18:14
> To: Xerte discussion list
> Subject: [Xerte] Re: Customizing XOT Projects
>
> defaultColour somehow doesn't seem to work...
>
> Also in my (and thus José's  example) I also change unselectedText, that
> property is not in the optional property list. I think it changes the text
> colour of the Combo boxes, but I am not behind my normal PC, so I can't
> check right now.
>
> Tom
>
> Op 29-11-2011 16:06, Julian Tenney schreef:
> defaultColour is the default text colour.
> labelColour is the colour for text in checkbox labels, radio button labels
> and labels themselves
> inputColour: the colour of text in text entry boxes
> pageTitleColor: deprecated (no reference to it in XMLEngine)
> stageColour: yes, turn visuals off;
>
> From: xerte-bounces at lists.nottingham.ac.uk<mailto:
> xerte-bounces at lists.nottingham.ac.uk> [mailto:
> xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Kemp Johnathan
>
>
> Sent: 29 November 2011 14:57
> To: Jose Diaz; Xerte discussion list
> Subject: [Xerte] Re: Customizing XOT Projects
>
> I have been following this thread with great interest as I have long been
> curious as to how you could customise the Xerte interface. So many thanks
> to Tom and Jose and anyone else who I might have missed who has contributed
> to this.
>
> I have almost completed translating into English Jose's excellent
> tutorial. I notice that there is a slight discrepancy in that the example
> changes about 8 optional properties of the project but only one is
> mentioned in the tutorial, so the results achieved by following the
> tutorial would not match the displayed image.
>
> I have been testing the available colour properties to establish what
> might have been changed and am finding a few properties that don't appear
> to be doing much. I wanted to add a description of the optional colour
> properties and their effects to the english translation.
>
> Can anyone with more experience of moding the xerte interface comment on
> the following observations and perhaps correct any errors or oversights on
> my part.
>
> ***********
>
> The following colour properties are available and were tested in Xerte
> preview.
>
> titleBarColour: Changes the title bar at the top of the page.
>
> StatusBarColour: Changes the bar below the title bar and the bar at the
> bottom of the screen.
>
> FillColour: changes page background and colour behind volume control
>
> defaultColour: not sure (changed the arrows on the table of contents)
>
> buttonFillColour: changes the background to all the buttons on the
> interface.
>
> ButtonTextColour: changes the border on the top buttons and their text in
> the status bar
>
> glossaryColour: no observed effect but project did not have a glossary.
>
> LabelColour: no observed effect
>
> inputColour: no observed effect
>
> pageTitleColour : no observed effect
>
> statusColour: Changes the continue arrows and continue label at bottom
> right of screen.
>
> TitleColour: Changes colour of project and page title and table of
> contents title.
>
> StageColour: No visible effect (may be significant if visuals are turned
> off?)
> ***********
> Once completed the translation will be available in open office and pdf
> format. I will look to posting it to the wiki at some point.
>
> Thanks in advance for your help.
>
> Johnathan
>
> On 27 November 2011 17:21, Jose Diaz <xt4mhz at yahoo.com<mailto:
> xt4mhz at yahoo.com>> wrote:
> Hi everyone ... promise is a promise :-)
>
> Here goes the the address where I published the small tutorial about how
> to customize the "look" of XOT:
>
> http://jgdu.blogspot.com/2011/11/xot-como-cambiar-su-apariencia.html
>
> Thanks to all of you for the help.
>
> Take care.
>
> José Gregorio.
>
> --
> Lic. José Gregorio Díaz Unda.
> Asesor de Tecnologías de Información y Comunicación.
> Tel.: 58.0412.5518085
> Skype: xt4mhz
>
> Web: www.usb.ve<http://www.usb.ve> - jgdu.blogspot.com<
> http://jgdu.blogspot.com>
>
>
>
>
> This message and any attachment are intended solely for the addressee and
> may contain confidential information. If you have received this message in
> error, please send it back to me, and immediately delete it. Please do not
> use, copy or disclose the information contained in this message or in any
> attachment. Any views or opinions expressed by the author of this email do
> not necessarily reflect the views of the University of Nottingham.
>
> This message has been checked for viruses but the contents of an
> attachment may still contain software viruses which could damage your
> computer system: you are advised to perform your own checks. Email
> communications with the University of Nottingham may be monitored as
> permitted by UK legislation.
>
> _______________________________________________
> Xerte mailing list
>
> Xerte at lists.nottingham.ac.uk<mailto:Xerte at lists.nottingham.ac.uk>
>
>
> http://lists.nottingham.ac.uk/mailman/listinfo/xerte
>
> This message and any attachment are intended solely for the addressee and
> may contain confidential information. If you have received this message in
> error, please send it back to me, and immediately delete it.   Please do
> not use, copy or disclose the information contained in this message or in
> any attachment.  Any views or opinions expressed by the author of this
> email do not necessarily reflect the views of the University of Nottingham.
>
> This message has been checked for viruses but the contents of an attachment
> may still contain software viruses which could damage your computer system:
> you are advised to perform your own checks. Email communications with the
> University of Nottingham may be monitored as permitted by UK legislation.
>
>
>
>
>
>
>
> _______________________________________________
>
> Xerte mailing list
>
> Xerte at lists.nottingham.ac.uk<mailto:Xerte at lists.nottingham.ac.uk>
>
>
>
> http://lists.nottingham.ac.uk/mailman/listinfo/xerte
>
>
>
> This message and any attachment are intended solely for the addressee and
> may contain confidential information. If you have received this message in
> error, please send it back to me, and immediately delete it.   Please do
> not use, copy or disclose the information contained in this message or in
> any attachment.  Any views or opinions expressed by the author of this
> email do not necessarily reflect the views of the University of Nottingham.
>
>
>
> This message has been checked for viruses but the contents of an attachment
>
> may still contain software viruses which could damage your computer system:
>
> you are advised to perform your own checks. Email communications with the
>
> University of Nottingham may be monitored as permitted by UK legislation.
>
>
>
>
>
> --
>
> --
>
>
>
> Tom Reijnders
>
> TOR Informatica
>
> Chopinlaan 27
>
> 5242HM Rosmalen
>
> Tel: 073 5226191
>
> Fax: 073 5226196
>
>
>
>
> ----------------------------------------------------------------
> This message was sent using IMP, the Internet Messaging Program.
>
>
>
>
> _______________________________________________
> Xerte mailing list
> Xerte at lists.nottingham.ac.uk
> http://lists.nottingham.ac.uk/mailman/listinfo/xerte
>
>
>
>
> _______________________________________________
> Xerte mailing list
> Xerte at lists.nottingham.ac.uk
> http://lists.nottingham.ac.uk/mailman/listinfo/xerte
>
> This message and any attachment are intended solely for the addressee and
> may contain confidential information. If you have received this message in
> error, please send it back to me, and immediately delete it.   Please do
> not use, copy or disclose the information contained in this message or in
> any attachment.  Any views or opinions expressed by the author of this
> email do not necessarily reflect the views of the University of Nottingham.
>
> This message has been checked for viruses but the contents of an attachment
> may still contain software viruses which could damage your computer system:
> you are advised to perform your own checks. Email communications with the
> University of Nottingham may be monitored as permitted by UK legislation.
>
>
>
> _______________________________________________
> Xerte mailing list
> Xerte at lists.nottingham.ac.uk
> http://lists.nottingham.ac.uk/mailman/listinfo/xerte
>
> This message and any attachment are intended solely for the addressee and
> may contain confidential information. If you have received this message in
> error, please send it back to me, and immediately delete it.   Please do
> not use, copy or disclose the information contained in this message or in
> any attachment.  Any views or opinions expressed by the author of this
> email do not necessarily reflect the views of the University of Nottingham.
>
> This message has been checked for viruses but the contents of an attachment
> may still contain software viruses which could damage your computer system:
> you are advised to perform your own checks. Email communications with the
> University of Nottingham may be monitored as permitted by UK legislation.
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nottingham.ac.uk/pipermail/xerte/attachments/20111202/8c168516/attachment-0001.html>


More information about the Xerte mailing list