Git Product home page Git Product logo

tonegodgui's Introduction

tonegodgui

Automatically exported from code.google.com/p/tonegodgui Hi, I adopt this repository to save it. I will try to understand the code and see how it works.

Tests

Here are the tests: https://github.com/brainless-studios/tonegodgui-test

documentation

using

gradle:

in build.gradle

  • repositories { mavenCentral() maven { url "https://jitpack.io" } }
  • dependencies { compile 'com.github.brainless-studios:tonegodgui:-SNAPSHOT' }

tonegodgui's People

Contributors

meltzow avatar roroah avatar t0neg0d avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

tonegodgui's Issues

addWindowContent with button now working properly

What steps will reproduce the problem?
1. Create window && create a button (or any class that extends from it)
2. add the button to the window with window.addWindowContent(button)

What is the expected output? What do you see instead?
The button does not show up on screen, while it should work as when using 
addChild

What version of the product are you using? On what operating system?
tonegodGui from svn r637 - linux 64bit

Please provide any additional information below.
Commenting out the line:305 in Window class seam to solve the issue :

//      contentArea.addClippingLayer(contentArea);

Original issue reported on code.google.com by [email protected] on 26 Feb 2015 at 8:40

setter for DragElemen orginalPosition

What steps will reproduce the problem?
1. lockToDropElementCenter = false; useSpringBack = true;
2. create in window which is drop container, it already sets originalPosition 
somewhere on screen, not in window
3. drag fev times in window(it is drop container), then drag away from window

What is the expected output? What do you see instead?
should return to last good pos, goes somewhere,
on my case i cant even see it

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


Please provide any additional information below.
i just need the setter

Original issue reported on code.google.com by eras.tk on 22 Apr 2013 at 8:05

Chatbox entry line and button are hidden behind the main pane

To activate text entry in ChatBox, I need to select thing strip at the bottom 
with the mouse. Top part of entry box is below the text pane above, so it is 
not reacting to events. Same goes for Send button - top left corner of it is 
hidden.

In attached screenshot, area in red is not reacting to mouse clicks, because of 
being hidden behind the main pane.

Original issue reported on code.google.com by [email protected] on 11 Mar 2013 at 7:14

Attachments:

Chatbox - on resize, scrollbar jump to top

Scrollbar is always getting reset to top position when chatbox is being 
resized, causing current text to disappear. 

Complicated solution would be to try to show as much as possible of same text - 
but simple solution which should be working fine for most of the cases is just 
to stay at same percentage of scroll as it was previously (with most notable 
being staying at 100% - bottom of chat).

Original issue reported on code.google.com by [email protected] on 25 Mar 2013 at 7:06

TextField : Text Range : Width test on text range start displays improper position

What steps will reproduce the problem?
1. Using keybaord nav or double-click will select the proper text, however the 
visuals indicate the space as being selected as well.

What is the expected output?

The text range should display properly

What do you see instead?

The start of the text range seems to encompass the space before the word also.

This can be resolved by implementing the same fix used for evaluating text line 
width with strings ending with a space.

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

Input Controls : Default Event Consumption

Need to determine the default setting of event consumption for input controls.

Initial thoughts are:

All mouse button and wheel events should be consumed by the control that has 
mouse focus.

All keyboard events should be consumed by the control that has keyboard focus.  
This should encompass all tab focus elements in the process.


Original issue reported on code.google.com by [email protected] on 23 Jan 2013 at 7:41

Screen : Tab Focus : Mouse click within scene.

What steps will reproduce the problem?
1. Click on a control that can receive tab focus
2. Click into the scene

What is the expected output?

The control should release tab focus

What do you see instead?

No change

Original issue reported on code.google.com by [email protected] on 23 Jan 2013 at 7:29

All Controls : Default display state

What is the expected output?

All controls should initially display their default values / state.
For example:
Spinners should show index 0
SelectBox should have index 0 selected by default
Menu's should be hidden by default
etc.

What do you see instead?

Default display / state has not been worked on yet.

Original issue reported on code.google.com by [email protected] on 30 Jan 2013 at 11:31

TextField : Text ranges : Placement update needed when visual text changes

What steps will reproduce the problem?
1. Select a text range that has a start point or end point that is outside of 
the visual text area
2. Select a text range and resize and then resize the TextField

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

The visual range drawn by the shader should reflect the visual text displayed 
within the TextField.

Results currently are stated above.

This issue cascades to multiple extended classes:  ComboBox, Password, 
SelectBox, Spinner.

Please use labels and text to provide additional information.

Original issue reported on code.google.com by [email protected] on 16 Jan 2013 at 2:13

TextField : Cut/paste : Clipboard usage (Feature Request)

Feature Request

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

Cut/paste should work as expected, deriving the pasted text from the OS 
Clipboard.  Cut paste should be added to the OS Clipboard.

