Code Coverage |
||||||||||
Classes and Traits |
Functions and Methods |
Lines |
||||||||
| Total | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
CRAP | |
0.00% |
0 / 34 |
| TWinApplication | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |
0.00% |
0 / 33 |
| __construct | |
0.00% |
0 / 1 |
2 | |
0.00% |
0 / 33 |
|||
| 1 | <?php |
| 2 | /* |
| 3 | * Formdin Framework |
| 4 | * Copyright (C) 2012 Ministério do Planejamento |
| 5 | * Criado por Luís Eugênio Barbosa |
| 6 | * Essa versão é um Fork https://github.com/bjverde/formDin |
| 7 | * |
| 8 | * ---------------------------------------------------------------------------- |
| 9 | * This file is part of Formdin Framework. |
| 10 | * |
| 11 | * Formdin Framework is free software; you can redistribute it and/or |
| 12 | * modify it under the terms of the GNU Lesser General Public License version 3 |
| 13 | * as published by the Free Software Foundation. |
| 14 | * |
| 15 | * This program is distributed in the hope that it will be useful, |
| 16 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 17 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 18 | * GNU General Public License for more details. |
| 19 | * |
| 20 | * You should have received a copy of the GNU Lesser General Public License version 3 |
| 21 | * along with this program; if not, see <http://www.gnu.org/licenses/> |
| 22 | * or write to the Free Software Foundation, Inc., 51 Franklin Street, |
| 23 | * Fifth Floor, Boston, MA 02110-1301, USA. |
| 24 | * ---------------------------------------------------------------------------- |
| 25 | * Este arquivo é parte do Framework Formdin. |
| 26 | * |
| 27 | * O Framework Formdin é um software livre; você pode redistribuí-lo e/ou |
| 28 | * modificá-lo dentro dos termos da GNU LGPL versão 3 como publicada pela Fundação |
| 29 | * do Software Livre (FSF). |
| 30 | * |
| 31 | * Este programa é distribuído na esperança que possa ser útil, mas SEM NENHUMA |
| 32 | * GARANTIA; sem uma garantia implícita de ADEQUAÇÃO a qualquer MERCADO ou |
| 33 | * APLICAÇÃO EM PARTICULAR. Veja a Licença Pública Geral GNU/LGPL em português |
| 34 | * para maiores detalhes. |
| 35 | * |
| 36 | * Você deve ter recebido uma cópia da GNU LGPL versão 3, sob o título |
| 37 | * "LICENCA.txt", junto com esse programa. Se não, acesse <http://www.gnu.org/licenses/> |
| 38 | * ou escreva para a Fundação do Software Livre (FSF) Inc., |
| 39 | * 51 Franklin St, Fifth Floor, Boston, MA 02111-1301, USA. |
| 40 | */ |
| 41 | |
| 42 | include_once( 'autoload_formdin.php'); |
| 43 | class TWinApplication extends THtmlPage |
| 44 | { |
| 45 | public function __construct() |
| 46 | { |
| 47 | parent::__construct(); |
| 48 | $this->addJsCssFile('prototype/themes/default.css'); |
| 49 | $this->addJsCssFile('prototype/themes/lighting.css'); |
| 50 | $this->addJsCssFile('prototype/themes/mac_os_x.css'); |
| 51 | $this->addJsCssFile('prototype/themes/alphacube.css'); |
| 52 | $this->addJsCssFile('app_prototype.css'); |
| 53 | $this->addJsCssFile('dhtmlx/codebase/skins/dhtmlxmenu_clear_silver.css'); |
| 54 | $this->addJsCssFile('prototype/prototype.js'); |
| 55 | $this->addJsCssFile('prototype/effects.js'); |
| 56 | $this->addJsCssFile('prototype/window.js'); |
| 57 | $this->addJsCssFile('prototype/window_ext.js'); |
| 58 | $this->addJsCssFile('prototype/window_effects.js'); |
| 59 | $this->addJsCssFile('prototype/javascripts/debug.js'); |
| 60 | $this->addJsCssFile('dhtmlx/codebase/dhtmlxcommon.js'); |
| 61 | $this->addJsCssFile('dhtmlx/codebase/dhtmlxmenu_cas.js'); |
| 62 | $this->addJsCssFile('app_prototype.js'); |
| 63 | |
| 64 | $divTitle = new TElement('div'); |
| 65 | $divTitle->setId('app_header_title'); |
| 66 | $divTitle->setProperty('align','center'); |
| 67 | $this->addInBody($divTitle); |
| 68 | //div menu principal |
| 69 | $div = new TElement('div'); |
| 70 | $div->setId('div_main_menu'); |
| 71 | $div->setProperty('align','center'); |
| 72 | $this->addInBody($div); |
| 73 | // area de trabalho |
| 74 | $div = new TElement('div'); |
| 75 | $div->setId('dock'); |
| 76 | $this->addInBody($div); |
| 77 | |
| 78 | $divTheme = new TElement('div'); |
| 79 | $divTheme->setId('theme'); |
| 80 | $divTheme->add('Tema:'); |
| 81 | $divTheme->add(new TSelect('appTheme','0=Cinza Claro,1=Mac Os X,2=Azul Claro,3=Verde Claro',null,null,null,nulll,nulll,'')); |
| 82 | $div->add($divTheme); |
| 83 | } |
| 84 | } |
| 85 | ?> |