summaryrefslogtreecommitdiff
path: root/src/window.cpp
AgeCommit message (Collapse)Author
2007-11-19(svn r11481) -Codechange: Rename the HASBIT function to fit with the naming ↵skidd13
style
2007-11-19(svn r11475) -Codechange: rename clamp and clampu to Clamp and ClampU to fit ↵skidd13
with the coding style
2007-11-18(svn r11471) -Codechange: one more variable retyped to enum ↵smatz
ViewportHighlightMode
2007-11-11(svn r11405) -Fix: in rare cases OpenTTD could segfault when resizing and ↵truelight
scroll the main window (Rafal Rzepecki)
2007-10-20(svn r11304) -Feature: Control-Clicking the Center Main View button on the ↵belugas
vehicle window allows the main viewport to follow the chosen vehicle.(stevenh)
2007-10-14(svn r11256) -Codechange: Make opening a new toolbar not overlapping its ↵belugas
parent one, by locating it under the parent, and aligned with the left side of it. FS#1310, by BigBB
2007-08-23(svn r10967) -Fix: in case of moving the window on create (because it ↵truelight
doesn't fit in the screen), make sure to move the viewport too if we are an extra viewport (spotted by Maedhros)
2007-08-19(svn r10932) -Codechange: replace "text" with "chat" for the chat related ↵rubidium
function and variables.
2007-07-29(svn r10730) -Codechange: allow (some) arbitrary data to be send to the ↵rubidium
WE_CREATE event.
2007-07-29(svn r10727) -Codechange: when a window would fall outside of the screen (on ↵rubidium
the right) when opening it, move it to the left so it stays inside the screen.
2007-07-29(svn r10726) -Codechange: make it possible that the chat window is less than ↵rubidium
640 pixels.
2007-07-29(svn r10725) -Codechange: move some window related code out of gfx.cpp to ↵rubidium
windows.cpp
2007-07-28(svn r10717) -Fix: in-game console had a "transparent" part when opened in a ↵rubidium
game, while it did not in the menu.
2007-07-28(svn r10716) -Codechange: not all windows' minimum size is actually their ↵rubidium
minimum size, so take the size of the window after WE_CREATE has been called as bare minimum size.
2007-07-27(svn r10707) -Codechange: account for the main toolbar and status bar when ↵rubidium
determining the maximum height for a window.
2007-07-27(svn r10705) -Fix (r10704): some windows were not correctly initialized as ↵rubidium
they resized the window themselves and that should be interfered by making sure the window is resized in the right "step" size. -Fix (r10704): call the WE_RESIZE when resizing during initialization of the windows.
2007-07-27(svn r10704) -Codechange: provide an infrastructure to have resizable ↵rubidium
windows that are smaller than the default window size.
2007-07-22(svn r10649) -Fix (r9962): autoscroll (pointer near screen edge) didn't workpeter1138
2007-07-07(svn r10465) -Fix: first run the WE_CREATE callback and then perform the ↵rubidium
dirtying of the window, so you won't get glitches if you resize a window in the WE_CREATE callback.
2007-06-25(svn r10333) -Fix [FS#943]: News messages were shown on top of the endgame ↵rubidium
screen and high score chart.
2007-06-22(svn r10276) -Codechange: made a counter based on milliseconds and ↵truelight
independent of the game-state to base double-click and TGP Generation Process on -Codechange: renamed _timer_counter to _palette_animation_counter, as that is what it is
2007-06-22(svn r10265) -Feature: allow double-clicking on certain places: ↵truelight
build-vehicle and town-action
2007-06-17(svn r10190) -Codechange: merged renderer and blitter to one single class ↵truelight
API: blitter -Codechange: introduced a hierachy of blitters to avoid a lot of code duplication Note: this allows much easier adding other types of video-drivers, like OpenGL
2007-06-12(svn r10121) -Codechange: split renderer from rest of code; no longer any ↵truelight
code directly accesses the video-buffer -Add: added NULL blitter and renderer, which are always used for -vnull -Add: dedicated driver doesn't blit nor render by default. Can be overruled by user. (-D -b 8bpp-optimized) -Remove: removed CTRL+D from win32, which is incompatible with above -Add: extended screenshot support for PNG and BMP -Codechange: remove all hardcoded 8bpp references and replace them with more dynamic ones -Codechange: minor stuff in blitters
2007-05-15(svn r9846) -Codechange: introduced ZOOM_LVL_MIN and ZOOM_LVL_MAX for the ↵truelight
obvious reasons -Codechange: introduced ZOOM_LVL_DETAIL to show/remove details -Codechange: changed << and >> operator with ZoomLevel to a simple wrapper (that in theory also allows zoom-in besides the current zoom-out) -Fix r9845: missed some int -> ZoomLevel
2007-05-15(svn r9844) -Codechange: replace zoomlevel with an enumtruelight
-Codechange: use predefined enums for viewport zoomlevels
2007-04-26(svn r9720) -Codechange: Remove global var and gotos from window autoplacementpeter1138
2007-04-18(svn r9673) -Cleanup: remove spaces before tabs and replace non-indenting ↵rubidium
tabs with spaces.
2007-04-18(svn r9672) -Cleanup: lots of coding style fixes around operands.rubidium
2007-04-17(svn r9662) -Documentation: Doxygen corrections and @file omissionsbelugas
2007-04-09(svn r9580) -Documentation: Correction of doxygen function declarationsbelugas
2007-04-06(svn r9568) -Documentation: doxygen and comment changes: Root of src is ↵belugas
finally done. Now, time to start clearing as much as possible
2007-03-11(svn r9126) -Feature: "Function of scrollwheel" can now be set to off as wellbjarni
Note: since this can be useful for all platforms, the GUI is no longer OSX specific. Note: scrolling lists is still unaffected by this setting
2007-03-11(svn r9112) -Feature r9111: scrollwheel scrolling can now also scroll the ↵bjarni
smallmap
2007-03-11(svn r9111) -Feature: [OSX] mighty mice and touchpads can now scroll the map ↵bjarni
(in all directions) It has to be enabled first (in patches->interface) first and this will disable scrollwheel zooming Note: patch setting "Map scrollwheel speed" might need to be changed since the "correct" setting appears to depend on what kind of mouse is in use (mighty mouse or touchpad)
2007-03-07(svn r9051) -Codechange: typedef [enum|struct] Y {} X; -> [enum|struct] X {};rubidium
2007-03-07(svn r9050) -Codechange: Foo(void) -> Foo()rubidium
2007-03-06(svn r9034) -Codechange: renamed _pause to _pause_game, as some targets ↵truelight
already have a symbol called _pause (and therefor our variable conflicts with thatone. We shouldn't be using _ as global indicator.....)
2007-02-23(svn r8853) -Cleanup: doxygen changes. Correct forgotten c files to cpp ↵belugas
files with the @file tag as well as a few general comments style
2007-02-02(svn r8533) -Fix: segmentation fault when the toolbar gets removed and you ↵rubidium
have selected one of the items in a submenu of the toolbar.
2007-01-13(svn r8101) -Fix (runknown): Plug potential memleaks when calling ↵Darkvater
UnInitWindowSystem. The function directly deleted all windows instead of calling their respective deallocators which could then in turn any used memory.
2007-01-11(svn r8066) - Codechange: MallocT(), CallocT(), ReallocT() now return the ↵KUDr
pointer to allocated memory instead of modifying the pointer given as parameter
2007-01-10(svn r8038) -Merge: the cpp branch. Effort of KUDr, Celestar, glx, Smoovius, ↵rubidium
stillunknown and pv2b.
2007-01-10(svn r8033) [cpp] - Prepare for merge from branches/cpp (all .c files ↵KUDr
renamed to .cpp)