Currently this is a function that is limited specifically to the current screen 
the TextField is associated with.

Please use labels and text to provide additional information.


Original issue reported on code.google.com by [email protected] on 16 Jan 2013 at 2:22

Element : Resize : Add minimum size restrictions

What steps will reproduce the problem?
1. Resize a window and invert it

What is the expected output?

The window should stop at the defined minimum size.

What do you see instead?

The window can be resized to negative values.


Original issue reported on code.google.com by [email protected] on 25 Jan 2013 at 4:38

TextField : Double-click : Last word in string

What steps will reproduce the problem?
1. Use double-click to auto select the final word of the text field text

What is the expected output?

The word is properly selected

What do you see instead?

A partial of the word is selected


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

Slider : Free-floating : Value set according to the mouse coordinate as apposed to the ThumbLock position

What steps will reproduce the problem?
1. Move slider thumb to either end of the track

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

Once the slider thumb reaches the outer limit of the movable range, the 
selected value should reflect this

Currently, the final value once the thumb reaches the outer limit of the 
movable range reflects the mouse position and continues to update until the 
mouse reaches 0 or the width of the track.

Please use labels and text to provide additional information.


Original issue reported on code.google.com by [email protected] on 16 Jan 2013 at 2:55

TextField : Cut/paste : Error when inserting text into text field containing text

What steps will reproduce the problem?
1. Cut & paste text from a text field into any text field that contains 
existing text.  In certain circumstances the length of the inserted causes an 
IndexOutOfBoundsException, due to the way I handled the insert.

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

Cut & Paste should function without causing client crash.

This can be fixed by splitting the ArrayList at the insert point and 
reconstructing the list (merging).

Please use labels and text to provide additional information.


Original issue reported on code.google.com by [email protected] on 16 Jan 2013 at 2:18

Tab Focus : Controls outside of Form : resetting tab focus issue

What steps will reproduce the problem?
1. Click on a control not associated with a form
2. Click on a control associated with a form

What is the expected output?

The control with no form association should release it's tab focus as controls 
with form association do.

What do you see instead?

The control without form association maintains tab focus visual, thought the 
tab focus has moved to another control.

Original issue reported on code.google.com by [email protected] on 23 Jan 2013 at 7:27

TextField : Outstanding issues

1. Implement DELETE key functionality.
2. Implement mouse click-drag-release selection.
3. Caret position does not appear correctly when navigating around spaces.
4. Double click selection incorrect when selecting the last word in the String.
5. Pasted clipboard text needs to be scrubbed for RETURN characters.
6. Pasted clipboard text needs to be scrubbed against TextField.Type and 
maxLength.

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

ComboBox : Item Highlight : Highlight not updating to correct position when scrolling list via scrollbar.

What steps will reproduce the problem?
1. Mouse over an item in the list.
2. Move mouse to scroll bar and move the position up or down.

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

The highlight should stay locked to the position of the hightlighted item.

Currently, the highlight will stay in the same visual position and the list 
will scroll under it.

Please use labels and text to provide additional information.


Original issue reported on code.google.com by [email protected] on 16 Jan 2013 at 2:28

Button : Default Keyboard Interaction : Not functioning properly

What steps will reproduce the problem?
1. Tab to a button (Button-toggle or otherwise, CheckBox)
2. Use the spacebar to activate button.

What is the expected output?

Should send simulated mouse down/ mouse up event to button and execute 
associated method.

What do you see instead?

It seems that this in not working at all.  This, however, does seem to work 
fine for all other controls.


Original issue reported on code.google.com by [email protected] on 23 Jan 2013 at 9:32

Form : Tab Focus (Feature Request)

What is the expected output?

Tab focus for controls should be handled by forms.  The tab focus should be in 
the order the controls are added to the form (this has no barring on visual 
placement).

Original issue reported on code.google.com by [email protected] on 23 Jan 2013 at 7:24

Effect : Type : Review / update existing effects

FadeIn : Working
FadeOut : Needs verification
BlendTo : Needs implementation
BlendFrom : Needs implementation
ZoomIn : Working
ZoomOut Working
SpinIn : Need to fix... clipping effects negatively
SpinOut : Need to fix... clipping effects negatively
Pulse : Working
ColorSwap : Working
PulseColor : Working
ImageSwap : Working

Original issue reported on code.google.com by [email protected] on 25 Jan 2013 at 2:16

ComboBox : List iteration : List scrolling should stop at last item.

What steps will reproduce the problem?
1. Use the keyboard to iterate through the dropdown list

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

Once the last item is in view, the list should not continue to scroll, the 
highlight should move instead.

Currently, The highlight stays at the top of the list and the list continues to 
scroll, leaving blank space past the last list item.

Please use labels and text to provide additional information.


