Announcement

Collapse
No announcement yet.

Skin questions

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Skin questions

    Well, I just started porting the FP VW skin för FW (althou its not finished). Anyway, the skins native resolution is 800x480. When I press the cam button, I get what you can see in the last attached image. What I try to do is moving the cam image (first one) to the red area in the second one...
    I suppose the "dynpic" line in the cam section is the area in the "content" area where the real cam picture is supposed to show (if you've got one)?


    This is my cam section from the skin.ini
    [cam]

    dynpic 106 18 588 305 cam
    and the "content line". (The images posted here doesn't have the right resolution)
    content 0 0 800 322
    Also, another skin question.
    Would it be possible to have GPS mode open FreeDrive in a selected area of the GPS screen, not all of it as it is at the moment. (I think cam is supposed to wirk this way?)
    Attached Files
    My carputer

    Old one

  • #2
    Originally posted by Mañana View Post
    I suppose the "dynpic" line in the cam section is the area in the "content" area where the real cam picture is supposed to show (if you've got one)?
    Close. The content line should only be in the [main] part of the skin.ini. I think you've got that down. Actually, the dynpic for cam should always be at (0, 0). The white part you are seeing is the white background of the camera form. You will have to resize the actual cam form by changing the dimensions of the cam_off.png image in the skin's "screens" directory. The form will automatically be centered in the content window -- you have no control over this as of yet. You can just resize it for now.

    There's no way to size the GPS. It automatically fills the region defined by "content".
    Offical Freeway Subforum
    Official Freeway Website

    Comment


    • #3
      hmmm, i changed the code to this:

      [cam]

      #dynpic 106 18 588 305 cam
      dynpic 0 0 800 322 cam
      and the content line is still the same (it exists only in [main])

      the no_cam image is the same as before, with resolution 800x322.

      This is what i get:
      Attached Files
      My carputer

      Old one

      Comment


      • #4
        Read carefully... I said to try changing the dimensions of cam_off.
        Offical Freeway Subforum
        Official Freeway Website

        Comment


        • #5
          Sorry for beeing a retard, but i dont really get it?
          Do you mean like this?
          Code:
          [cam]
          
          #dynpic	106	18	588	305	cam
          dynpic	0	0	0	0	cam
          Because it gives me the same result as in post 3...
          My carputer

          Old one

          Comment


          • #6
            dynpic 106 18 588 305 cam

            This creates the camera image at left 106, top 18, width 558, and height 305 on the camera form. The camera form is automatically centered in the content area and takes the dimensions of the cam_off.png. The dimensions of the camera form itself are defined by how big the cam_off.png in the skin's screens directory is. You can't specify the dimensions of the form itself in the skin.ini -- you have to change the dimensions of the cam_off.png file.
            Offical Freeway Subforum
            Official Freeway Website

            Comment


            • #7
              Hahaha, I just got it =) Sry beeing a retard and for not reading carefully enough
              This works exacly like what I wanted for gps screen =)
              My carputer

              Old one

              Comment


              • #8
                Don't be sorry -- I don't mind answering your questions. I'm impressed that you've done as much skinning as you have already. I know my system is a little confusing and no documentation exists yet
                Offical Freeway Subforum
                Official Freeway Website

                Comment

                Working...
                X