Pietro Gagliardi
|
6b7b5de743
|
Migrated alloc.c to C++. This is working already :v
|
2016-04-20 20:20:10 -04:00 |
Pietro Gagliardi
|
655e05463d
|
Implemented the new font button stuff on Windows.
|
2016-04-20 14:17:55 -04:00 |
Pietro Gagliardi
|
721269b3eb
|
Implemented colored text on OS X and Windows.
|
2016-04-19 18:45:16 -04:00 |
Pietro Gagliardi
|
a1d0e669c8
|
Added some helpers for actually returning a font from the font button on Windows. Similar helpers are needed on other platforms.
|
2016-04-18 19:18:29 -04:00 |
Pietro Gagliardi
|
861b5f22df
|
Finished changing the Windows font dialog and uiFontButton to manipulate IDWriteFonts directly.
|
2016-04-18 17:14:33 -04:00 |
Pietro Gagliardi
|
b19a8c9c46
|
Okay, I made a mistake: we want uiFontButton to return uiDrawFonts, not uiDrawFontDescriptors. Started the work to change the Windows one likewise.
|
2016-04-18 15:31:52 -04:00 |
Pietro Gagliardi
|
ccfa3d41a3
|
More work on the initial font and showing styles. I have a feeling my current approach is a mistake.
|
2016-04-18 13:32:48 -04:00 |
Pietro Gagliardi
|
97aad9a039
|
Added support routines for migrating DirectWrite attributes.
|
2016-04-18 00:41:17 -04:00 |
Pietro Gagliardi
|
7cf8420682
|
Hooked the Windows font button and font dialog together at last. More TODOs. Now we just need to actually convert everything to DirectWrite and implement the label.
|
2016-04-17 22:09:18 -04:00 |
Pietro Gagliardi
|
3bb2a0ab21
|
Added a Direct2D scratch control that will be used by the font and color dialogs we will implement.
|
2016-04-17 11:53:24 -04:00 |
Pietro Gagliardi
|
fa94298015
|
Split the function to extract the correct string of an IDWriteLocalizedStrings instance out into its own function. I'm not sure if I'll need the informational strings out of a font (need to see what the strings actually say first), but in case I do, this will help.
|
2016-04-15 10:15:05 -04:00 |
Pietro Gagliardi
|
97d35571c1
|
Started writing a replacement for the standard ChooseFont() dialog that uses DirectWrite instead of GDI.
|
2016-04-14 21:35:50 -04:00 |
Pietro Gagliardi
|
88e797e2be
|
Split the DirectWrite boilerplate to another C++ file so we can write a new font dialog with it, maybe.
|
2016-04-14 19:57:58 -04:00 |
Pietro Gagliardi
|
a826fd7516
|
Wrote the text drawing code on Windows. Now to build and test.
|
2016-01-09 01:07:48 -05:00 |
Pietro Gagliardi
|
5267489f0b
|
Now entering Valhalla.
|
2015-12-22 16:00:51 -05:00 |
Pietro Gagliardi
|
f04bbe1bdc
|
Laid the foundation for text rendering into uiAreas on Windows. GTK+ and Cocoa backends need no special setup (we can start using Pango and Core Text respectively without extra initialization). Not sure when I'll actually add the APIs to draw text, but hopefully it's soon because I really really really need to start working on what I was actually going to USE this library for, and text rendering is the last major prerequisite.
|
2015-12-22 00:35:52 -05:00 |
Pietro Gagliardi
|
e76b34b670
|
Split windows/area.c into a bunch of files to make it much more manageable. Also did half of the migration to the new uiArea system.
|
2015-12-18 12:00:46 -05:00 |
Pietro Gagliardi
|
f77955aefb
|
Added uiQueueMain() (basically g_idle_add()) and implemented it on all platforms except Haiku. A test to come. After this we can start rewriting the Go package ui at long last.
|
2015-12-04 23:42:03 -05:00 |
Pietro Gagliardi
|
e6e264408f
|
Implemented dialog parenting on Windows. Eliminated the dialog helper. uiArea still works (and still responds to key events), but IsDialogMessage() isn't being called for the active window anymore...
|
2015-11-28 10:53:48 -05:00 |
Pietro Gagliardi
|
3a5a4557ab
|
Switch uiArea from using a custom message pump to using a message filter for input handling. This allows us to rewrite the dialog system to avoid needing to block ALL windows and set a proper parent window.
|
2015-11-27 21:45:30 -05:00 |
Pietro Gagliardi
|
ab97e26efc
|
Moved all the common stuff in a new folder common/. This is part of the makefile simplification.
|
2015-10-16 18:31:14 -04:00 |
Pietro Gagliardi
|
e4e72e55bb
|
Merged the Windows uiArea back into the main library.
|
2015-10-09 11:17:58 -04:00 |
Pietro Gagliardi
|
35a4098a35
|
Made the uiWindow grow when necessary.
|
2015-09-02 16:26:54 -04:00 |
Pietro Gagliardi
|
3f1b72721e
|
Implemented uiTab minimum size and uiWindow resize restriction.
|
2015-09-02 16:02:06 -04:00 |
Pietro Gagliardi
|
54332b90fb
|
Finally merged out the redo folder.
|
2015-09-02 13:48:06 -04:00 |
Pietro Gagliardi
|
cefd262f42
|
More migration. Just control.c left, and then we can build.
|
2015-08-31 15:14:02 -04:00 |
Pietro Gagliardi
|
8213eac2d7
|
Moved everything up a directory level.
|
2015-08-27 12:05:11 -04:00 |
Pietro Gagliardi
|
d98ca5dfd4
|
Removed more files from the top level.
|
2015-08-27 11:59:59 -04:00 |
Pietro Gagliardi
|
bd4716c949
|
Started code for handling WM_QUERYENDSESSION and its console equivalent.
|
2015-05-09 14:22:51 -04:00 |
Pietro Gagliardi
|
3f3191ea7a
|
More Windows uiUninit() implementation.
|
2015-05-08 15:01:23 -04:00 |
Pietro Gagliardi
|
04923399fe
|
Implemented uninitMenus() on Windows.
|
2015-05-08 14:23:22 -04:00 |
Pietro Gagliardi
|
85ca2a0901
|
Wrote uninitAlloc() on Windows.
|
2015-05-08 14:05:16 -04:00 |
Pietro Gagliardi
|
efbdf14d5f
|
Made all instances of SetWindowPos() and MoveWindow() use the same wrapper functions so they can all use the same flags. Only the SetWindoPos() that sets the initial size of a uiWindow is unaffected (since that is a special case).
|
2015-05-07 17:40:13 -04:00 |
Pietro Gagliardi
|
329b4f29dd
|
Implemented tab navigation across tabs on Windows.
|
2015-05-06 18:37:21 -04:00 |
Pietro Gagliardi
|
c5e5fbd909
|
Laid the foundation for proper tab navigation in uiTabs.
|
2015-05-06 18:05:07 -04:00 |
Pietro Gagliardi
|
93ead4043e
|
Added a wrapper around MapWindowRect() to simplify error handling. This will be needed for future changes to windows/container.c.
|
2015-05-05 13:12:48 -04:00 |
Pietro Gagliardi
|
3260de37b3
|
BOOL -> int in initAlloc() on Windows.
|
2015-05-02 12:29:55 -04:00 |
Pietro Gagliardi
|
a70d56d77c
|
Switched to the Windows API heap functions in windows/alloc.c.
|
2015-05-02 12:27:53 -04:00 |
Pietro Gagliardi
|
5ad2bfd6f0
|
Cleaned up uipriv*.h.
|
2015-05-01 10:14:11 -04:00 |
Pietro Gagliardi
|
75b4d28569
|
Implemented menu destruction on Windows.
|
2015-04-30 17:05:41 -04:00 |
Pietro Gagliardi
|
6c6bce3702
|
Moved everything back to the top level.
|
2015-04-29 11:02:38 -04:00 |
Pietro Gagliardi
|
4c280ca42c
|
Removed or moved a bunch of stale files from the old source. All that's left now is to re-add the main controls and recreate the test program.
|
2015-04-29 10:20:25 -04:00 |
Pietro Gagliardi
|
dc386a599e
|
Added a framework for handling menu events on Windows.
|
2015-04-21 18:44:31 -04:00 |
Pietro Gagliardi
|
f303f066e2
|
Started implementing menus on Windows.
|
2015-04-20 20:26:21 -04:00 |
Pietro Gagliardi
|
55fe50463f
|
Changed Windows onWM_DESTROY to a generic onDestroy handler with a data parameter. This will make decoupling widget destruction from WM_DESTROY (like we did on GTK+ by decoupling from ::destroy) easier.
|
2015-04-18 18:02:16 -04:00 |
Pietro Gagliardi
|
d79acdf876
|
More Windows backend cleanup.
|
2015-04-17 11:19:42 -04:00 |
Pietro Gagliardi
|
5e5df97642
|
Migrated windows/button.c. This might be better; I don't know yet...
|
2015-04-17 10:40:52 -04:00 |
Pietro Gagliardi
|
d4fb903c07
|
Moved the uipriv_*.h files to the respective folders. The ui_*.h files stay up here; they'll be moved to IDLs later.
|
2015-04-15 18:51:04 -04:00 |