Klamp Posted February 7, 2017 Share Posted February 7, 2017 An option to dsplay a clock in bigbox would be nice. Quote Link to comment Share on other sites More sharing options...
Lordmonkus Posted February 7, 2017 Share Posted February 7, 2017 No, I don't need to know what time it is, it wrecks my immersion. Just kidding, a clock would be a great addition. 3 Quote Link to comment Share on other sites More sharing options...
TheMadMan007 Posted February 7, 2017 Share Posted February 7, 2017 A clock would be rad, but I wish there was some way to add a timer that started whenever you started a game, then when you ended it, that it would pop up and say how much time you played, or at least like how steam has it and has it where it tells you how much time you've played that title in its entirety. Quote Link to comment Share on other sites More sharing options...
damageinc86 Posted February 17, 2017 Share Posted February 17, 2017 yes please i keep forgetting what time it is lol. Quote Link to comment Share on other sites More sharing options...
Cookz718 Posted August 27, 2017 Share Posted August 27, 2017 funny its been done numerous of times yet nobody has answered the question smh.... Quote Link to comment Share on other sites More sharing options...
neil9000 Posted August 27, 2017 Share Posted August 27, 2017 Try this. Quote Link to comment Share on other sites More sharing options...
Cookz718 Posted August 27, 2017 Share Posted August 27, 2017 1 minute ago, neil9000 said: Try this. thanks ! but i was leaning more into does anyone know the Codings.. im currently creating a theme and would like some sort of coding to add a digital Quote Link to comment Share on other sites More sharing options...
eatkinola Posted August 27, 2017 Share Posted August 27, 2017 2 hours ago, Cookz718 said: but i was leaning more into does anyone know the Codings.. im currently creating a theme and would like some sort of coding to add a digital The link @neil9000 provided is to Grila's custom control set, which includes a custom WPF control to add the time. My control set AO Bigbox Customs also has a time/clock control. There is also more recently a binding Jason made available, so you don't need a custom control. I pulled the following excerpt from CriticalZone V2 to give you and idea how to use this binding: <!-- TIME --> <TextBlock x:Name="Clock" Text="{Binding CurrentTime}" /> <!-- DATE --> <TextBlock Text="{Binding Source={x:Static sys:DateTime.Today}, StringFormat='{}{0:MMM-dd-yyyy}'}" /> Try it out and see if it works for you. Quote Link to comment Share on other sites More sharing options...
neil9000 Posted August 27, 2017 Share Posted August 27, 2017 1 minute ago, eatkinola said: My control set AO Bigbox Customs also has a time/clock control Ah sorry didn't realise you had one as well, i know nothing about theme development but remembered that grilla had done some work to make it easier for people. Quote Link to comment Share on other sites More sharing options...
eatkinola Posted August 27, 2017 Share Posted August 27, 2017 17 minutes ago, neil9000 said: Ah sorry didn't realise you had one as well No need for all that! Just wanted @Cookz718 to have some different options. Thanks for all the forum help you provide, glad you finally got your mod badge! Quote Link to comment Share on other sites More sharing options...
Cookz718 Posted August 27, 2017 Share Posted August 27, 2017 2 hours ago, eatkinola said: The link @neil9000 provided is to Grila's custom control set, which includes a custom WPF control to add the time. My control set AO Bigbox Customs also has a time/clock control. There is also more recently a binding Jason made available, so you don't need a custom control. I pulled the following excerpt from CriticalZone V2 to give you and idea how to use this binding: <!-- TIME --> <TextBlock x:Name="Clock" Text="{Binding CurrentTime}" /> <!-- DATE --> <TextBlock Text="{Binding Source={x:Static sys:DateTime.Today}, StringFormat='{}{0:MMM-dd-yyyy}'}" /> Try it out and see if it works for you. thanks ! trying it out but no luck.. not sure if im doing anything wrong (literally i just copied & pasted this) i placed it on Platformwheel3 am i suppose to put it else where ?? Forgive me once again.. total noob over here lol Quote Link to comment Share on other sites More sharing options...
Rincewind Posted August 27, 2017 Share Posted August 27, 2017 @Cookz718 can you show us the whole code for the platformwheel3 with your changes and we should be able to help more Quote Link to comment Share on other sites More sharing options...
Cookz718 Posted August 27, 2017 Share Posted August 27, 2017 (edited) @Rincewind Edited August 27, 2017 by Cookz718 Quote Link to comment Share on other sites More sharing options...
Rincewind Posted August 27, 2017 Share Posted August 27, 2017 <!--CLOCK--> <DockPanel Grid.Column="0" Grid.Row="0" Panel.ZIndex="10" > <Viewbox VerticalAlignment="Center" HorizontalAlignment="Center" StretchDirection="DownOnly" DockPanel.Dock="Right" > <TextBlock Text="{Binding CurrentTime}" FontFamily="Segoe UI Light" FontSize="30" > <TextBlock.Foreground> <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0"> <GradientStop Color="white" Offset="1"/> <GradientStop Color="Gray"/> </LinearGradientBrush> </TextBlock.Foreground> <TextBlock.Effect> <DropShadowEffect ShadowDepth="4" Direction="310" Color="Black" Opacity="0.7" BlurRadius="4"/> </TextBlock.Effect> </TextBlock> </Viewbox> </DockPanel> Quote Link to comment Share on other sites More sharing options...
Rincewind Posted August 27, 2017 Share Posted August 27, 2017 Try playing around with this code, changing the "row" and "column" or take a look at the code in other themes Quote Link to comment Share on other sites More sharing options...
Cookz718 Posted August 27, 2017 Share Posted August 27, 2017 11 minutes ago, Rincewind said: <!--CLOCK--> <DockPanel Grid.Column="0" Grid.Row="0" Panel.ZIndex="10" > <Viewbox VerticalAlignment="Center" HorizontalAlignment="Center" StretchDirection="DownOnly" DockPanel.Dock="Right" > <TextBlock Text="{Binding CurrentTime}" FontFamily="Segoe UI Light" FontSize="30" > <TextBlock.Foreground> <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0"> <GradientStop Color="white" Offset="1"/> <GradientStop Color="Gray"/> </LinearGradientBrush> </TextBlock.Foreground> <TextBlock.Effect> <DropShadowEffect ShadowDepth="4" Direction="310" Color="Black" Opacity="0.7" BlurRadius="4"/> </TextBlock.Effect> </TextBlock> </Viewbox> </DockPanel> You are a damn miracle worker !!! lol thank you soo much !! going to change the font and also the positioning. Will update you within the next few minutes (learning as i go, everything is trial & error) Quote Link to comment Share on other sites More sharing options...
Cookz718 Posted August 27, 2017 Share Posted August 27, 2017 9 minutes ago, Rincewind said: Try playing around with this code, changing the "row" and "column" or take a look at the code in other themes trying to move it to the corner & the size as well which numbers do u suggest i mess around with ? i should be off your hairs after that jejeje i truly appreciate the help ! Quote Link to comment Share on other sites More sharing options...
Rincewind Posted August 27, 2017 Share Posted August 27, 2017 Which corner left or right? Size of font will change the... Font size but you will probably have to remove the "stretchdirection=downonly" part I think Quote Link to comment Share on other sites More sharing options...
Cookz718 Posted August 27, 2017 Share Posted August 27, 2017 Just now, Rincewind said: Which corner left or right? Size of font will change the... Font size but you will probably have to remove the "stretchdirection=downonly" part I think Something like this ! have the time on the right corner like that (ill mess with the size & font) and also have on both ends that the previous or the next Platform doesn't show.. Once i have those 2 done i may be able to do the rest and finish up maybe even by tomorrow. The concept im aiming for is something very elegant / clean ! and im sure everyone would love and appreciate. With you helping i will def give you Credit as well 1 Quote Link to comment Share on other sites More sharing options...
Rincewind Posted August 27, 2017 Share Posted August 27, 2017 It's looking very good I like the clock like that , no need to credit me I'm learning too Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.