Advertisement
Guest User

Untitled

a guest
Jul 19th, 2019
118
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.03 KB | None | 0 0
  1. <?php
  2. namespace app\forms;
  3.  
  4. use gui\Ext4JphpWindows;
  5. use system\DFFIType;
  6. use system\DFFI;
  7. use std, gui, framework, app;
  8.  
  9.  
  10. class Options extends AbstractForm
  11. {
  12. /**
  13. * @event buttonAlt.action
  14. */
  15. function doButtonAltAction(UXEvent $e = null)
  16. {
  17. $this->ini->set('fov',$this->numberField->value);
  18. $this->hide();
  19. }
  20.  
  21.  
  22. /**
  23. * @event button.action
  24. */
  25. function doButtonAction(UXEvent $e = null)
  26. {
  27. //$this->ini->free();
  28. $this->numberField->value = $this->numberField->min;
  29. $this->form(Main)->combobox->value = null;
  30. $this->form(Main)->edit->text = '';
  31. }
  32.  
  33. /**
  34. * @event construct
  35. */
  36. function doConstruct(UXEvent $e = null)
  37. {
  38. /*
  39. $io = new DFFI("dnwbu");
  40. $io->bind("SetWindowBlur", DFFIType::INT, [DFFIType::STRING]);
  41. DFFI::SetWindowBlur("Advanced Options");
  42. */
  43. $php = new Ext4JphpWindows;
  44. $php->addBlur($this->form(Options));
  45. }
  46.  
  47.  
  48. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement