Skip to content

Commit

Permalink
Added an app icon. Began working on the about window.
Browse files Browse the repository at this point in the history
  • Loading branch information
gkjpettet committed Apr 8, 2022
1 parent 3976b0e commit 32fe3b8
Show file tree
Hide file tree
Showing 20 changed files with 419 additions and 1 deletion.
Binary file added PRIVATE/App Icon.sketch
Binary file not shown.
File renamed without changes.
File renamed without changes.
Binary file added images/AboutIcon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/App Icon/XUI Icon 1024.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/App Icon/XUI Icon 128.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/App Icon/XUI Icon 16.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/App Icon/XUI Icon 256.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/App Icon/XUI Icon 32.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/App Icon/XUI Icon 48.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/App Icon/XUI Icon 512.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
46 changes: 46 additions & 0 deletions src/About Window/AboutIcon.xojo_image
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
#tag MultiImage
Image A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AAARAEAAAAAAAABwAAATAEAAAAAAAARwAAAIAAAAAAAAAASwAAAXAEAAAAAAAAB0AAARAEAAAAAAAAQ0AAABAAAAAAAAAAX8AAAXAAAAAAAAAAi8AAABAIAAAAAAAAAAA==
FullPath = /Users/garry/Repos/XUI/images/AboutIcon.png
PartialPath = ..\images\AboutIcon.png
#tag ImageSpecification
Comment =
Device = 31
HSize = 128.00
Orientation = Any
Platform = 15
PPI = 72
VSize = 128.00
#tag EndImageSpecification
#tag EndImageRepresentation
#tag ImageRepresentation
SaveInfo = APHRcwIABwBoAwAAYm9va2gDAAAAAAQQMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAIAAAQAAAADAwAAAAQAAAUAAAABAQAAVXNlcnMAAAAFAAAAAQEAAGdhcnJ5AAAABQAAAAEBAABSZXBvcwAAAAMAAAABAQAAWFVJAAYAAAABAQAAaW1hZ2VzAAAQAAAAAQEAAEFib3V0SWNvbkAyeC5wbmcYAAAAAQYAABAAAAAgAAAAMAAAAEAAAABMAAAAXAAAAAgAAAAEAwAAuVwAAAAAAAAIAAAABAMAAKWpAwAAAAAACAAAAAQDAADrzQgAAAAAAAgAAAAEAwAAUreaAAAAAAAIAAAABAMAACpliAEAAAAACAAAAAQDAACgLKkBAAAAABgAAAABBgAAlAAAAKQAAAC0AAAAxAAAANQAAADkAAAACAAAAAAEAABBxAAyVMRMaRgAAAABAgAAAQAAAAAAAAAfAgAAAAAAAB8CAAAAAAAAAAAAAAEFAAAIAAAABAMAAAQAAAAAAAAABAAAAAMDAAD1AQAACAAAAAEJAABmaWxlOi8vLwwAAAABAQAATWFjaW50b3NoIEhECAAAAAQDAAAAUKEbcwAAAAgAAAAABAAAQcP3ezSAAAAkAAAAAQEAAEZGMTVFQTA0LTk2QzktNDNFOC04QjMyLTIwQzRCOEMyQTE0NRgAAAABAgAAgQAAAAEAAADvEwAAAQAAAO8TAAABAAAAAQAAAAEBAAAvAAAAMwAAAAECAABkbmliAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAwAAAAAAAABwbmc/Pz8/AAAAAAAAAAAA8AAAAP7///8BAAAAAAAAABMAAAAEEAAAdAAAAAAAAAAFEAAA9AAAAAAAAAAQEAAAJAEAAAAAAABAEAAAFAEAAAAAAAACIAAA+AEAAAAAAAAFIAAAaAEAAAAAAAAQIAAAeAEAAAAAAAARIAAArAEAAAAAAAASIAAAjAEAAAAAAAATIAAAnAEAAAAAAAAgIAAA2AEAAAAAAAAwIAAARAEAAAAAAAABwAAATAEAAAAAAAARwAAAIAAAAAAAAAASwAAAXAEAAAAAAAAB0AAARAEAAAAAAAAQ0AAABAAAAAAAAAAX8AAAXAAAAAAAAAAi8AAABAIAAAAAAAAAAA==
FullPath = /Users/garry/Repos/XUI/images/[email protected]
PartialPath = ..\images\[email protected]
#tag ImageSpecification
Comment =
Device = 31
HSize = 128.00
Orientation = Any
Platform = 15
PPI = 144
VSize = 128.00
#tag EndImageSpecification
#tag EndImageRepresentation
#tag ImageRepresentation
SaveInfo = APHRcwIABwBoAwAAYm9va2gDAAAAAAQQMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAIAAAQAAAADAwAAAAQAAAUAAAABAQAAVXNlcnMAAAAFAAAAAQEAAGdhcnJ5AAAABQAAAAEBAABSZXBvcwAAAAMAAAABAQAAWFVJAAYAAAABAQAAaW1hZ2VzAAAQAAAAAQEAAEFib3V0SWNvbkAzeC5wbmcYAAAAAQYAABAAAAAgAAAAMAAAAEAAAABMAAAAXAAAAAgAAAAEAwAAuVwAAAAAAAAIAAAABAMAAKWpAwAAAAAACAAAAAQDAADrzQgAAAAAAAgAAAAEAwAAUreaAAAAAAAIAAAABAMAACpliAEAAAAACAAAAAQDAAChLKkBAAAAABgAAAABBgAAlAAAAKQAAAC0AAAAxAAAANQAAADkAAAACAAAAAAEAABBxAAyVMUUVBgAAAABAgAAAQAAAAAAAAAfAgAAAAAAAB8CAAAAAAAAAAAAAAEFAAAIAAAABAMAAAQAAAAAAAAABAAAAAMDAAD1AQAACAAAAAEJAABmaWxlOi8vLwwAAAABAQAATWFjaW50b3NoIEhECAAAAAQDAAAAUKEbcwAAAAgAAAAABAAAQcP3ezSAAAAkAAAAAQEAAEZGMTVFQTA0LTk2QzktNDNFOC04QjMyLTIwQzRCOEMyQTE0NRgAAAABAgAAgQAAAAEAAADvEwAAAQAAAO8TAAABAAAAAQAAAAEBAAAvAAAAMwAAAAECAABkbmliAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAwAAAAAAAABwbmc/Pz8/AAAAAAAAAAAA8AAAAP7///8BAAAAAAAAABMAAAAEEAAAdAAAAAAAAAAFEAAA9AAAAAAAAAAQEAAAJAEAAAAAAABAEAAAFAEAAAAAAAACIAAA+AEAAAAAAAAFIAAAaAEAAAAAAAAQIAAAeAEAAAAAAAARIAAArAEAAAAAAAASIAAAjAEAAAAAAAATIAAAnAEAAAAAAAAgIAAA2AEAAAAAAAAwIAAARAEAAAAAAAABwAAATAEAAAAAAAARwAAAIAAAAAAAAAASwAAAXAEAAAAAAAAB0AAARAEAAAAAAAAQ0AAABAAAAAAAAAAX8AAAXAAAAAAAAAAi8AAABAIAAAAAAAAAAA==
FullPath = /Users/garry/Repos/XUI/images/[email protected]
PartialPath = ..\images\[email protected]
#tag ImageSpecification
Comment =
Device = 31
HSize = 128.00
Orientation = Any
Platform = 15
PPI = 216
VSize = 128.00
#tag EndImageSpecification
#tag EndImageRepresentation
End Image
#tag EndMultiImage
351 changes: 351 additions & 0 deletions src/About Window/WinAbout.xojo_window
Original file line number Diff line number Diff line change
@@ -0,0 +1,351 @@
#tag DesktopWindow
Begin DesktopWindow WinAbout
Backdrop = 0
BackgroundColor = &cFFFFFF
Composite = False
DefaultLocation = 2
FullScreen = False
HasBackgroundColor= False
HasCloseButton = True
HasFullScreenButton= False
HasMaximizeButton= True
HasMinimizeButton= True
Height = 400
ImplicitInstance= True
MacProcID = 0
MaximumHeight = 32000
MaximumWidth = 32000
MenuBar = 1647693823
MenuBarVisible = False
MinimumHeight = 64
MinimumWidth = 64
Resizeable = True
Title = "About XUI"
Type = 0
Visible = True
Width = 534
Begin DesktopCanvas CanvasIcon
AllowAutoDeactivate= True
AllowFocus = False
AllowFocusRing = True
AllowTabs = False
Backdrop = 0
Enabled = True
Height = 128
Index = -2147483648
Left = 203
LockBottom = False
LockedInPosition= False
LockLeft = True
LockRight = False
LockTop = True
Scope = 0
TabIndex = 0
TabPanelIndex = 0
TabStop = True
Tooltip = ""
Top = 31
Transparent = True
Visible = True
Width = 128
End
Begin DesktopLabel Label1
AllowAutoDeactivate= True
Bold = True
Enabled = True
FontName = "System"
FontSize = 24.0
FontUnit = 0
Height = 42
Index = -2147483648
Italic = False
Left = 217
LockBottom = False
LockedInPosition= False
LockLeft = True
LockRight = False
LockTop = True
Multiline = False
Scope = 0
Selectable = False
TabIndex = 1
TabPanelIndex = 0
TabStop = True
Text = "XUI"
TextAlignment = 2
TextColor = &c000000
Tooltip = ""
Top = 171
Transparent = False
Underline = False
Visible = True
Width = 100
End
End
#tag EndDesktopWindow

#tag WindowCode
#tag Event
Sub Opening()
Self.Center
End Sub
#tag EndEvent


#tag MenuHandler
Function FileCloseWindow() As Boolean Handles FileCloseWindow.Action
Self.Hide

Return True

End Function
#tag EndMenuHandler


#tag EndWindowCode

#tag Events CanvasIcon
#tag Event
Sub Paint(g As Graphics, areas() As Rect)
g.DrawPicture(AboutIcon, 0, 0)
End Sub
#tag EndEvent
#tag EndEvents
#tag ViewBehavior
#tag ViewProperty
Name="Name"
Visible=true
Group="ID"
InitialValue=""
Type="String"
EditorType=""
#tag EndViewProperty
#tag ViewProperty
Name="Interfaces"
Visible=true
Group="ID"
InitialValue=""
Type="String"
EditorType=""
#tag EndViewProperty
#tag ViewProperty
Name="Super"
Visible=true
Group="ID"
InitialValue=""
Type="String"
EditorType=""
#tag EndViewProperty
#tag ViewProperty
Name="Width"
Visible=true
Group="Size"
InitialValue="600"
Type="Integer"
EditorType=""
#tag EndViewProperty
#tag ViewProperty
Name="Height"
Visible=true
Group="Size"
InitialValue="400"
Type="Integer"
EditorType=""
#tag EndViewProperty
#tag ViewProperty
Name="MinimumWidth"
Visible=true
Group="Size"
InitialValue="64"
Type="Integer"
EditorType=""
#tag EndViewProperty
#tag ViewProperty
Name="MinimumHeight"
Visible=true
Group="Size"
InitialValue="64"
Type="Integer"
EditorType=""
#tag EndViewProperty
#tag ViewProperty
Name="MaximumWidth"
Visible=true
Group="Size"
InitialValue="32000"
Type="Integer"
EditorType=""
#tag EndViewProperty
#tag ViewProperty
Name="MaximumHeight"
Visible=true
Group="Size"
InitialValue="32000"
Type="Integer"
EditorType=""
#tag EndViewProperty
#tag ViewProperty
Name="Type"
Visible=true
Group="Frame"
InitialValue="0"
Type="Types"
EditorType="Enum"
#tag EnumValues
"0 - Document"
"1 - Movable Modal"
"2 - Modal Dialog"
"3 - Floating Window"
"4 - Plain Box"
"5 - Shadowed Box"
"6 - Rounded Window"
"7 - Global Floating Window"
"8 - Sheet Window"
"9 - Metal Window"
"11 - Modeless Dialog"
#tag EndEnumValues
#tag EndViewProperty
#tag ViewProperty
Name="Title"
Visible=true
Group="Frame"
InitialValue="Untitled"
Type="String"
EditorType=""
#tag EndViewProperty
#tag ViewProperty
Name="HasCloseButton"
Visible=true
Group="Frame"
InitialValue="True"
Type="Boolean"
EditorType=""
#tag EndViewProperty
#tag ViewProperty
Name="HasMaximizeButton"
Visible=true
Group="Frame"
InitialValue="True"
Type="Boolean"
EditorType=""
#tag EndViewProperty
#tag ViewProperty
Name="HasMinimizeButton"
Visible=true
Group="Frame"
InitialValue="True"
Type="Boolean"
EditorType=""
#tag EndViewProperty
#tag ViewProperty
Name="HasFullScreenButton"
Visible=true
Group="Frame"
InitialValue="False"
Type="Boolean"
EditorType=""
#tag EndViewProperty
#tag ViewProperty
Name="Resizeable"
Visible=true
Group="Frame"
InitialValue="True"
Type="Boolean"
EditorType=""
#tag EndViewProperty
#tag ViewProperty
Name="Composite"
Visible=false
Group="OS X (Carbon)"
InitialValue="False"
Type="Boolean"
EditorType=""
#tag EndViewProperty
#tag ViewProperty
Name="MacProcID"
Visible=false
Group="OS X (Carbon)"
InitialValue="0"
Type="Integer"
EditorType=""
#tag EndViewProperty
#tag ViewProperty
Name="FullScreen"
Visible=false
Group="Behavior"
InitialValue="False"
Type="Boolean"
EditorType=""
#tag EndViewProperty
#tag ViewProperty
Name="DefaultLocation"
Visible=true
Group="Behavior"
InitialValue="2"
Type="Locations"
EditorType="Enum"
#tag EnumValues
"0 - Default"
"1 - Parent Window"
"2 - Main Screen"
"3 - Parent Window Screen"
"4 - Stagger"
#tag EndEnumValues
#tag EndViewProperty
#tag ViewProperty
Name="Visible"
Visible=true
Group="Behavior"
InitialValue="True"
Type="Boolean"
EditorType=""
#tag EndViewProperty
#tag ViewProperty
Name="ImplicitInstance"
Visible=true
Group="Windows Behavior"
InitialValue="True"
Type="Boolean"
EditorType=""
#tag EndViewProperty
#tag ViewProperty
Name="HasBackgroundColor"
Visible=true
Group="Background"
InitialValue="False"
Type="Boolean"
EditorType=""
#tag EndViewProperty
#tag ViewProperty
Name="BackgroundColor"
Visible=true
Group="Background"
InitialValue="&cFFFFFF"
Type="ColorGroup"
EditorType="ColorGroup"
#tag EndViewProperty
#tag ViewProperty
Name="Backdrop"
Visible=true
Group="Background"
InitialValue=""
Type="Picture"
EditorType=""
#tag EndViewProperty
#tag ViewProperty
Name="MenuBar"
Visible=true
Group="Menus"
InitialValue=""
Type="DesktopMenuBar"
EditorType=""
#tag EndViewProperty
#tag ViewProperty
Name="MenuBarVisible"
Visible=true
Group="Deprecated"
InitialValue="False"
Type="Boolean"
EditorType=""
#tag EndViewProperty
#tag EndViewBehavior
Loading

0 comments on commit 32fe3b8

Please sign in to comment.