mirror of
https://github.com/octoleo/plantuml.git
synced 2024-11-21 20:45:10 +00:00
wip
This commit is contained in:
parent
e823b5f00f
commit
adc23450c8
@ -313,6 +313,9 @@ ganttDiagram {
|
||||
Margin 2 2 2 2
|
||||
Padding 0
|
||||
}
|
||||
undone {
|
||||
BackGroundColor white
|
||||
}
|
||||
milestone {
|
||||
Margin 2
|
||||
Padding 3
|
||||
|
@ -54,7 +54,7 @@ public class CommandNetwork extends SingleLineCommand2<NwDiagram> {
|
||||
RegexLeaf.spaceZeroOrMore(), //
|
||||
new RegexLeaf("network"), //
|
||||
RegexLeaf.spaceZeroOrMore(), //
|
||||
new RegexLeaf("NAME", "([%pLN_]+)?"), //
|
||||
new RegexLeaf("NAME", "([-.%pLN_]+)?"), //
|
||||
RegexLeaf.spaceZeroOrMore(), //
|
||||
new RegexLeaf("\\{"), RegexLeaf.end());
|
||||
}
|
||||
|
@ -69,6 +69,7 @@ import net.sourceforge.plantuml.style.SName;
|
||||
import net.sourceforge.plantuml.style.Style;
|
||||
import net.sourceforge.plantuml.style.StyleBuilder;
|
||||
import net.sourceforge.plantuml.style.StyleSignature;
|
||||
import net.sourceforge.plantuml.style.Value;
|
||||
import net.sourceforge.plantuml.svek.image.Opale;
|
||||
import net.sourceforge.plantuml.ugraphic.UGraphic;
|
||||
import net.sourceforge.plantuml.ugraphic.ULine;
|
||||
@ -291,13 +292,13 @@ public class TaskDrawRegular extends AbstractTaskDraw {
|
||||
off.add(new Segment(x1, x2));
|
||||
}
|
||||
|
||||
final HColor back2 = StyleSignature.of(SName.root, SName.document, SName.ganttDiagram)
|
||||
final HColor backUndone = StyleSignature.of(SName.root, SName.element, SName.ganttDiagram, SName.undone)
|
||||
.getMergedStyle(getStyleBuilder()).value(PName.BackGroundColor)
|
||||
.asColor(skinParam.getThemeStyle(), getColorSet());
|
||||
|
||||
final RectangleTask rectangleTask = new RectangleTask(startPos, endPos, round, getCompletion(), off);
|
||||
|
||||
rectangleTask.draw(ug, getShapeHeight(stringBounder), back2, oddStart, oddEnd);
|
||||
rectangleTask.draw(ug, getShapeHeight(stringBounder), backUndone, oddStart, oddEnd);
|
||||
|
||||
if (url != null) {
|
||||
ug.closeUrl();
|
||||
|
@ -118,6 +118,7 @@ public enum SName {
|
||||
timeline, //
|
||||
timingDiagram, //
|
||||
title, //
|
||||
undone, //
|
||||
unstarted, //
|
||||
usecase, //
|
||||
wbsDiagram, //
|
||||
|
@ -80,7 +80,7 @@ public class Version {
|
||||
}
|
||||
|
||||
public static int beta() {
|
||||
final int beta = 1;
|
||||
final int beta = 3;
|
||||
return beta;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user