Chris Smith
17fbdb70da
Don't get a PluginManager from random places.
9 anos atrás
Greg Holmes
3d0991f245
Merge pull request #78 from csmith/master
More highlight tidying.
9 anos atrás
Chris Smith
bd54fab19b
More highlight tidying.
9 anos atrás
Greg Holmes
a6fa00d4af
Merge pull request #77 from csmith/master
Tidy up highlight calculation.
9 anos atrás
Chris Smith
badf66f08c
Tidy up highlight calculation.
Use the bounds from the logical highlight shape, rather than
calculating everything from scratch using the text metrics.
9 anos atrás
Greg Holmes
6f1869c9f9
Merge pull request #76 from csmith/master
Use floats for highlight shapes.
9 anos atrás
Chris Smith
d62c191001
Use floats for highlight shapes.
This doesn't help fix anything, but truncating everything to
integers is odd.
9 anos atrás
Chris Smith
e1a71e57eb
Merge pull request #74 from greboid/master
Switch count + name in window status.
9 anos atrás
Greg Holmes
7ca1dbeebc
Switch count + name in window status.
9 anos atrás
Chris Smith
0eae139d63
Merge pull request #72 from greboid/framemanagers
Fix some container/window changes.
9 anos atrás
Greg Holmes
7c6b1eb87d
Fix some container/window changes.
9 anos atrás
Chris Smith
0043a6f00a
Merge pull request #70 from greboid/framemanagers
"Tidy up" button bar.
9 anos atrás
Greg Holmes
26b0e6a23c
Unfail.
9 anos atrás
Greg Holmes
247bb2c03d
More tidying.
9 anos atrás
Greg Holmes
e9dd5174d4
Tidy up Button bar.
9 anos atrás
Chris Smith
ee3539f5ca
Merge pull request #69 from greboid/selectionevent
Continue working on Frame Managers
9 anos atrás
Greg Holmes
a6c2769750
Fix all the cached brokeness.
9 anos atrás
Greg Holmes
9f2e60d2ec
Add qualifier to IconManager.
9 anos atrás
Greg Holmes
860b0d565c
Add change I forgot to add.
9 anos atrás
Greg Holmes
adb7c3aad0
Change some references from FrameContainer to Window.
Issue #46
9 anos atrás
Greg Holmes
b503f89771
Switch to events for selection.
9 anos atrás
Chris Smith
06be941ecc
Merge pull request #68 from greboid/framemanagers
Tidy up window menu
9 anos atrás
Greg Holmes
115a3a58f5
Don't need low priority handlers.
9 anos atrás
Greg Holmes
18f673053d
Tidy up window menu.
Fixes #62
9 anos atrás
Greg Holmes
943918b0f7
Remove sysout.
9 anos atrás
Greg Holmes
1a9d685b99
Add a separator class.
9 anos atrás
Greg Holmes
e2cc2aaab3
Add new classes to manage state of items.
9 anos atrás
Chris Smith
9169c6b962
Merge pull request #67 from greboid/framemanagers
Move some methods around.
9 anos atrás
Greg Holmes
5c500c92ce
Move some methods around
9 anos atrás
Chris Smith
117d236c51
Merge pull request #65 from greboid/framemanagers
Split methods up to make it easier to read.
9 anos atrás
Greg Holmes
c985a7b0e8
Split methods up to make it easier to read.
9 anos atrás
Chris Smith
71d91022c4
Merge pull request #64 from greboid/framemanagers
Split Close menu item out from WindowMenuFactory.
9 anos atrás
Greg Holmes
d1893352a4
If we add a window, there's always a window to close!
9 anos atrás
Greg Holmes
a3f80318f8
Split Close menu item out from WindowMenuFactory.
9 anos atrás
Chris Smith
53dd2e9f6c
Merge pull request #63 from greboid/framemanagers
General tidying of frame managers
9 anos atrás
Greg Holmes
9e7c559395
General tidying of the frame managers.
9 anos atrás
Greg Holmes
0ec9c71d1e
General tidying of the frame managers.
9 anos atrás
Greg Holmes
4c135cc911
Merge pull request #37 from csmith/textpane
Highlight entire line, not just selected chars.
9 anos atrás
Chris Smith
5cb611a9dd
Highlight entire line, not just selected chars.
When you select up to the end of the line, we now highlight the
remainder of the line. This means when a block of multiple lines
are selected, the highlight appears as a single contiguous
rectangle, rather than little bits and pieces.
9 anos atrás
Greg Holmes
2bbca371cf
Merge pull request #34 from csmith/textpane
Simplify highlight drawing code.
9 anos atrás
Chris Smith
ba614eab2c
Simplify highlight drawing code.
No need to translate, we can just add some numbers together.
9 anos atrás
Greg Holmes
ded430464a
Merge pull request #32 from csmith/textpane
Remove dodgy line height calculation.
9 anos atrás
Chris Smith
af18658a52
Remove dodgy line height calculation.
Use the proper font metrics to calculate line height and spacing.
For Dialog size 12 (our default font), this seems to be identical
behaviour. Other fonts define more sensible leadings, so are
spaced out properly.
This also fixes highlighting having gaps for large font sizes.
9 anos atrás
Chris Smith
d524712042
Merge pull request #29 from csmith/textpane
More TextPane tidying.
9 anos atrás
Chris Smith
17515f0619
More TextPane tidying.
Change to using Rectangle2D.Float to avoid having to cast all
of the co-ords and dimensions to ints.
Remove a magic 1.5 in the calculations in favour of using the right
properties of the text.
9 anos atrás
Greg Holmes
28d4a7ebe9
Merge pull request #28 from csmith/textpane
Fix some TextPane layout weirdness.
9 anos atrás
Chris Smith
9547eb0a17
Fix some TextPane layout weirdness.
Stop adding descents all over the place. This stops the highlight
rectangles being slightly offset and allowing descenders to peek
out.
Also adjust the initial Y offset to include padding, and increment
it in the right place.
9 anos atrás
Greg Holmes
935e85c5ce
Merge pull request #27 from csmith/textpane
Unused method.
9 anos atrás
Chris Smith
d273dabbe3
Unused method.
9 anos atrás
Greg Holmes
1589a7ec99
Merge pull request #26 from csmith/textpane
Make rendering of wrapped lines simpler.
9 anos atrás