aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/gfx/gfx_widgets.cpp
AgeCommit message (Collapse)Author
2009-05-05SCI: Work around an 'Array used after being disposed' bug that occurs when a ↵Max Horn
GfxVisual gets disposed svn-id: r40327
2009-04-27SCI: renamed gfx_text_handle_t -> TextHandle; changed some string code to ↵Max Horn
use Common::String svn-id: r40162
2009-04-27SCI: Removed unused vars; doxygenified some comments; cleanupMax Horn
svn-id: r40159
2009-04-27SCI: Rewrote dirty rect code to use Common::ListMax Horn
svn-id: r40156
2009-04-27SCI: Renamed gfx_state_t -> GfxStateMax Horn
svn-id: r40155
2009-04-24SCI: Turned GfxWidget::draw function pointer into virtual methodMax Horn
svn-id: r40115
2009-04-24SCI: Turned GfxWidget::tag function pointer into virtual methodMax Horn
svn-id: r40114
2009-04-24SCI: Turned GfxWidget::print function pointer into virtual methodMax Horn
svn-id: r40113
2009-04-24SCI: Changed GfxWidget::set_visual function pointer to virtual method setVisualMax Horn
svn-id: r40108
2009-04-24SCI: Got rid of GFXW() macro; turned GfxWidget::widfree into destructorsMax Horn
svn-id: r40107
2009-04-24SCI: font_nr -> _fontMax Horn
svn-id: r40106
2009-04-24SCI: Rewrote the port_refs code (fixing at least three serious bugs in it. ↵Max Horn
Wow, crappy) svn-id: r40105
2009-04-24SCI: Renamed gfxw_widget_t and subtypes to GfxWidget etc.Max Horn
svn-id: r40104
2009-04-24SCI: Started to C++ify the gfxw_widget_t codebaseMax Horn
svn-id: r40103
2009-04-03Removed the non-working Chrono port code, after discussing with LarsFilippos Karapetis
svn-id: r39819
2009-03-25Remove a workaround in the line drawing function - it shouldn't be necessary ↵Filippos Karapetis
anymore svn-id: r39697
2009-03-25Changed the primitive equality check to not use Common::Rect, as the two ↵Filippos Karapetis
primitives being compared might not actually be rectangles (e.g. they may be lines, in which case the "width" and "height" might be negative) svn-id: r39695
2009-03-25- Renamed gfx/sci_widgets.* to gfx/gfx_gui.*, as these files contain GUI ↵Filippos Karapetis
elements mostly, like windows and status bars - Moved kWindowAutoRestore from gfx_widgets.h to gfx_gui.h svn-id: r39687
2009-03-19Fixed issues with commit #39449, fixing some graphical glitches with the GUI ↵Filippos Karapetis
widgets svn-id: r39534
2009-03-16It seems that the SCI GUI code tries to show rectangles with negative ↵Filippos Karapetis
height. Added some sanity checks for this, but the *real* problem lies elsewhere svn-id: r39451
2009-03-16Replaced some rect_t operations with our common ones. For now, two helper ↵Filippos Karapetis
functions are used to easily change types between Common::Rect and rect_t, until rect_t is removed svn-id: r39449
2009-03-16Replaced "xl" with "width" and "y1" with "height" in places where rectangles ↵Filippos Karapetis
are used svn-id: r39435
2009-03-12SCI: Removed most uses of the 'inline' keyword. It is usually better to let ↵Max Horn
the compiler figure out what to inline. As it is, most of these looked as if they were randomly placed ;) svn-id: r39352
2009-03-08Use new Palette class to manager pixmap palettes.Willem Jan Palenstijn
There are some remaining regressions with text colour in SCI1 games, but overall it should fix more than it breaks. svn-id: r39242
2009-03-07SCI: Reduced header interdependencies some moreMax Horn
svn-id: r39202
2009-03-03SCI1: Improved color mapping when drawing line/box/text. Text with ↵Greg Frieger
transparent background now displays correctly. svn-id: r39089
2009-02-28Fix warnings.Johannes Schickel
svn-id: r38972
2009-02-27Fix code formattingEugene Sandulenko
svn-id: r38930
2009-02-24SCI: Renamed gfx/gfx_operations.h to gfx/operations.h (matching the source ↵Max Horn
file); moved include/sci_widgets.h to gfx/ (matching location of source file); renamed gfx/widgets.cpp to gfx/gfx_widgets.cpp (matching the header) svn-id: r38852