Giter Club home page Giter Club logo

gwen-dotnet's People

Contributors

clonedeath avatar snorkel456 avatar

gwen-dotnet's Issues

Resize arrow are avaible on MessageBox and don't works

What steps will reproduce the problem?
1. Create a Messabox.
2. Put your mouse near the left, right and bottom border, a resize arrow is 
visible.


What is the expected output? What do you see instead?
MessageBox normally can't be resize. The problem is not really here, the arrow 
are avaible and the MessageBox can't be resize by the user, so it's useless. 
And if you try to resize the MessageBox with the right border it's moving the 
MessageBox.


What version of the product are you using? On what operating system?
Gwen.Net Revision 144, SFML 2.0, .Net 4.5


Original issue reported on code.google.com by [email protected] on 25 Aug 2013 at 3:35

OpenTK render throwing System.Runtime.CompilerServices.ExtensionAttribute exception on mono

What steps will reproduce the problem?
1. include base library
2. run project that receates the renderer
3. get exception from System.Runtime.CompilerServices.ExtensionAttribute


What version of the product are you using? On what operating system?
mono 2.10.8.1 on Ubuntu 13.4 and mono 2.10.9 on windows 8

Please provide any additional information below.

This can be fixed by changing the target runtime on the opentk renderer project 
to the full .net4/mono framework from the .net4 client profile and  recompiling



Original issue reported on code.google.com by [email protected] on 9 Jul 2013 at 4:22

Modal windows not locking input fast enough

Repro: Open Window unit test and start spam clicking the "Open Message Box" 
button. Several Message Boxes will open, even if they are modal and input 
should be blocked after the first one.

Original issue reported on code.google.com by [email protected] on 22 Sep 2011 at 10:58

Gwen.Sample.OpenTK left-hand menu appears white with DefaultSkin.png

What steps will reproduce the problem?
1. Compile and run Gwen.Sample.OpenTK, making sure DefaultSkin.png is in target 
directory
2. Observe that left-hand list of tests is flat white: white text on white 
background.
3. Randomly recolor the bottom portion of DefaultSkin.png with Paint.
4. Re-run Gwen.Sample.OpenTK, noting that the text and background now appear in 
random colors drawn from somewhere in the now-defaced DefaultSkin.png.

What is the expected output? What do you see instead?

Tasteful and legible colors for text with default skin.

What version of the product are you using? On what operating system?

r90

Please provide any additional information below.

I am unfamiliar with the GWEN skin format.  Is this a problem with the skin 
itself, or is the library not loading colors from the correct positions?  
Either way, it's a bit disheartening for the unit test to fail so badly right 
off the bat, likely for a non-"technical" reason.  (I got a chance to poke 
through the library before realizing what was wrong, though; looks nicely-done!)

Original issue reported on code.google.com by [email protected] on 6 Feb 2012 at 6:56

NumericUpDown's text field can't be edited

Min-max constraints prevent editing if the temporary text falls out of range. 
Possible solution: allow out-of-range values but mark control value as invalid 
(and add red outline or something).

Original issue reported on code.google.com by [email protected] on 5 Mar 2012 at 11:59

Patch for OpenTK renderer

Hello, these are the changes I made to the OpenTK renderer for my project.

- Switched from immediate mode to vertex buffers
- Eliminated all unsafe code
- Fixed m_StringFormat not being disposed with the renderer

One possible hitch: since updating GWEN today I've started having some layout 
issues. They disappear when I switch to the old build (built from the last 
change in 2012) so I doubt they are related to the renderer though.

Original issue reported on code.google.com by [email protected] on 6 Jul 2013 at 3:22

Attachments:

SFML: texture loading fails sometimes

What steps will reproduce the problem?
1. Launch SFML sample.
2. Open MenuStrip test.
3. Open menus, there are icons missing.

test16.png fails to load apparently, but it works in Button test. Process 
Explorer shows no handle to the file (even if the Button test is open). Menu 
icons don't work even if Button and Tab tests are commented out (both use 
test16.png).

Something wrong with disposing? Sharing native handle in SFML?

This may be related with screenshots not working if certain tests are open: 
Image.SaveToFile fails somehow (but texture from Window.Capture seems to work).

Original issue reported on code.google.com by [email protected] on 12 Sep 2011 at 4:56

