Commit Graph

2401 Commits

Author SHA1 Message Date
Pietro Gagliardi 205cc9c2cf Fixed compilation issues. Now to implement uiButton on GTK+. 2015-04-07 13:37:03 -04:00
Pietro Gagliardi 5b929084f8 Tied everything together. Now to fix build issues. 2015-04-07 13:22:46 -04:00
Pietro Gagliardi 587da1f40f Added uiContainer, the GtkFixed equivalent for use by the GTK+ backend. Fixed up formatting of the uipriv_*.h files. 2015-04-07 12:59:01 -04:00
Pietro Gagliardi 698a0e5c74 Added the new native control code to the GTK+ backend. Fixed some missing statics in the Windows one too. 2015-04-07 12:17:05 -04:00
Pietro Gagliardi 32c6555fc0 Moved Windows container functions from util_windows.c to container_windows.c. 2015-04-07 11:39:15 -04:00
Pietro Gagliardi 0ec9dc9320 _snprintf_s() is not supported on Windows XP... 2015-04-07 04:22:30 -04:00
Pietro Gagliardi 3b52095ab0 Added uiControlHandle() and fixed other uiButton issues. 2015-04-07 04:12:03 -04:00
Pietro Gagliardi a7293951f7 Wrote up the initial uiButton implementation. It (mostly; just needs text and for that I need to add a uiControlHandle()) works! 2015-04-07 04:02:21 -04:00
Pietro Gagliardi 54dd1f4001 Hooked up resizing. Now to make a control that uses this. 2015-04-07 03:39:47 -04:00
Pietro Gagliardi c404590960 Fixed build issues. Now I just need to hook resizing into uiWindow and implement a control and we'll be set... 2015-04-07 03:12:34 -04:00
Pietro Gagliardi a3c26ff652 Hooked everything else together (initialParent, ui_windows.h in uipriv_windows.h). Now to fix build issues... (like a missing const in const char * fixed here too). 2015-04-07 03:02:07 -04:00
Pietro Gagliardi d14735883d Hooked up the WM_COMMAND and WM_NOTIFY bouncers. 2015-04-07 02:55:33 -04:00
Pietro Gagliardi 3160b1ae1f Added subclassing, which finishes off newcontrol_windows.c. 2015-04-07 02:46:27 -04:00
Pietro Gagliardi 816461ecbf Added Common Controls code again (because we're going to need the subclassing functions now). 2015-04-07 02:11:31 -04:00
Pietro Gagliardi fc3456f5e1 More Windows control work. 2015-04-07 01:51:17 -04:00
Pietro Gagliardi dd8de11cc2 More work on the Windows control hooking. 2015-04-07 01:33:26 -04:00
Pietro Gagliardi ab936d304f Added a public API for creating raw Windows controls. Removed include guards from uipriv_*.h. 2015-04-07 00:56:06 -04:00
Pietro Gagliardi 1d76d53593 Changed ui_*.h to uipriv_*.h pending a public non-portable API. 2015-04-07 00:26:27 -04:00
Pietro Gagliardi 06adf7488d Decided to start with the parenting stuff now. 2015-04-07 00:23:01 -04:00
Pietro Gagliardi 35e1f8e14c Started writing code for handling single-HWND controls on Windows. Similar code will exist for single-GtkWidget controls on GTK+ and single-NSView controls on Cocoa. 2015-04-06 22:26:53 -04:00
Pietro Gagliardi 93b99a690c Started working on uiControl. 2015-04-06 21:53:31 -04:00
Pietro Gagliardi 685844c594 Fixed initial Mac OS X code. 2015-04-06 20:01:14 -04:00
Pietro Gagliardi e4d6d11925 Started writing the same but for Mac OS X. This time it's not tested yet; will test now. 2015-04-06 19:04:13 -04:00
Pietro Gagliardi 9001ca34f7 Implemented what we have so far, but on Windows. 2015-04-06 17:41:33 -04:00
Pietro Gagliardi d1be6e3ce1 Added wintable's debugging printers to the new UI code. 2015-04-06 12:41:02 -04:00
Pietro Gagliardi 95440a3be1 Renamed some files. More TODOs. 2015-04-06 12:26:17 -04:00
Pietro Gagliardi 2f2836fa65 More precise cleanup in GTK+ uiInitErrorFree(). 2015-04-06 12:25:16 -04:00
Pietro Gagliardi ee1653f542 Started doing the C rewrite. Defined the basic initialization and main loop and window API and implemented them on GTK+. 2015-04-06 12:20:51 -04:00
Pietro Gagliardi 5057709847 Updated compatibility.md now that GTK+ 3.16 is officially out. 2015-03-29 16:33:59 -04:00
Pietro Gagliardi f792bbcb58 More TODOs. 2015-03-27 15:16:11 -04:00
Pietro Gagliardi 8e0cb0569d More TODOs. 2015-03-27 11:18:03 -04:00
Pietro Gagliardi 5cb76af45e More TODOs. 2015-03-18 16:13:18 -04:00
Pietro Gagliardi dd3c362513 More TODOs. 2015-03-03 19:07:51 -05:00
Pietro Gagliardi f9701fd787 More TODOs. 2015-02-25 17:38:16 -05:00
Pietro Gagliardi b88fa20a71 More TODOs. 2015-02-25 16:25:32 -05:00
Pietro Gagliardi 9a025a161f More TODOs. 2015-02-25 10:45:13 -05:00
Pietro Gagliardi 2ca0ba2072 Started rewrite #3. The first file up for bat is an ID system for safer C/Go interop. 2015-02-23 23:10:38 -05:00
Pietro Gagliardi 4d8f2a0ff1 Updated README for last two commits. 2015-02-21 17:41:44 -05:00
Pietro Gagliardi e252945cb3 Implemented Table column names on all platforms. Updates #40. 2015-02-21 15:53:31 -05:00
Pietro Gagliardi 23e6739dfa Added provisions for giving Table columns custom titles. Will now implement. 2015-02-21 14:58:07 -05:00
Pietro Gagliardi d855f5df3f Updated the widget gallery example to use the new Table without ImageList. 2015-02-20 00:23:49 -05:00
Pietro Gagliardi 87e5e3ed85 Disambiguated icon sizing in Table documentation. 2015-02-20 00:19:11 -05:00
Pietro Gagliardi c59d12d72d Removed residual ImageList references. 2015-02-20 00:17:15 -05:00
Pietro Gagliardi 958cae1964 Updated the README with the new Windows Table stuff and ImageList changes. 2015-02-19 23:56:38 -05:00
Pietro Gagliardi 0bd127a3ed More TODOs. 2015-02-19 23:52:18 -05:00
Pietro Gagliardi 7a26870c1a Removed the last bit of new Windows Table test initialization stuff now that tableSetSelection is in; moved into the test program instead. 2015-02-19 23:43:26 -05:00
Pietro Gagliardi 924352d76a Added tableSetSelection to the new Windows Table and hooked it up to the package ui Table. 2015-02-19 23:25:51 -05:00
Pietro Gagliardi cab2d93449 Added tableGetSelection to the new Windows Table and hooked it up to package ui's Table. 2015-02-19 22:58:17 -05:00
Pietro Gagliardi 6b9f1f282f Added tableNotificationSelectionChanged on the Windows Table and hooked it up to package ui's Table. 2015-02-19 22:36:53 -05:00
Pietro Gagliardi 7392dca627 More TODOs. 2015-02-19 22:23:45 -05:00