David Capello
4fac1f119b
Remove requirement of ddraw.lib library, so we can compile with the latest DirectX SDK.
2011-07-26 23:42:14 -03:00
David Capello
8cc1e0e7b7
Fix bug with dead FileItems in fileitems_map.
2011-07-06 22:03:58 -03:00
David Capello
57dd972ce5
Replace JList and JLink usage in filesel.cpp with FileItemList and NullableIterator.
2011-07-06 21:59:49 -03:00
David Capello
c2881f24c9
Fix problem in PopupFrame::onProcessMessage() where key-pressed events
...
are lost when the popup frame is focused.
2011-07-01 00:25:51 -03:00
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
c6e6d3fe95
Avoid to start with both colors selected (FG & BG) at the start in the color-bar.
2011-06-27 21:43:33 -03:00
David Capello
e5b2a9c5e7
Modify PaletteView selection, replacing the "rectangle-range" with
...
the normal behavior for Ctrl+click: select several palette entries
one by one.
2011-06-26 19:07:19 -03:00
David Capello
2689d2fbb9
Add a label to show the selected palette entry in the Palette Editor.
2011-06-25 21:28:36 -03:00
David Capello
9b658ad24b
Generate a palette change event when a color entry is modified
...
using the Palette Editor (and set_current_palette() is not used).
2011-06-25 20:18:24 -03:00
David Capello
e74bebcc79
Listen to palette changes in ColorSelector.
2011-06-25 20:17:48 -03:00
David Capello
12de365e6f
Fix problem regenerating the recent file menu.
...
+ Added Widget::deferDelete().
+ Removed schedule_rebuild_recent_list().
+ Renamed app_realloc_recent_list() to app_rebuild_recent_list().
+ Removed JM_DEFERREDFREE message, MessageDefFree struct, and
jwidget_free_deferred() function.
2011-06-25 19:10:31 -03:00
David Capello
7471229840
Fix a bug using fop->format when it's NULL in fop_free() (introduced in previous commit).
2011-06-25 17:29:58 -03:00
David Capello
c32551db64
Fix issue #9 : GIF files are loaded as Indexed images now.
...
+ Added support for non-zero transparent index.
+ Added fop_post_load() to do post-load processing which need user-interaction.
+ Added FileFormat::onPostLoad/onDestroyData members.
+ Added Document::addSprite().
2011-06-25 17:12:08 -03:00
David Capello
ff481003c8
Now right-clicking a tab shows a popup-menu with useful options for the document.
...
+ Added OpenInFolder and OpenWithApp commands.
+ Added Launcher::openFolder.
+ Added document_tab_popup_menu.
2011-06-25 14:28:50 -03:00
David Capello
e281fc4a41
Add OVERRIDE in JpegFormat::onGetFormatOptions declaration.
2011-06-23 22:16:05 -03:00
David Capello
bdf56545d1
Update some TODO entries.
2011-06-23 21:58:05 -03:00
David Capello
5c010a6f9c
Remove docs/manual/ directory.
2011-06-16 22:59:23 -03:00
David Capello
3d79324b12
Update README.html file (contact, authors, credits, etc.) and add more licenses.
2011-06-16 22:53:02 -03:00
David Capello
0f243056bb
Improve dist.sh file to include only "git grep -l" files in source dist.
2011-06-16 20:43:55 -03:00
David Capello
159ca8805c
Add TODO entries for JRect and JRegion.
2011-05-23 22:59:03 -03:00
David Capello
7ca2cebb06
Rename COPYING to LICENSE.txt.
2011-05-21 10:04:22 -03:00
David Capello
5361d22879
Add button to disable mini editor.
2011-04-30 16:55:22 -03:00
David Capello
0227467da5
Minor changes (C style comments to C++ style).
2011-04-30 15:31:08 -03:00
David Capello
132e246ebf
Fix several menu glitches.
...
+ Fixed issue #10 (Alt+sequence of underlined letters is working now).
+ Close the whole menu hierarchy when Alt key is released and then
pressed again.
+ Close all menus when a command is executed.
2011-04-30 15:31:07 -03:00
David Capello
305a824d72
Add PaintFlags to SelectBoxState editor state.
...
The SelectBoxState::PaintGrid will be used for the future "import sheet" command.
2011-04-30 15:31:06 -03:00
David Capello
b06c6719c8
Fix problem closing the last "normal" editor (because the existence of the new "mini" editor).
2011-04-30 15:31:05 -03:00
David Capello
5be14417f3
Convert menu widgets to Menu, MenuItem, MenuBox, and MenuBar classes.
2011-04-30 15:31:05 -03:00
David Capello
d85305322d
Fix IcoFormat::onLoad() clearing the image as first step
...
because sometimes some pixels are not set.
2011-04-30 15:31:04 -03:00
David Capello
bda7f6c31d
Add DropDownButton widget.
2011-04-30 15:31:03 -03:00
David Capello
7260fa20f9
Fix compilation of unit tests on Linux with pthreads.
2011-04-28 22:32:37 -03:00
David Capello
b9cefbe32a
Fix objects_container_impl_unittest.
2011-04-28 22:32:23 -03:00
David Capello
cf58f35751
Fix EditorPreRenderImpl() ctor (reported by Nguyen Michael).
2011-04-28 20:49:02 -03:00
David Capello
a0db1deeee
Fix SelectBoxState::onSetCursor() when the user is dragging a ruler.
2011-04-21 18:42:56 -03:00
David Capello
fc2fd9fdfd
Rename SelectTileState to SelectBoxState.
2011-04-21 18:30:29 -03:00
David Capello
ef4ce8a7f2
Now when an entry box in "Canvas Size" is modified, the rulers are moved.
2011-04-21 18:01:21 -03:00
David Capello
312cab0902
Rename some variables in merge_zoomed_image() just to improve readability.
2011-04-21 17:42:14 -03:00
David Capello
210e33f76a
Improve "Canvas Size" command to show rulers to change the canvas size.
...
+ Added EditorDecorator and EditorState::getDecorator().
+ Added EditorPreRender and EditorPostRender classes.
+ Added Image::rectblend and image_rectblend functions to draw
transparent rectangles.
+ Added SelectTileState and Ruler classes.
2011-04-21 17:39:43 -03:00
David Capello
6293161028
Add "default state" to the editor.
...
+ Converted to shared pointer (EditorStatePtr) the current/default state
of the editor to simplify memory management of states.
2011-04-21 17:29:43 -03:00
David Capello
5bbf0140cd
Now "closewindow" attribute works for <button> widget when it isn't inside a window.
2011-04-21 17:17:16 -03:00
David Capello
9e252f992f
Modify Editor::drawGrid() to paint the grid inside the image's bounds.
2011-04-20 23:17:05 -03:00
David Capello
ac74679cc2
Add Editor::changePreferredSettings() to fix problems with mini editor
...
changing the preferred document settings (scroll+zoom).
2011-04-20 20:48:22 -03:00
David Capello
4a4db10ea8
Add some checks in move_focus() for null pointers in gui/manager.cpp.
2011-04-10 20:17:04 -03:00
David Capello
5380877c4a
Refactor Editor class to use a state design pattern.
...
+ Added EditorState and derived classes (StandByState, DrawingState, etc.)
+ Added StatusBarListener.
2011-04-10 20:15:17 -03:00
David Capello
ef0cbf0e94
Fix bug in Editor::drawMaskSafe() where mask in hidden editors were drawn.
2011-04-06 22:09:01 -03:00
David Capello
8a40228ab3
Change default screen scale to 2x2 by default in all platforms.
2011-04-06 20:15:36 -03:00
David Capello
18fa17c5a9
Remove "using namespace tools;" from editor.cpp.
2011-04-03 16:23:09 -03:00
David Capello
ff1ada1d56
Add a note about IntEntry in TODO.txt.
2011-04-02 23:13:01 -03:00
David Capello
db4fc75f2a
Set minifont for "Edit Pal" button and convert it to check-box behavior.
2011-04-02 23:10:02 -03:00
David Capello
36b3309125
Fix "i" glyph in minifont.
2011-04-02 23:08:46 -03:00
David Capello
e7d12f9062
Change the title of mini-editor from "Preview" to "Mini-Editor".
2011-04-02 21:00:08 -03:00