/new_database_dialog.rb

https://bitbucket.org/jjhop/mycash · Ruby · 28 lines · 7 code · 2 blank · 19 comment · 0 complexity · 169643266ab1e94f05402ec54b4f1747 MD5 · raw file

  1. # This program is free software: you can redistribute it and/or modify
  2. # it under the terms of the GNU General Public License as published by
  3. # the Free Software Foundation, version 3 of the License.
  4. #
  5. # This program is distributed in the hope that it will be useful,
  6. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  7. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  8. # GNU General Public License for more details.
  9. #
  10. # You should have received a copy of the GNU General Public License
  11. # along with this program. If not, see <http://www.gnu.org/licenses/>.
  12. #
  13. # Copyright: (C) 2004-2010 Rafal Kotusiewicz aka 'jjhop'. All rights reserved.
  14. #
  15. # http://bitbucket.org/jjhop/mycash/overview/
  16. # http://bitbucket.org/jjhop/mycash/wiki/Home
  17. #
  18. require "fox16"
  19. include Fox
  20. # Okno dialogowe pozwalajace utworzyc nowa baze danych
  21. # dla innego rodzaju wydatkow (wydatki firmowe, rodzinne itd)
  22. class NewDatabaseDialog < FXDialogBox
  23. def initialize(parent)
  24. super(parent, "Tworzenie bazy", DECOR_BORDER|DECOR_TITLE|DECOR_CLOSE|DECOR_RESIZE, 0, 0, 320, 200)
  25. end
  26. end