*
* The MIT License (MIT)
*
- * Copyright (C) 2017 Kevin Lamonte
+ * Copyright (C) 2019 Kevin Lamonte
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
*/
public class TDesktop extends TWindow {
+ // ------------------------------------------------------------------------
+ // Constructors -----------------------------------------------------------
+ // ------------------------------------------------------------------------
+
/**
* Public constructor.
*
* @param parent parent application
*/
public TDesktop(final TApplication parent) {
-
super(parent, "", 0, 0, parent.getScreen().getWidth(),
- parent.getScreen().getHeight() - 1);
+ parent.getDesktopBottom() - parent.getDesktopTop());
setActive(false);
}
+ // ------------------------------------------------------------------------
+ // TWindow ----------------------------------------------------------------
+ // ------------------------------------------------------------------------
+
/**
* The default TDesktop draws a hatch character across everything.
*/