TGUI.java 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. /*
  2. * Copyright (C) 2015 iZc
  3. *
  4. * This program is free software: you can redistribute it and/or modify
  5. * it under the terms of the GNU General Public License as published by
  6. * the Free Software Foundation, either version 3 of the License, or
  7. * (at your option) any later version.
  8. *
  9. * This program is distributed in the hope that it will be useful,
  10. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  11. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  12. * GNU General Public License for more details.
  13. *
  14. * You should have received a copy of the GNU General Public License
  15. * along with this program. If not, see <http://www.gnu.org/licenses/>.
  16. */
  17. package de.nplusc.izc.tools.UiToolz;
  18. import java.awt.*;
  19. //import javax.swing.ImageIcon;
  20. /**
  21. *
  22. * @author LH
  23. *
  24. *
  25. */
  26. public abstract class TGUI extends javax.swing.JFrame
  27. {
  28. private static Graphics2D g2dp = null;
  29. //public boolean[] tp = new boolean[3];
  30. public static TGUI gui;
  31. public static Image Background = null;
  32. public static Graphics2D cleanEdit = null;
  33. private boolean inConst = true;
  34. /**
  35. * Creates new form GUI
  36. */
  37. Polygon[] polygons= new Polygon[21];
  38. public TGUI(){
  39. }
  40. /*
  41. public void initTexts(boolean nullified)//Hack um interne Methode zu schützen//obsolet
  42. {
  43. initTexts();
  44. }*/
  45. public abstract void initTexts();
  46. /**
  47. * This method is called from within the constructor to
  48. * initialize the form.
  49. * WARNING: Do NOT modify this code. The content of this method is
  50. * always regenerated by the Form Editor.
  51. */
  52. // public abstract boolean hxdPaint(Graphics g,javax.swing.JPanel pn);
  53. // public abstract void writeLetter(Graphics g,int[] font,int letter,int posX,int posY,int lmaa);
  54. /*public static void writeLetter(Graphics g,int[] font,int letter,int posX,int posY)
  55. {
  56. }*/
  57. // Variables declaration - do not modify//GEN-BEGIN:variables
  58. private javax.swing.JPanel Surface;
  59. private javax.swing.JButton jButton1;
  60. // End of variables declaration//GEN-END:variables
  61. }