Button clicks do not register when clicking on image set by Button.SetImage

Basic code:
  Button button = new Button(DisplayCanvas);
  button.SetImage("images/control_play_blue.png");

What is the expected output?
Clicking anywhere within the boundaries of the button should trigger the 
Button.Clicked event. Instead, when clicking on the image the event does not 
trigger.

What version of the product are you using? On what operating system?
Using the latest version of Gwen and the SFML.net 2.1 32bit binaries provided 
on the SFML site. Win7 x64. Compiled on VS2010 SP1 for x86.


Original issue reported on code.google.com by [email protected] on 7 Sep 2013 at 7:08

GWen.net resizing solution and the combination of keys Alt+enter to fullScreen

Today I discovered your project GWen.net, I liked it, but I found that resizing 
the window does not work well, and the key combination Alt + Enter (fullscreen).

I modified the following methods:

SimpleGwenGame.cs

        bool altDown = false;

        void Keyboard_KeyDown(object sender, KeyboardKeyEventArgs e)
        {
            if (e.Key == global::OpenTK.Input.Key.Escape)
                Exit();
            else if (e.Key == global::OpenTK.Input.Key.AltLeft)
                altDown = true;
            else if (altDown && e.Key == global::OpenTK.Input.Key.Enter)
                if (WindowState == WindowState.Fullscreen)
                    WindowState = WindowState.Normal;
                else
                    WindowState = WindowState.Fullscreen;

            input.ProcessKeyDown(e);
        }

        void Keyboard_KeyUp(object sender, KeyboardKeyEventArgs e)
        {
            altDown = false;
            input.ProcessKeyUp(e);
        }

        protected override void OnLoad(EventArgs e)
        {
            GL.ClearColor(Color.MidnightBlue);

            renderer = new Gwen.Renderer.OpenTK();
            skin = new Gwen.Skin.TexturedBase(renderer, "DefaultSkin.png");
            //skin = new Gwen.Skin.Simple(renderer);
            skin.DefaultFont = new Font(renderer, "Courier", 10);
            canvas = new Canvas(skin);

            input = new Input.OpenTK();
            input.Initialize(canvas);

            canvas.SetSize(Width, Height);
            canvas.ShouldDrawBackground = true;
            canvas.BackgroundColor = Color.FromArgb(255, 150, 170, 170);
            //canvas.KeyboardInputEnabled = true;

            test = new UnitTest.UnitTest(canvas);

            stopwatch.Restart();
            lastTime = 0;
        }
        protected override void OnResize(EventArgs e)
        {
            GL.Viewport(0, 0, Width, Height);
            GL.MatrixMode(MatrixMode.Projection);
            GL.LoadIdentity();
            GL.Ortho(0, Width, Height, 0, -1, 1);

            canvas.SetSize(Width, Height);
        }


Greetings ...

Miguel

https://sites.google.com/site/bitiopia/

Original issue reported on code.google.com by [email protected] on 21 Dec 2011 at 6:27

Mutliselect Listbox Uses Wrong Texture Offset

What steps will reproduce the problem?
1. Load any example.
2. Choose ListBox example.
3. Mutliselect items.

What is the expected output? What do you see instead?
Clean; crisp colors.

What version of the product are you using? On what operating system?
r144
Windows 7

Please provide any additional information below.
The texture offset while using TexturedBase skin is wrong for 
'Textures.Input.ListBox.EvenLineSelected'. It should be:

Textures.Input.ListBox.EvenLineSelected = new Bordered(m_Texture, 320, 256, 31, 
31, Margin.Eight);

It is set to 270 instead of 256 for the Y position.

Original issue reported on code.google.com by [email protected] on 24 Oct 2013 at 8:16

Can't load fonts with SFML Renderer

What steps will reproduce the problem?
1. Develop GUI with SFML renderer.
2. Load a custom Font into the renderer.


What is the expected output? What do you see instead?
The font isn't load.


What version of the product are you using? On what operating system?
Gwen.net Revision 144 (the last) with SFML 2.0, .Net 4.5


Please provide any additional information below.
The problem is at the line 114 of the SFML renderer, RenderData are not set. We 
can see that in the catch block the operation is made correctly but not in the 
try one :)

