Commit Graph
36 Commits
Author SHA1 Message Date
Eugene Sandulenko 7cea8a99e4 BAGEL: Renames in boflib/string.h 2024-05-05 13:27:01 +02:00
Eugene Sandulenko a9feb83180 BAGEL: Renames in boflib/r*.h 2024-05-05 13:27:01 +02:00
Eugene Sandulenko 89d3bba7dc BAGEL: Renames in boflib/[m-q]*.h 2024-05-05 13:27:01 +02:00
Eugene Sandulenko da42da4b4b BAGEL: Renames in boflib/l*.h 2024-05-05 13:27:01 +02:00
Eugene Sandulenko ce5561b046 BAGEL: Renames in boflib/app.h 2024-05-05 13:27:01 +02:00
Eugene Sandulenko d0ec64a825 BAGEL: Renames in boflib/gfx/text.h 2024-05-05 13:27:01 +02:00
Eugene Sandulenko 29a2410771 BAGEL: Rename class methods in boflib/gfx/bitmap.h 2024-05-05 13:27:01 +02:00
Eugene Sandulenko dd992e317d BAGEL: Renamed rest of boflib/gui/window.h 2024-05-05 13:27:01 +02:00
Eugene Sandulenko 85b6242278 BAGEL: Partial method renames in boflib/gui/window.h 2024-05-05 13:27:01 +02:00
Eugene Sandulenko df5b9ec254 BAGEL: Rename class variables in boflib/gui/list_box.h 2024-05-05 13:27:01 +02:00
Eugene Sandulenko 8a878dc344 BAGEL: Renames in boflib/gui/edit_text.h 2024-05-05 13:27:01 +02:00
Eugene Sandulenko 750f546afd BAGEL: Rename class variables in boflib/gui/button.h 2024-05-05 13:27:01 +02:00
Eugene Sandulenko a343f696ba BAGEL: Renamed rest of the methods in boflib/gui/dialog.h 2024-05-05 13:27:01 +02:00
Eugene Sandulenko 24aed88151 BAGEL: Some renames in boflib/gui/dialog.h 2024-05-05 13:27:01 +02:00
Strangerke f40ea59b4d BAGEL: Renaming in dev_dlg 2024-05-05 13:27:01 +02:00
Paul Gilbert 8ec36d4a86 BAGEL: Yet more BOF_MAC removal 2024-05-05 13:27:01 +02:00
Strangerke 19b4675571 BAGEL: Remove some unused includes in window.h, add include of std_keys in various cpp files 2024-05-05 13:27:01 +02:00
Strangerke ec8037edbc BAGEL: Reduce some variable scopes 2024-05-05 13:27:01 +02:00
Paul Gilbert e07f73f995 BAGEL: Cleanup of edit_text.cpp 2024-05-05 13:27:01 +02:00
Eugene Sandulenko e55173b1ee BAGEL: ERROR_CODE -> ErrorCode 2024-05-05 13:27:01 +02:00
Eugene Sandulenko 4197f7bdc4 BAGEL: INT -> int 2024-05-05 13:27:01 +02:00
Eugene Sandulenko 48dadba29b BAGEL: CHAR -> char 2024-05-05 13:27:01 +02:00
Eugene Sandulenko 7e6c2d89c9 BAGEL: VOID -> void 2024-05-05 13:27:01 +02:00
Eugene Sandulenko d866f067b2 BAGEL: Replace DWORD and UINT with ScummVM types 2024-05-05 13:27:01 +02:00
Eugene Sandulenko 6612a3767c BAGEL: Replace USHORT, UINT* and DOUBLE with ScummVM types 2024-05-05 13:27:01 +02:00
Paul Gilbert 462f915754 BAGEL: Fix save dialog edit text increasing as selection changes 2024-05-05 13:27:01 +02:00
Paul Gilbert 347a8021dd BAGEL: Fixes for edit text field in savegame dialog 2024-05-05 13:27:01 +02:00
Paul Gilbert f6cc0269e0 BAGEL: Fix freeing focus when closing save dialog 2024-05-05 13:27:01 +02:00
Paul Gilbert 59563f06a5 BAGEL: More work on edit text 2024-05-05 13:27:01 +02:00
Paul Gilbert 3d8e0b4a6f BAGEL: In progress implementing textbox logic 2024-05-05 13:27:01 +02:00
Eugene Sandulenko ce0b978db7 BAGEL: Completed basic cleanup 2024-05-05 13:27:01 +02:00
Eugene Sandulenko d35e8b07ce BAGEL: More cleanup 2024-05-05 13:27:01 +02:00
Eugene Sandulenko e2130090d3 BAGEL: Slight cleanup 2024-05-05 13:27:01 +02:00
Paul Gilbert 3df9104d93 BAGEL: Experimental fix to show button in CBagNextCDDialog modal
I'm honestly not sure how the various paint/Show methods work
enough to simulate them. The Next CD dialog in particular does:
1) It draws the dialog background
2) It creates the button and calls it's Show method to display it
3) It calls the Show method of the modal

This is the confusing bit.. called for a button, it renders it
into the view, but when Show is called for the modal, it doesn't
do any rendering, since re-rendering the background was erasing
the button that had already been rendered.

For now, I've done something that may be a bit of a hack.
A _children array has been added to CBofWindow, and the call to
UpdateWindow, after calling OnPaint to draw the dialog, then
iterates over each child to also re-render it. That way, the
same calls work for both the button and the modal.
2024-05-05 13:27:01 +02:00
Paul Gilbert c84c419521 BAGEL: Janitorial 2024-05-05 13:27:01 +02:00
Eugene Sandulenko aa9e1f0a2c BAGEL: Added CBofEditText class 2024-05-05 13:27:01 +02:00