Commit Graph

44 Commits

Author SHA1 Message Date
David Capello 96d263f50e Move src/core/ to src/
+ Renamed cfg.cpp to ini_file.cpp
2011-06-29 22:51:46 -03:00
David Capello ff897fea34 Remove JMessage and jmessage union, use Message* and Message instead. 2011-04-02 13:14:07 -03:00
David Capello d57677d80b Remove jwidget_find_name() function. 2011-03-29 21:42:21 -03:00
David Capello 0bd6e19093 Replace jwidget_add_child/remove_child/replace_child with Widget's methods. 2011-03-29 21:35:17 -03:00
David Capello 6d5531b998 Replace old gfx-data with graphics from the skin sheet.
+ Removed gfxdata.cpp file.
+ Removed get_gfx() from modules/gfx.h/cpp.
+ Added skin parts for each removed graphics of gfxdata.
+ Added IButtonIcon interface and an implementation for skin theme.
+ Removed "icon_buttons" from gui.cpp.
+ Now icons in button are set through set_gfxicon_to_button function.
+ Removed from Theme class check/radio_icon_size member variables
  (they are replaced with the new IButtonIcon interface).
+ Removed jdraw_inverted_sprite(), now each icon has it normal/selected
  version in the skin sheet.
2011-03-06 16:15:05 -03:00
David Capello ad12af7c8b Refactor the entire view widget to View, Viewport, and ScrollBar C++ classes. 2011-02-20 18:35:21 -03:00
David Capello 2baa342a65 Remove "j" prefix from some files in gui library. 2011-01-30 19:12:10 -03:00
David Capello 05cc6f6ba6 Remove jwidget_close_window function. 2011-01-21 23:49:07 -03:00
David Capello d6eb20ef7e Update copyright year to 2011. 2011-01-18 20:49:53 -03:00
David Capello c5ba3076a5 Convert jentry to Entry class. 2010-12-08 14:28:13 -03:00
David Capello 109d6a072f Remove jstring class replacing it with the new base::string and new functions to manipulate strings. 2010-09-30 15:34:12 -03:00
David Capello aa397c4fbf Add dirExists() member function in FileSystemModule. 2010-09-26 18:26:38 -03:00
David Capello cb3dd70fb8 Move Jinete library to src/gui directory (future gui-lib). 2010-09-26 15:59:32 -03:00
David Capello cd6b8d3d23 Move Signal/Slot/Bind stuff to base-lib. 2010-09-25 17:20:59 -03:00
David Capello 1f88934542 Remove "static" member functions from RecentFiles. Now App has a RecentFiles member and it must be accessed through the App singleton. 2010-09-18 00:28:24 -03:00
David Capello 7d47093acc Convert jbutton widget to ButtonBase, Button, CheckBox, and RadioButton C++ classes.
+ Add ButtonBase::Click signal.
+ Button does not close the window by default (you have to configure this action manually when Click signal is triggered).
+ Add "closewindow" attribute to <button> widget in XML files.
+ Move "bevels" to SkinProperty.
+ Convert colorbutton widget in ColorButton C++ class.
2010-08-23 17:41:19 -03:00
David Capello cf0f7d9663 Remove jfilesel.[ch] file. 2010-08-22 22:10:43 -03:00
David Capello 88305ec84c Move functions to access file system items (FileItem) in a new IFileItem interface. 2010-08-10 23:30:15 -03:00
David Capello 4e72997a02 Use Allegro's ASSERT() instead of assert(). 2010-08-03 23:33:44 -03:00
David Capello e0ff9d5ee8 Removed JI_SIGNAL_REMOVE_CHILD and JI_SIGNAL_NEW_PARENT.
These signals do not make sense when we are removing a widget that is being destroyed.
2010-07-19 18:57:16 -03:00
David Capello f2f1bb26f2 Replaced old DIRS structure with ResourceFinder class. 2010-07-16 16:56:45 -03:00
David Capello c4ab208e4b Replaced jwidget_show/hide/is_visible/is_hidden functions with Widget::isVisible/setVisible methods. 2010-07-04 12:03:14 -03:00
David Capello 47aa64efe4 Removed jwidget_enable/disable/is_enabled/is_disabled functions. 2010-07-03 15:26:27 -03:00
David Capello d8d66782c8 Added to the file selector dialog the list of recent paths (which is generated from the list of recent files). 2010-06-25 00:27:04 -03:00
David Capello 4dff5fac85 Converted combobox widget to a class (ComboBox class derived from Widget). 2010-06-24 23:44:59 -03:00
David Capello c5442abcba Moved data/jids/*.jid files to data/widgets/*.xml. 2010-04-06 22:14:33 -03:00
David Capello af8535d612 mini-look for buttons in file selector dialog. 2010-03-21 23:19:05 -03:00
David Capello 1e121378de Replaced App events (IAppHook) with Vaca signals/slots. 2010-03-01 00:36:05 -02:00
David Capello b747ccdaa6 Updated copyright year to 2010 2010-02-01 21:25:40 +00:00
David Capello 96759c9c17 Converted all TRUE/FALSE to C++ true/false 2010-01-30 16:43:13 +00:00
David Capello 77c009de55 Renamed jwidget to Widget.
Refactored jwidget_set_text to Widget::setText (same for setFont, setEnabled, etc.).
Created "Frame" class.
Refactored "jwindow_funcname" functions to "Frame::funcname".
Renamed JWidgetPtr to FramePtr.
2010-01-26 00:38:05 +00:00
David Capello 11a094cb05 Moved app.cpp from src/core/ to src/ 2009-12-11 14:53:05 +00:00
David Capello f2f78377ad Added IAppHook interface for a cleaner event/hook interface. 2009-10-14 14:09:59 +00:00
David Capello 1c541651ce + Added a progress bar in the file-selector to show the progress of thumbnail generation.
+ Fixed a program crash in file-selector dialog when you open a file and the thumbnail is being generated.
2009-08-10 02:36:06 +00:00
David Capello c56cad63e9 Fixed usability issues in the file-selector dialog. 2009-08-09 21:50:26 +00:00
David Capello 8b8f13edf9 + Added support to paste/copy text from/to Windows clipboard.
+ Added support to process Ctrl+C / Ctrl+V / Ctrl+P keys in all entry fields.
+ Fixed a bug where file names for new sprites are lower-case always (in Windows).
2009-08-09 21:24:32 +00:00
David Capello cb6b45bb3f Fixed a bug in the File Open dialog when user presses ENTER key with an empty file name. 2009-03-02 02:08:40 +00:00
David Capello 8e498470d5 Fixed bug #2511762 (thanks to Clayton Enga for the patch).
Added the feature #2419098 (David Campo idea).
2009-01-24 00:41:01 +00:00
David Capello f43bbec69d Better handling of special file-names in the file-name entry field of ase_file_selector. 2008-10-16 01:55:12 +00:00
David Capello 7a68a1d32b Fixed an important bug where sprite's palettes where not freed using palette_free
(delete (Palette*)). This leaves some dead-pointers in the objects collection of 'gfxobj.cpp'.
2008-10-13 22:39:41 +00:00
David Capello 6562d7071a Now the file-system core routines use jstring (std::string) instead of char*.
Overloaded new and delete when MEMLEAK is activated (to use jmalloc and
jfree so memory leaks can be detected).
2008-10-13 21:43:41 +00:00
David Capello 9bf40439d4 Added jstring. The file-selector now uses jstrings. 2008-10-11 20:41:27 +00:00
David Capello 17dee030f5 Added undo support when changing frame duration.
Replaced ClearMask with Undoable::clear_mask.
2008-10-11 15:59:13 +00:00
David Capello a587132ffe Project converted to C++. 2008-09-30 21:01:54 +00:00