Just add after the line 114 :
sfFont.GetTexture((uint)font.Size).Smooth = font.Smooth;
font.RendererData = sfFont;

It will works :)

Thanks for resolve this problem.




Original issue reported on code.google.com by [email protected] on 25 Aug 2013 at 3:24

Default skin not loaded

What steps will reproduce the problem?
1. Compile SFML sample
2. Run it

What is the expected output? What do you see instead?

The expected output is the SFML sample running perfectly.
The problem is that the widgets have not styles, everythings is black.


What version of the product are you using? On what operating system?
Svn checkout with r100, running with mono.
Screenshot attached.


Original issue reported on code.google.com by [email protected] on 3 Jun 2012 at 9:11

Attachments:

Table layout only works with Labels

What steps will reproduce the problem?
1. Create a table
2. Add a row
3. Add non-label controls

What is the expected output? What do you see instead?
I expect the rows and columns to resize to fit the controls I have added. 
Instead the controls are squished and positioned at the start (left) of each 
row.

What version of the product are you using? On what operating system?
trunk, debian Linux

Please provide any additional information below.
Maybe I am doing something wrong. I understand controls are added as "children" 
of labels in the tablerow.

The above, of course, also applies to ListBoxes.
The only workaround I have found is forget about Tables and use Positioners 
instead.

Original issue reported on code.google.com by cpolymeris on 10 Jul 2013 at 7:42

SFML renderer broken

What steps will reproduce the problem?
1. Run UnitTest
2. sfFont is null

Reverting the changes made to SFML.cs in r102 and removing the "mono bug 
workaround" in the same file fixes the sfFont being null and another issue, but 
the rendering is still broken. See attached screenshot.


What version of the product are you using? On what operating system?
trunk, on Linux

Is the SFML renderer not up to date? What is the recommended renderer? I am 
using the latest SFML, SFML.Net and CSFML.

Original issue reported on code.google.com by cpolymeris on 8 Jul 2013 at 12:39

Attachments:

OpenTK Unit Tests broken.

What steps will reproduce the problem?
1. Upgraded to latest from SVN and the latest 
2. Attempted to run the unittest. The menu on the left is broken.
3. User is able to click on items on the menu. 


What is the expected output? What do you see instead?
There should be visible menuitems on the left.

What version of the product are you using? On what operating system?
Latest from SVN.

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 6 Mar 2012 at 5:40

Attachments:

TextBox doesn't accept special characters on FI / Swe keyboard.

What steps will reproduce the problem?
1. Switch your keyboard to Finnish or Swedish
2. Press Alt Gr - 2 (combination for @)
3. Press gets interpreted as Ctrl -press and is ignored.

What is the expected output? What do you see instead?
Text box doesn't output anything.


What version of the product are you using? On what operating system?
Latest from SVN.

Original issue reported on code.google.com by [email protected] on 6 Mar 2012 at 5:37

Unable to Run Sample SFML

What steps will reproduce the problem?
1. Download a fresh copy of the Gwen dotNet project
2. Copy the csfml dlls
3. Run the solution 

What is the expected output? What do you see instead?

I expect to see the Unit test window with the controls

All i get is an error:

"An unhandled exception of type 'System.BadImageFormatException' occurred in 
Unknown Module.

Additional information: Could not load file or assembly 'sfmlnet-graphics-2, 
Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its 
dependencies. An attempt was made to load a program with an incorrect format."

What version of the product are you using? On what operating system?

Using VS Community 2013 
Windows 10

Original issue reported on code.google.com by [email protected] on 22 Dec 2014 at 12:14

[OpenTK]Weird chars

http://i40.tinypic.com/903sy0.png

The same problem is in the example of OpenTK and Tao. Only SFML is "normal".

Another question: canvas and controls need to be dispose at the end?

Original issue reported on code.google.com by [email protected] on 20 Feb 2012 at 10:43

Table/ListBox SizeToContents/Children not working

What steps will reproduce the problem?
1. Create a ListBox
2. Add some rows
3. Call SizeToChildren()

What is the expected output? What do you see instead?
- Expected resizing to fit content. Actual: no change.

Original issue reported on code.google.com by [email protected] on 1 Mar 2012 at 3:33

CheckBoxWithLabel renders font incorrectly (textured skin)

