-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Correcciones de todos los componentes y reordenamiento de clases
- Loading branch information
1 parent
43eb538
commit 21e1030
Showing
100 changed files
with
866 additions
and
433 deletions.
There are no files selected for viewing
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed
BIN
-1.57 KB
build/classes/icm/sphynx/ui/components/metro/UIPasswordField$1.class
Binary file not shown.
Binary file removed
BIN
-1.17 KB
build/classes/icm/sphynx/ui/components/metro/UIPasswordField$2.class
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
Binary file not shown.
Binary file removed
BIN
-2.03 KB
build/classes/icm/sphynx/ui/tools/ToolsHeaderCellRendererTable.class
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9 changes: 5 additions & 4 deletions
9
src/icm/sphynx/styles/MyStyles.java → src/icm/sphynx/MyStyles.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,73 @@ | ||
package icm.sphynx.ui.metro.components; | ||
|
||
import java.awt.Color; | ||
import java.awt.Graphics; | ||
import java.awt.Rectangle; | ||
import javax.swing.ImageIcon; | ||
import javax.swing.text.BadLocationException; | ||
import javax.swing.text.DefaultCaret; | ||
import javax.swing.text.JTextComponent; | ||
|
||
/** | ||
* | ||
* @author israel-icm | ||
*/ | ||
public class CaretMetro extends DefaultCaret { | ||
/*@Override | ||
protected synchronized void damage(Rectangle r) { | ||
if (r == null) | ||
return; | ||
x = r.x; | ||
y = r.y; | ||
height = r.height; | ||
if (width <= 0) width = getComponent().getWidth(); | ||
repaint(); | ||
}*/ | ||
|
||
@Override | ||
public void paint(Graphics g) { | ||
g.setColor(Color.red); | ||
g.fillRect(x, y, 3, height); | ||
|
||
/*JTextComponent comp = getComponent(); | ||
if (comp == null) | ||
return; | ||
int dot = getDot(); | ||
Rectangle r = null; | ||
char dotChar; | ||
try { | ||
r = comp.modelToView(dot); | ||
if (r == null) | ||
return; | ||
dotChar = comp.getText(dot, 1).charAt(0); | ||
} catch (BadLocationException e) { | ||
return; | ||
} | ||
if ( (x != r.x) || (y != r.y) ) { | ||
repaint(); | ||
x = r.x; | ||
y = r.y; | ||
height = r.height; | ||
} | ||
g.setColor(Color.decode("#FF0000")); | ||
g.setXORMode(comp.getBackground()); | ||
// ImageIcon imgcaret=null; | ||
if (dotChar == '\n') { | ||
int diam = r.height; | ||
if (isVisible()) { | ||
g.fillRect(r.x, r.y, 10, 16); | ||
// g.drawImage(imgcaret.getImage(), r.x, r.y,20,17, comp); | ||
} | ||
width = diam / 2 + 2; | ||
return; | ||
} | ||
width = g.getFontMetrics().charWidth(dotChar); | ||
if (isVisible()) | ||
g.fillRect(r.x, r.y, width, r.height);*/ | ||
} | ||
} |
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
2 changes: 1 addition & 1 deletion
2
...sphynx/ui/components/metro/UIBorders.java → ...cm/sphynx/ui/metro/manager/UIBorders.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.