Forums

Testing Feeback
Last Post 19 Sep 2014 05:23 PM by gogman. 56 Replies.
Printer Friendly
  •  
  •  
  •  
  •  
  •  
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Page 3 of 3 << < 123
Author Messages
BamYaziUser is Offline
New Member
New Member
Posts:42


--
24 Jul 2014 10:08 PM
Have a great holiday
Filip DušekUser is Offline
Advanced Member
Advanced Member
Posts:672


--
25 Jul 2014 11:27 AM
The problem is bit more complicated than i thought, so i will do proper fix after holiday (or during, if there is bad weather ).
BamYaziUser is Offline
New Member
New Member
Posts:42


--
25 Jul 2014 11:43 AM
There's no rush - i've got plenty of other stuff to work on so it's not holding me back

Enjoy your holidiay!
Filip DušekUser is Offline
Advanced Member
Advanced Member
Posts:672


--
04 Aug 2014 02:02 PM
I'm back . I fixed selected index issue, empty templates issue and list box inside tab control issue. Going to check full screen issue now.
Filip DušekUser is Offline
Advanced Member
Advanced Member
Posts:672


--
04 Aug 2014 02:17 PM
OK, full screen is problem of SunBurn tho. You can "fix it" by setting parameters (example for 720p)

        public override void OnPreparePresentationParameters(PresentationParameters parameters)
        {
            parameters.BackBufferWidth = 1280;
            parameters.BackBufferHeight = 720;
            parameters.DepthStencilFormat = DepthFormat.Depth24Stencil8;
            parameters.FullScreen = true;
        }


If you don't set Back buffer width and height, mouse will be still for 800x480. There is still issue with this, coz for some reason viewport is actually bigger then resolution. I will report this behavior.
BamYaziUser is Offline
New Member
New Member
Posts:42


--
05 Aug 2014 10:37 AM
Hi Filip, hope you had a good holiday....

I just tested the latest release and am stilll getting a problem with binding a Listbox with a template in a TabControl,

            <!-- Brush Picker -->
            <Border Width="500" Height="300" Background="#252525" BorderBrush="Black" BorderThickness="1"
                    Visibility="{Binding BrushPickerVisibility}">
                <StackPanel Orientation="Vertical">
                    <Border Style="{StaticResource DialogTitle}" Padding="5">
                        <TextBlock Foreground="#FFFFFF" Text="Select Brush" />
                    </Border>

                    <!-- THIS WORKS -->
                    <ListBox Height="100" ItemsSource="{Binding WallTiles}" SelectedItem="{Binding SelectedWallTile}" >
                        <ListBox.ItemTemplate>
                            <DataTemplate>
                                <Border Padding="5" Width="480">
                                    <StackPanel>
                                        <TextBlock Text="{Binding Name}" />
                                    </StackPanel>
                                </Border>
                            </DataTemplate>
                        </ListBox.ItemTemplate>
                    </ListBox>
           
                    <!-- THIS DOESN&#39;T -->
                    <TabControl Height="100" SelectedIndex="{Binding SelectedBrushDialogTabIndex}">
                        <TabItem Header="Floors">
                            <ListBox ItemsSource="{Binding FloorTiles}" SelectedItem="{Binding SelectedFloorTile}" >
                                <ListBox.ItemTemplate>
                                    <DataTemplate>
                                        <Border Padding="5" Width="480">
                                            <StackPanel>
                                                <TextBlock Text="{Binding Name}" />
                                            </StackPanel>
                                        </Border>
                                    </DataTemplate>
                                </ListBox.ItemTemplate>
                            </ListBox>
                        </TabItem>
                        <TabItem Header="Walls">
                            
                            <ListBox ItemsSource="{Binding WallTiles}" SelectedItem="{Binding SelectedWallTile}" >
                                <ListBox.ItemTemplate>
                                    <DataTemplate>
                                        <Border Padding="5" Width="480">
                                            <StackPanel>
                                                <TextBlock Text="{Binding Name}" />
                                            </StackPanel>
                                        </Border>
                                    </DataTemplate>
                                </ListBox.ItemTemplate>
                            </ListBox>
                            
                        </TabItem>
                        <TabItem Header="Decoration">
                            <ListBox ItemsSource="{Binding DecorationTiles}" SelectedItem="{Binding SelectedDecorationTile}" >
                                <ListBox.ItemTemplate>
                                    <DataTemplate>
                                        <Border Padding="5" Width="480">
                                            <StackPanel>
                                                <TextBlock Text="{Binding Name}" />
                                            </StackPanel>
                                        </Border>
                                    </DataTemplate>
                                </ListBox.ItemTemplate>
                            </ListBox>
                        </TabItem>
                        <TabItem Header="Items">
                            <ListBox ItemsSource="{Binding Items}" SelectedItem="{Binding SelectedItem}" >
                                <ListBox.ItemTemplate>
                                    <DataTemplate>
                                        <Border Padding="5" Width="480">
                                            <StackPanel>
                                                <TextBlock Text="{Binding Name}" />
                                            </StackPanel>
                                        </Border>
                                    </DataTemplate>
                                </ListBox.ItemTemplate>
                            </ListBox>
                        </TabItem>
                        <TabItem Header="Mobs">
                            <ListBox ItemsSource="{Binding Mobs}" SelectedItem="{Binding SelectedMob}" >
                                <ListBox.ItemTemplate>
                                    <DataTemplate>
                                        <Border Padding="5" Width="480">
                                            <StackPanel>
                                                <TextBlock Text="{Binding Name}" />
                                            </StackPanel>
                                        </Border>
                                    </DataTemplate>
                                </ListBox.ItemTemplate>
                            </ListBox>
                        </TabItem>
                    </TabControl>
                    
                    <Border BorderThickness="0,1,0,0" BorderBrush="#000000">
                        <StackPanel Height="32" Orientation="Horizontal" HorizontalAlignment="Right">
                            <Button Margin="1,0,0,0" Width="100" Style="{StaticResource DialogButton}" Content="OK" Command="{Binding BrushDialogOkCommand}" />                            
                            <Button Margin="1,0,0,0" Width="100" Style="{StaticResource DialogButton}" Content="Cancel" Command="{Binding BrushDialogCancelCommand}" />                            
                        </StackPanel>
                    </Border>
                </StackPanel>
            </Border>
 
Filip DušekUser is Offline
Advanced Member
Advanced Member
Posts:672


--
05 Aug 2014 01:56 PM
i didnt release fixed version yet. Testing it today.
Filip DušekUser is Offline
Advanced Member
Advanced Member
Posts:672


--
05 Aug 2014 05:21 PM
fixed one more bug with Selected Item and it's ready for release tomorrow
BamYaziUser is Offline
New Member
New Member
Posts:42


--
11 Aug 2014 04:10 PM
Nice release, i've not tried the new features yet - but everything i added to my UI today worked great - starting to feel a lot more stable now and i've pretty much got a working level editor Great work
Filip DušekUser is Offline
Advanced Member
Advanced Member
Posts:672


--
11 Aug 2014 08:21 PM
cool, I am going to pick one more control (ToolTip prolly) before release and maybe one more feature (Event Triggers maybe) then wait for new SunBurn release to finish it up.

There is a web store ready here on web pages, I finally finished configuration. Store will be only for modules etc. Library stays free.

UI Generator is ready to go Open Source on github. Just doing final polishing.

Is there any feature you would like to have? Something really important?
BamYaziUser is Offline
New Member
New Member
Posts:42


--
12 Aug 2014 10:50 AM
In terms of features i would love to see support for attached behaviors since it would add a whole lot of functionality to the library, but i appreciate that it's probably a LOT of work and beyond the scope of V1 , To be honest in terms of what i need at the moment to build my editor UI everything is in place although treeview control would be useful.

Something that would be very nice would be the ability to supply a mouse transform matrix which would be applied to all mouse clicks so you could use the Xaml UI in 3D - ie render to texture and use the texture to render and in game console for example, it would also mean i could use a Xaml UI for when i get my Oculus DK2 working with Sunburn.

Other than that i think you've got a pretty solid V1 release

Definately looking forward to getting my hands on the UI Generator

I was having some problems last night with the Textbox control (peculiar keyboard mapping - this may be a Sunburn issue) certain keys mainly non alphanumeric eg ,.<> either have no effect or generate the wrong character. eg full stop '.' generates a forwardslash ''/'





Filip DušekUser is Offline
Advanced Member
Advanced Member
Posts:672


--
12 Aug 2014 12:03 PM
Treelist is hardcore, but still on my list. I already tried to render UI in 3D and is "sort of working" (turned off in release). There are some issues I will have to solve tho.

UI Generator is out on github - http://github.com/EmptyKeys/UI_Generator

Yeah, SunBurn key input is NOT OK. Bug was reported some time ago and fixed. Should be in next SunBurn release.
BamYaziUser is Offline
New Member
New Member
Posts:42


--
17 Aug 2014 11:31 AM
Just come across a control that would be incredibly useful is a Numeric entry control with the Up/Down edit controls.

Not had a chance to have a look at the Generator yet - hopefully next week
Filip DušekUser is Offline
Advanced Member
Advanced Member
Posts:672


--
17 Aug 2014 11:37 PM
OK, writing that down

I was working on the first UI module last week and fixed tons of bugs in binding etc. Release soon
gogmanUser is Offline
New Member
New Member
Posts:2


--
19 Sep 2014 03:25 PM
Using the latest Sunburn F refresh PresentationParameters and initializing the display as follows:

public override void OnPreparePresentationParameters(PresentationParameters parameters)
{
parameters.BackBufferWidth = 1280;
parameters.BackBufferHeight = 720;
parameters.DepthStencilFormat = DepthFormat.Depth24Stencil8;
parameters.ResizeToTargetWindow = false;
parameters.WindowMode = WindowMode.FullscreenBorderless;
}

In the F refresh of Sunburn, the Fullscreen property on the PresentationParameters object seems to have gone missing.

The actual resolution of the display is 1920x1080.

The UI is drawn and scaled correctly however it is tracking the mouse on the screen while ignoring the scaling. So all hover/click events happen in the upper left of the screen.
Filip DušekUser is Offline
Advanced Member
Advanced Member
Posts:672


--
19 Sep 2014 04:06 PM
I see. On ResizeToTargetWindow false, NormalizedX and NormalizedY are wrong. On true MouseState.MouseAreaHeight and Width are wrong. I will ask on SunBurn forums, already reported bug on full screen problems before. Thanks for reporting
gogmanUser is Offline
New Member
New Member
Posts:2


--
19 Sep 2014 05:23 PM
No problem Thanks for all the hard work you are putting into this. This is a truly spectacular product.
You are not authorized to post a reply.
Page 3 of 3 << < 123