Original issue reported on code.google.com by [email protected] on 16 Jan 2013 at 2:33

Optimize/simplify element iteration

In many place, I can see the pattern like

Set<String> keys = elementChildren.keySet();
for (String key : keys) {           elementChildren.get(key).someOperation();
}

I think it would be bit cleaner/more efficient to just write

for ( Element child : elementChildren.values() ) {
child.someOperation();
}

Original issue reported on code.google.com by [email protected] on 11 Mar 2013 at 7:03

Dial : Free-floating : Value range 0-100

What steps will reproduce the problem?
1. Create a dial control
2. Add no step values
3. Use dial control =)

What is the expected output?

This should react in the same manor a slider does when no step values are set.  
The Dial control should return a value between 0 and 100.

What do you see instead?

Nothing, because it does not return a value when there are no corresponding 
step values set.

Original issue reported on code.google.com by [email protected] on 23 Jan 2013 at 7:21

BitmapFont Legibility

The lowercase letter "i" is still fuzzy in some instances.

Try and narrow down where this is a problem (either the BitmapFont itself, or 
how BitmapText is displayed).  Perhaps learning a bit more about how to 
properly create a BitmapFont will solve the issue =)


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

Copy/paste messed up in TextBox

I was testing it in ChatBox, not TextBox, but I think it ends up in same 
component.

First extension - added 'cut' action around copy and paste

} else if (evt.getKeyCode() == KeyInput.KEY_X) {
if (copy) {
screen.setClipboardText(textRangeText);
if (rangeHead != -1 && rangeTail != -1) {
editTextRangeText("");
}
}
}


But the bug itself is about plain paste action and selections, without the 
extension above.

Type string abcdefghijk
Select first letter 'a' with mouse or keyboard
Ctrl-C
Position cursor after letter a
Ctrl-V - it is not working
Go to the end of the text by pressing 'END'
Ctrl-V - last letter is replaced by a even if it is not selected

Another bug - selection is not possible after pasting
Type string aaabbb
Select it all with Shift-arrows or shift-end
Copy
Paste
(one letter is lost as above)
Now try to select text by pressing Shift-left. Cursor is moving, but selection 
is not working. Selecting with mouse still works.







Original issue reported on code.google.com by [email protected] on 15 Mar 2013 at 11:49

ComboBox : TextField caretIndex : Needs to update to the end of selected list item.

What steps will reproduce the problem?
1. Select a list item via Arrow > mouse click.

What is the expected output?

Caret should display at the end of the work + set actual caretIndex to the 
proper index position.

This needs to be fixed and verified in all of the following instances:

Mouse select
Arrow select
Arrow + Return select

What do you see instead?

In some instance the caret is updated properly in terms of visuals, though the 
corresponding index is not set properly.  In other instance the visual position 
is incorrect and the index position is correct.



Original issue reported on code.google.com by [email protected] on 23 Jan 2013 at 7:17

Screen relative position/size broken

I wanted to change ChatBox at the top of the screen. Originally I had it like

pos = 10,10
size = 1000,400

The, I wanted to try relative sizes

pos = 0.01f, 0.01f
size = 0.98f, 400

It turns out that it doesn't work - I need to call validateLayout for it to 
take effect. Ok, validateLayout - but surprise, y position percentage is 
counted from the bottom, not from the top as all other coordinates. Ok, correct 
it to

pos = 0.01f, 0.99f
size = 0.98f, 400

And again suprise - it is bottom side of the chatbox which is placed at 0.99f, 
not top one.

Ok, correct it to
pos = 0.01f, 0.80f
size = 0.98f,0.19f

and now it is positioned correctly, but contents are destroyed...

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

ComboBox : Scrollbar Thumb : When using keyboard to iterate list, scroll thumb does not update properly

What steps will reproduce the problem?
1. Click the ComboBox text field
2. Use the left or right arrow to show dropdown list
3. Use the up/down arrow to iterate through the list

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

The scrollbar thumb should update to show the corresponding offset of the 
dropdown list.

Currently, the thumb position stay static.

Please use labels and text to provide additional information.


Original issue reported on code.google.com by [email protected] on 16 Jan 2013 at 2:30

Button text is not updated on button resize

Just to make it clear, simply setting button text and resizing the button 
breaks text alignment, button.setText(button.getText()) returns it to normal 
state, but that should be automated, I think.

Original issue reported on code.google.com by [email protected] on 14 Aug 2014 at 1:16

Indicator : AlphaMap - Not resizing properly using resizeBorders

What steps will reproduce the problem?
1. Apply AlphaMap to Indicator
2. Use resize borders > 0

What is the expected output?

Alpha map should resize the same as all other images.

What do you see instead?

Currently, the resize skews the alpha map considerably at the corners.

Original issue reported on code.google.com by [email protected] on 30 Jan 2013 at 11:28

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.