Pietro Gagliardi
|
1d7c530c32
|
More implementation of the new uiWindows control parenting and sizing system.
|
2022-07-30 04:14:16 -04:00 |
Pietro Gagliardi
|
c9310e21b7
|
Implemented parenting on Windows; doing everything through uiControlSetParent() makes this trivial. Now I need to implement sizing, so we can actually test some things with this.
|
2022-07-29 22:28:38 -04:00 |
Pietro Gagliardi
|
f3820ac4b0
|
Okay new plan: we're going to start with the Windows implementation instead, since that's the one that's going to have to be more complicated. I'll then decide if we should copy this strategy on the other platforms or not.
|
2022-07-27 21:43:15 -04:00 |
Pietro Gagliardi
|
7cdd6ee38c
|
Finished all the necessary bits to implement what little of uiWindow we have now on Windows. Now to fill in the tests.
|
2020-06-07 14:10:16 -04:00 |
Pietro Gagliardi
|
188d9f736f
|
Reintegrated UTF-16 stuff we need immediately and prepared the test suite for it.
|
2020-06-06 22:30:50 -04:00 |
Pietro Gagliardi
|
3f392d04ce
|
Started migrating uiWindow on Windows. Oh boy it's UTF-16 time!
|
2020-06-06 19:27:05 -04:00 |
Pietro Gagliardi
|
992d8694a9
|
Let's start the remodel. Move almost everything out of the way.
|
2019-04-08 20:36:21 -04:00 |
Pietro Gagliardi
|
c6bb463692
|
uiAlloc() et al -> uiprivAlloc() et al, Windows code.
|
2018-04-15 18:12:58 -04:00 |
Pietro Gagliardi
|
6c85f39584
|
Improved the comment in the previous commit.
|
2018-02-17 12:56:47 -05:00 |
Alexander Neumann
|
ee87a9db23
|
Fix enter/escape crashes on Windows (#202)
* Do not let slip through IDOK and IDCANCEL as menu events, fixes #55
* Add comment about IDOK and IDCANCEL
|
2018-02-17 12:53:32 -05:00 |
Pietro Gagliardi
|
57fbf78ef3
|
More removal.
|
2016-10-22 19:31:57 -04:00 |
Pietro Gagliardi
|
edd70b9fa5
|
More uiWindows cleanup.
|
2016-10-22 18:35:41 -04:00 |
Pietro Gagliardi
|
377f46814a
|
Started adding borderless uiWindow support; implemented on Windows.
|
2016-06-16 11:20:28 -04:00 |
Pietro Gagliardi
|
aafdb75a98
|
And implemented the fullscreen stuff on Windows.
|
2016-06-16 10:30:44 -04:00 |
Pietro Gagliardi
|
e5064de86b
|
More TODOs.
|
2016-06-15 23:00:26 -04:00 |
Pietro Gagliardi
|
6c56f1e1ce
|
Implemented the window size stuff on Windows.
|
2016-06-15 22:52:35 -04:00 |
Pietro Gagliardi
|
c3777da0f4
|
And added the new uiWindow methods on Windows.
|
2016-06-15 21:55:42 -04:00 |
Pietro Gagliardi
|
997c8aac35
|
Implemented visibility change detection on Windows. Now to refine the actual implementation of hidden controls.
|
2016-06-14 15:55:24 -04:00 |
Pietro Gagliardi
|
4524ffce5e
|
Removed most of the intmax_ts, which are all MinimumSize()s.
|
2016-06-13 21:54:15 -04:00 |
Pietro Gagliardi
|
ab0a9102b4
|
Added a user bug for calling SetParent() on a uiWindow.
|
2016-05-22 20:02:47 -04:00 |
Pietro Gagliardi
|
d060744f87
|
Some TODO resolution.
|
2016-05-22 13:09:13 -04:00 |
Pietro Gagliardi
|
1d8ea79e45
|
Removed uiControlVerifyDestroy(); we could have just had it in uiFreeControl().
|
2016-05-22 01:07:25 -04:00 |
Pietro Gagliardi
|
1db3027619
|
Finished the re-disabling of all windows on Windows dialogs.
|
2016-05-15 19:38:45 -04:00 |
Pietro Gagliardi
|
1d08521cb7
|
Started reimplementing the old dialog helper stuff. Now that we're C++ on Windows, we can do this directly in window.cpp and save time.
|
2016-05-15 19:22:15 -04:00 |
Pietro Gagliardi
|
1a77e9f301
|
Fixed all compiiler errors. Now for runtime errors!
|
2016-04-29 17:08:31 -04:00 |
Pietro Gagliardi
|
affa6a7080
|
Converted QueueRelayout to MinimumSizeChanged.
|
2016-04-29 12:20:41 -04:00 |
Pietro Gagliardi
|
3baa94476d
|
Adjusted uiWindow to use the new system for propagating minimum size changes.
|
2016-04-28 17:11:32 -04:00 |
Pietro Gagliardi
|
c457d9bf00
|
Started a newer, better system for propagating layout changes. This relies on WM_GETMINMAXINFO, at least...
|
2016-04-28 16:59:26 -04:00 |
Pietro Gagliardi
|
56853c5d86
|
Cleaned up some control ID stuff.
|
2016-04-27 17:51:33 -04:00 |
Pietro Gagliardi
|
f83e39e033
|
Decided something for how to actually perform a resize for a child control. This solidifies one-HWND-per-control.
|
2016-04-27 12:18:58 -04:00 |
Pietro Gagliardi
|
4866168ecf
|
Quick bugfix in childMinimumSizeChanged for uiWindow.
|
2016-04-27 01:25:36 -04:00 |
Pietro Gagliardi
|
3563dd74e7
|
Finished migrating window.cpp. A few utility functions came along for the ride. Maybe child.cpp won't be needed...?
|
2016-04-27 00:54:22 -04:00 |
Pietro Gagliardi
|
78b49ae04d
|
Started reworking window.cpp to get a feel for what's going to happen. This is a mess...
|
2016-04-26 22:44:40 -04:00 |
Pietro Gagliardi
|
cf51ec823f
|
Got rid of toplevelOwning(); I didn't like that one.
|
2016-04-24 18:23:00 -04:00 |
Pietro Gagliardi
|
bc0a1d43c9
|
Applied the new type system to the Windows backend and fixed some more C++ stupidity related to it.
|
2016-04-24 17:38:48 -04:00 |
Pietro Gagliardi
|
7b0f930185
|
Removed all the type function declarations from all the controls. More TODOs.
|
2016-04-24 15:04:36 -04:00 |
Pietro Gagliardi
|
cef1f90634
|
Oh right, also changed this to me in control implementations. Forgot that. NOW we can fix up the makefiles and test.
|
2016-04-23 16:52:53 -04:00 |
Pietro Gagliardi
|
e916c2f5fc
|
Migrated uipriv_windows.h. Mostly.
|
2016-04-23 15:46:39 -04:00 |
Pietro Gagliardi
|
fbef804608
|
Quick and dirty C++ conversions of box.c, tab.c, and window.c. I feel like I need another rewrite...
|
2016-04-23 11:22:46 -04:00 |