Kp
|
93fec3e081
|
Remove unused d2x-rebirth/ui/barbox.c
|
2013-03-09 21:30:58 +00:00 |
|
Kp
|
bd5ed83680
|
Remove unused d2x-rebirth/ui/number.c
|
2013-03-09 21:30:58 +00:00 |
|
Kp
|
a81afea7fe
|
Rename include/error.h to include/dxxerror.h
Avoid conflict with generic system header.
|
2012-07-07 18:35:06 +00:00 |
|
Kp
|
66cf62e359
|
Normalize whitespace in copyright header to match D1X-Rebirth
|
2013-02-24 02:40:43 +00:00 |
|
Kp
|
f12f4e6737
|
Remove RCS embedded string to synchronize code with D1X
|
2013-02-22 04:32:23 +00:00 |
|
Kp
|
7f5d61c3ed
|
Remove RCS comment to synchronize code with D1X
|
2013-02-22 04:32:14 +00:00 |
|
zicodxx
|
f4ab2e63af
|
Added dummy %s to prevent formatting untrusted literals - patch by Kp
|
2013-01-03 17:30:42 +01:00 |
|
zicodxx
|
904f1b1a90
|
Moved ui_draw_frame(), ui_draw_shad(), draw_tmap_flat(), math tables externs to headers - patches by Kp
|
2012-11-02 18:02:43 +01:00 |
|
Chris Taylor
|
80b12fb874
|
Fix warnings (no checking ubyte 'id' is < 0, include d_strdup prototype for radio.c and make sure that 'text' gets freed)
|
2012-07-24 17:28:44 +08:00 |
|
zicodxx
|
70287bfde6
|
using our own functions for stricmp, strnicmp, strlwr, strupr, strrev with a d_ prefix for all platforms for consistency
|
2012-05-19 01:36:43 +02:00 |
|
Chris Taylor
|
0ec49d71bd
|
Rename MessageBoxN (meant to go with previous commit)
|
2012-04-17 16:14:18 +08:00 |
|
Chris Taylor
|
ef2df1225d
|
Rename MessageBox to ui_messagebox to avoid a conflict with Windows' MessageBox
|
2012-04-17 16:11:42 +08:00 |
|
Chris Taylor
|
82cce8afb6
|
Make movement in the editor's game screen use the player controls, make that movement more like the automap and resolve some likely conflicting key commands
|
2012-04-16 13:26:55 +08:00 |
|
Chris Taylor
|
d0544583fd
|
Fix bugs switching between game and editor and back: make sure ModeFlag is set to 0 before it has any chance to show an alert message, fixing a crash; allow OBJ_NONE in Assert; make Game_wind invisible when loading editor in case we show an alert; call mouse_flush() in ui_init() to fix mouse issues
|
2012-04-14 17:42:44 +08:00 |
|
Chris Taylor
|
496b40ab35
|
Fix a crash when going into a directory with no files in the editor file browser, clicking on listboxes for same sets inputbox correctly
|
2012-04-11 12:05:39 +08:00 |
|
Chris Taylor
|
a6e65196b8
|
Draw the object rotation velocity, file browser and MessageBox dialogs properly
|
2012-04-11 10:52:57 +08:00 |
|
Chris Taylor
|
e7e034b7bd
|
Editor exits cleanly when clicking the close box, no more redundant gr_uscanline call in gl_urect for ogl (an initial attempt to fix the previous bug)
|
2012-04-09 20:41:47 +08:00 |
|
Chris Taylor
|
fba833f773
|
Fix all remaining known editor drawing issues. In ogl: get the texture previews to draw, get userbox borders to draw in the right location, properly underline characters in the menus, draw all the borders properly (i.e. no gap), no scaling fonts. Software render: draw userbox borders again. Both: clear the whole status bar, clear to the right edge of the screen.
|
2012-04-09 17:30:40 +08:00 |
|
Chris Taylor
|
83bc26ff29
|
Fix a nasty bug where pressing 'Alt' to explore the editor menubar would split the window stack in two, rendering the editor unresponsive
|
2012-04-09 17:13:11 +08:00 |
|
Chris Taylor
|
ea2de8cb44
|
Get the clock, 'keypad' info, texture choosing page and object choosing page to draw (latter two just show black squares for ogl)
|
2012-04-09 10:14:10 +08:00 |
|
Chris Taylor
|
fd42ac5cb1
|
Make the editor draw the same for the non-ogl build as the ogl build, since I just made it draw the grey background over everything in the last commit. If you want to see what it's *supposed* to look like, go to yesterday's commit :P
|
2012-03-31 20:25:09 +08:00 |
|
Chris Taylor
|
cb86ece872
|
Use correct coordinates for dialog border (still doesn't draw fully)
|
2012-03-31 19:55:39 +08:00 |
|
Chris Taylor
|
b937b4e409
|
Make the main stuff (gadgets, two viewers) draw for the editor in ogl, still more tweaking required
|
2012-03-31 18:36:07 +08:00 |
|
Chris Taylor
|
2b7bb2bddc
|
Fix bug where pad buttons would disappear when clicking on them, after opening then closing a dialog
|
2012-03-24 17:52:08 +08:00 |
|
Chris Taylor
|
4acf60c1c7
|
Draw in response to EVENT_UI_DIALOG_DRAW, uncomment medlisp_update_screen call. You can now see what you're doing
|
2012-03-24 17:19:30 +08:00 |
|
Chris Taylor
|
c0ed4870c5
|
Draw the editor menubar properly - by drawing in response to EVENT_WINDOW_DRAW and initialising the screen canvas properly. The latter fixes a lot of other editor drawing issues as well
|
2012-03-24 13:27:27 +08:00 |
|
Chris Taylor
|
2d54617b91
|
Remove redundant ui_event_process and duplicate mouse.c in ui/. All editor input is now event-based.
|
2012-03-18 18:03:29 +08:00 |
|
Chris Taylor
|
8d784e848b
|
Make editor_handler into a proper callback, iron some problems out. Seems to draw a different bunch of stuff now (still erroneous)
|
2012-03-18 16:02:32 +08:00 |
|
Chris Taylor
|
97d3f3b4e4
|
Make do_trigger_window into a proper callback
|
2012-03-17 17:39:24 +08:00 |
|
Chris Taylor
|
ffab790447
|
Use the gadget-sent events in the dialogs in ui
|
2012-03-05 19:08:41 +08:00 |
|
Chris Taylor
|
dc84147b51
|
All gadgets now send events
|
2012-03-03 20:19:15 +08:00 |
|
Chris Taylor
|
e50a82c743
|
Actually add editor data files and make sure DXX can find them
|
2012-03-03 16:03:03 +08:00 |
|
Chris Taylor
|
c0d7659a9c
|
Give the last use of a dialog in ui, in PopupMenu, a callback
|
2012-01-09 23:17:10 +08:00 |
|
Chris Taylor
|
ce2b13c956
|
Give the dialog in MessageBoxN a callback
|
2012-01-03 17:24:31 +08:00 |
|
Chris Taylor
|
5336ee198d
|
Give the dialog in (also presently unused) MenuX a callback
|
2012-01-03 16:23:13 +08:00 |
|
Chris Taylor
|
11daae4a2d
|
Give the dialog in (presently unused) GetKeyCode a callback
|
2012-01-03 13:25:53 +08:00 |
|
Chris Taylor
|
ead5b43319
|
Give ui_get_filename a callback for its dialog. Happy new year
|
2012-01-02 15:49:59 +08:00 |
|
Chris Taylor
|
16b5d1b101
|
Make editor menubar and associated menus into windows; either remove or make event-based all the B1_* macros
|
2011-12-31 17:12:09 +08:00 |
|
Chris Taylor
|
9da79266ee
|
Remove redundant canvas, next and prev members in the UI_DIALOG struct
|
2011-12-18 20:41:31 +08:00 |
|
Chris Taylor
|
4a3b1532b1
|
Make ui_userbox_do fully event-responsive
|
2011-11-14 19:27:59 +08:00 |
|
Chris Taylor
|
3c2f291b5e
|
Make ui_scroll_do fully event-responsive, make sure scrolling actually works by calling all controls' ui_*_do functions (like before)
|
2011-11-12 12:48:26 +08:00 |
|
Chris Taylor
|
c52b571391
|
Make ui_radio_do fully event-responsive
|
2011-11-06 20:06:41 +08:00 |
|
Chris Taylor
|
576054be55
|
Make ui_listbox_do fully event-responsive
|
2011-11-06 11:06:38 +08:00 |
|
Chris Taylor
|
203314b8e7
|
Say when the event was handled for ui_inputbox_do (was already event-responsive)
|
2011-11-05 20:12:39 +08:00 |
|
Chris Taylor
|
aee464c4ac
|
Fix implicit function declaration in last commit, make ui_icon_do fully event-responsive
|
2011-11-05 19:45:27 +08:00 |
|
Chris Taylor
|
aaeaa30c7b
|
Make ui_checkbox_do fully event-responsive
|
2011-11-05 17:46:05 +08:00 |
|
Chris Taylor
|
008b24a451
|
Make B1_JUST_PRESSED event-based, leave ui_dialog_do_gadgets early if a key makes another gadget current, make ui_button_do fully event-responsive (but won't *send* events yet)
|
2011-11-05 17:08:17 +08:00 |
|
Chris Taylor
|
6978ef2dd0
|
Return 1 (event handled) in ui_dialog_handler for mouse button events if the mouse was in the dialog
|
2011-10-30 19:09:11 +08:00 |
|
Chris Taylor
|
b8b6a234c2
|
Pass the event to the individual gadgets' 'do' functions, fix compile warnings introduced in last commit
|
2011-10-25 09:39:35 +08:00 |
|
Chris Taylor
|
25c1b74e57
|
Pass the event to ui_dialog_do_gadgets and use it in that immediate function
|
2011-10-23 17:08:47 +08:00 |
|