SFML renderer. Text on the label is corrupted like the font was not loaded.

If another font is assigned to the label, it renders correctly. If default skin 
font is assigned explicitly, it's still corrupted, but all other controls in 
frame render correctly.

Original issue reported on code.google.com by [email protected] on 7 Aug 2011 at 8:38

OpenTK Renderer not restoring previous states/values.

The OpenTK renderer doesn't restore any caps, states or vals that it changes.  
To remedy this, I added some code to Begin() and End() that restores 
everything, so as not to mess with any rendering that takes place outside of 
the UI.  I have attached the modified Gwen.Renderer.OpenTK.cs.

I will also look into the issue with caret placement being incorrent.  If and 
when I find a solution, I will post that also.

In a few days, I will post a modified Gwen.Input.OpenTK that handles most (if 
not all) keys on the keyboard, including shift values (1/!, a/A, etc) and many 
keyboard layouts.  Not having support for number/keypad keys was hindering my 
progress, so I went ahead and fixed it :P

Original issue reported on code.google.com by [email protected] on 19 Jan 2012 at 6:51

Attachments:

Textboxes cursor incorrectly positioned when using SFML Renderer

Steps to reproduce:

1- Use Linux (Ubuntu in my case)
2- Run monodevelop and load GWEN dotnet solution from the SVN build
3- Compile (using DLLMAPS as appropriate)
4- Solve the null sfFont bug (follow steps from #)
5- Fix the default missing fonts bug (Motorwerk, etc... paths are not Linux 
friendly) at line 109 with the following workaround (set the Arial.ttf path as 
appropriate):

try
{
sfFont = new global::SFML.Graphics.Font(font.FaceName);
}
catch (LoadingFailedException)
{
sfFont = new global::SFML.Graphics.Font("/full/path/to/any/font/Arial.ttf");
}

6- Finally, run the SFML Sample application and check the Textbox unit test.


All the textboxes have their writing cursor shifted several positions or lines 
from their true position. I mean, from the position where the cursor blinks, it 
writes several positions behind.

Original issue reported on code.google.com by [email protected] on 5 Nov 2013 at 10:03

TimedAnimation "purely virtual function" error

What steps will reproduce the problem?
1.  Attempting to call Anim_WidthIn, Anim_WidthOut, Anim_HeightIn, or 
Anim_HeightOut on any control.

What is the expected output? What do you see instead?
The control should animate its size change.  Instead, GWEN.Net will crash with 
the error "Pure virtual function call".

What version of the product are you using? On what operating system?
Latest SVN build.

Please provide any additional information below.
This issue is caused by TimedAnimation calling base.Think().  Simply commenting 
out line 27 in Gwen/Anim/TimedAnimation.cs fixes the problem.

Original issue reported on code.google.com by [email protected] on 18 Jan 2012 at 4:18

'SFML.LoadingFailedException' occurred in sfmlnet-graphics-2.dll

What steps will reproduce the problem?
1. Build the lastest SFML.Net
2. Add the new Build reference dlls sfmlnet-graphics-2.dll and 
sfmlnet-window-2.dll
3. Debug it.

What is the expected output? What do you see instead?
I expected it to run flawlessly

What version of the product are you using? On what operating system?
latest gwen-dotnet build from svn

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 23 Jun 2012 at 8:27

  • Merged into: #25

Graphical artifacts remaining after reordering TabControl's tabs

* What steps will reproduce the problem?
1. Create TabControl with AllowReorder = true
2. Drag some tabs and reorder them

* What is the expected output? What do you see instead?
Expected: drag indicators are cleared after drag is ended
Actual result: drag indicators are not cleared properly

Original issue reported on code.google.com by [email protected] on 20 Aug 2011 at 1:26

Incorrect text rendering

What steps will reproduce the problem?
1. I have download win_samples_2.zip unzip it and run.
2. The same issue exists then I have compile the project from 
gwen-dotnet-master.zip

What is the expected output? What do you see instead?
All text in window looks like gray rectangles.

What version of the product are you using? On what operating system?
On linux with mono all works fine, but the problem exists at some (not all) pc 
with win xp and win7

Please provide any additional information below.
Attached file is screenshot of problem

Original issue reported on code.google.com by [email protected] on 7 Oct 2014 at 12:10

Attachments:

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.