HyperLobby Online System  
  Login :: Create an account
::  Home  ::  Downloads  ::  Your Account  ::  Forums  ::
Navigation

HOME/NEWS:
· News

MANUALS/GUIDES:
· HyperLobby manual
· Tips & Tricks
· Release notes
· Terms Of Service
· License

DOWNLOADS:
· HyperLobby client

SUPPORT:
· Support forum
· Forum search

FORUMS:
· HyperLobby general
· Online competitions
· Community support
· HyperLobby skins
· Supported games

Donations
Donate to support future development and hosting of the HyperLobby

Make donations with PayPal!

Due date: Dec 31
December goal: 150.00
Total receipts: 0.00
Transaction fees: 0.00
Net balance: 0.00
Bellow goal: 150.00
Site currency: USD
0% 

December donations:
Forums

SimHQ has moved

Fighters Anthology

Alternative HyperLobby

Happy New Year 2024 !!!

Happy Holidays

I/JG7 "Nowotny" Skin

CFS3 and win 11

IL2 Great Battles series


HyperLobby Online System: Forums


HyperLobby Online System :: View topic - User Interface
Log in Register Forum FAQ Memberlist Search HyperLobby Online System Forum Index
View next topic
View previous topic
Post new topic   Reply to topic
Author Message
Zolos
Dude
Dude



Joined: Feb 08, 2003
Posts: 31
Location: Alaska, USA

PostPosted: Sun Jun 15, 2003 2:46 am Reply with quote

This may be topic for skins forum, and possibly require a separate software to accomplish this.

Possible for a different user interface or skin, such as Winamp3? For user who is interested in only one flight sim, or only some features of HL client. Possible to have completely different "form-factor" or different appearing front end to HL client? for examples, look to variety of winamp3 skins. I'm aware that Winamp3 uses a custom programming language to acomplish this, but maybe possible using the HL key commands with HL running in background?

Sometimes I think too much, sometimes I just talk too much. Not necessary to reply. Wink

_________________
"One must have chaos in oneself in order to give birth to a dancing star."
-Friedrich Nietzsche 
View user's profile Send private message Visit poster's website ICQ Number
Jiri-Fojtasek
Site Admin
Site Admin



Joined: Feb 02, 2003
Posts: 1737
Location: Slovakia

PostPosted: Sun Jun 15, 2003 8:40 am Reply with quote

Zolos wrote:
This may be topic for skins forum, and possibly require a separate software to accomplish this.

Possible for a different user interface or skin, such as Winamp3? For user who is interested in only one flight sim, or only some features of HL client. Possible to have completely different "form-factor" or different appearing front end to HL client? for examples, look to variety of winamp3 skins. I'm aware that Winamp3 uses a custom programming language to acomplish this, but maybe possible using the HL key commands with HL running in background?

Sometimes I think too much, sometimes I just talk too much. Not necessary to reply. Wink


Here is the whole skin function:

Code:

Public Function ObjSkin(ByRef obj As Object, ByRef section As String, ByVal item As String)
    Dim prop As String
    Dim inif As String
    Dim itm As String
    Dim scl As Single
       
    On Error Resume Next
    inif = skindir & "\skin.ini"
   
    scl = scale_factor
    With obj
    If Not is_scaled Then
        .Width = .Width * scl
        .Height = .Height * scl
        .Top = .Top * scl
        .Left = .Left * scl
        If item = "lnslot" Then
            .Y1 = .Y1 * scl
            .Y2 = .Y2 * scl
            .X1 = .X1 * scl
            .X2 = .X2 * scl
        End If
    End If
    If item <> "button" Then
        itm = item & ".Font.Name"
        prop = Rfromini(inif, section, itm, "")
        If prop <> "" Then
            .Font.name = prop
        End If
    End If
   
    itm = item & ".Font.Size"
    prop = Rfromini(inif, section, itm, "")
    If prop <> "" Then
        .Font.Size = prop * scl
    End If
   
    itm = item & ".Font.Bold"
    prop = Rfromini(inif, section, itm, "")
    If prop <> "" Then
        .Font.Bold = Val(prop)
    End If
   
    itm = item & ".Font.Italic"
    prop = Rfromini(inif, section, itm, "")
    If prop <> "" Then
        .Font.Italic = Val(prop)
    End If
   
    itm = item & ".Font.Underline"
    prop = Rfromini(inif, section, itm, "")
    If prop <> "" Then
        .Font.Underline = Val(prop)
    End If
   
    itm = item & ".MouseIcon"
    prop = Rfromini(inif, section, itm, "")
    If prop <> "" Then
        .MouseIcon = LoadPicture(skindir & "\" & prop)
    End If
    If item = "button" Then
        Exit Function
    End If
   
    itm = item & ".Picture"
    prop = Rfromini(inif, section, itm, "")
    If prop <> "" Then
        .Picture = LoadPicture(skindir & "\" & prop)
    Else
        .Picture = LoadPicture()
    End If

    itm = item & ".BackColor"
    prop = Rfromini(inif, section, itm, "")
    If prop <> "" Then
        .BackColor = Val(prop)
    End If
   
    itm = item & ".BorderColor"
    prop = Rfromini(inif, section, itm, "")
    If prop <> "" Then
        .BorderColor = Val(prop)
    End If
   
    itm = item & ".ForeColor"
    prop = Rfromini(inif, section, itm, "")
    If prop <> "" Then
        .ForeColor = Val(prop)
    End If
       
    itm = item & ".BorderStyle"
    prop = Rfromini(inif, section, itm, "")
    If prop <> "" Then
        .BorderStyle = Val(prop)
    End If
   
    itm = item & ".BackStyle"
    prop = Rfromini(inif, section, itm, "")
    If prop <> "" Then
        .BackStyle = Val(prop)
    End If
    End With
End Function


Its posible. Every UI object passing this function when HL start . But some object using common skin property and it will be hard to sort it. It will be feature for a 4.x version ....

_________________
 
View user's profile Send private message Visit poster's website
Display posts from previous:       
Post new topic   Reply to topic

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum



Powered by phpBB © 2001-2003 phpBB Group

Forums ©