Commit Graph

46 Commits (master)

Author SHA1 Message Date
Michael Stefaniuc 8969cf98cf wineconsole: Use the ARRAY_SIZE() macro.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-07-13 19:10:01 +02:00
Hugh McMaster b1e6d4c175 wineconsole: Replace hard-coded WCUSER_ColorMap with registry color_map.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-09 11:55:36 +09:00
Alexandre Julliard e1fc8dcdee wineconsole: If necessary, fallback to a font without the right properties instead of failing.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-28 18:40:58 +09:00
Hugh McMaster 969151755a wineconsole: Apply the selected background colour to the entire font preview dialog.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-26 23:28:45 +09:00
Alexandre Julliard 8e77d6a24d wineconsole: Accept a too large font if we can't find one that fits the screen. 2015-10-21 00:25:33 +09:00
Hugh McMaster c3dd56c993 wineconsole: Allow users to enable or disable Insert Mode via the user dialog. 2015-07-13 22:22:57 +09:00
Francois Gouget 2271d82cda wineconsole: Remove an unneeded NONAMELESSSTRUCT directive. 2015-04-03 00:33:30 +09:00
Alexandre Julliard ded5ad8a8c wineconsole: Avoid an empty for loop. 2013-10-21 20:23:49 +02:00
Michael Stefaniuc 15992994bd wineconsole: Avoid TRUE:FALSE conditional expressions. 2012-08-27 19:49:43 +02:00
Francois Gouget bbbee31c38 wineconsole: Fix a string resource so its format placeholders can be reordered. 2011-10-20 20:53:20 +02:00
Gerald Pfeifer e86c6799a0 wineconsole: Remove variable font_idx which is not really used from WCUSER_FontPreviewProc. 2010-05-04 18:38:15 +02:00
Michael Stefaniuc fe0c5cb68a wineconsole: Use the explicit W types/functions in dialog.c. 2010-04-28 07:33:56 -05:00
Michael Stefaniuc b0c4c93538 wineconsole: Always show an ASCII string in the font test. 2010-04-20 17:46:32 +02:00
Francois Gouget cf92ee98be wineconsole: WCUSER_OptionDlgProc(): use the given configuration information. 2009-01-20 12:33:56 +01:00
Kirill K. Smirnov bd5869f19c wineconsole: Do not show "Apply" button - it is not used anyway. 2007-11-15 11:08:17 +01:00
Kirill K. Smirnov 945f4a7946 wineconsole: Move window handle to inner_data structure. 2007-08-24 12:01:06 +02:00
Anatoly Lyutin 777ba7da9a wineconsole: Use MAKELPARM instead of MAKELONG. 2007-02-22 11:25:26 +01:00
Anatoly Lyutin 3c981715ad wineconsole: Added range of value for an up-down control. 2007-02-20 12:23:55 +01:00
Anatoly Lyutin 06999c5044 wineconsole: Added range of value for all up-down controls on config dialog. 2007-02-13 17:16:14 +01:00
Mikołaj Zalewski b518ed8d46 wineconsole: Check one of the radio buttons in the "Save settings" dialog. 2006-10-23 12:36:26 +02:00
Mike McCormack ce238a4087 wineconsole: Use correct prototypes for dialog procs. 2006-06-06 11:29:26 +02:00
Mike McCormack 61a0799b88 wineconsole: Store the font as a DWORD_PTR. 2006-05-31 11:58:25 +02:00
Jonathan Ernst 360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02:00
Eric Pouech a6f40be771 Fixed wineconsole startup when restoring registry settings. 2005-11-03 11:32:52 +00:00
Eric Pouech 8ad685c5b3 Now filling external leading in font cells. 2005-11-03 09:51:00 +00:00
Eric Pouech 60c1ae0bb8 Fixed crash in font browsing for raster fonts. 2005-11-02 20:51:16 +00:00
Alexandre Julliard e4b2a0bbbc Use Get/SetWindowLongPtr instead of Get/SetWindowLong where
appropriate.
2005-09-09 15:20:04 +00:00
Dmitry Timoshkov 39f960bdfa - Fix prototypes of GetClassLongA/W, GetClassLongPtrA/W and
SetClassLongA/W according to SDK definitions.
- Add prototypes for SetClassLongPtrA/W, protect some GWL_ and GCL_
  constants from using in Wine or in _WIN64 mode.
- Fix all places in Wine affected by the above changes.
2005-02-15 21:51:06 +00:00
Michael Stefaniuc 5ad7d858e0 Do not check for non NULL pointer before HeapFree'ing it. It's
redundant.
2004-12-23 17:06:43 +00:00
Francois Gouget ebf0eb3138 Make static Unicode strings const. 2004-04-20 00:34:52 +00:00
Alexandre Julliard e37c6e18d0 Fixed header dependencies to be fully compatible with the Windows
headers (with help from Dimitrie O. Paun).
2003-09-05 23:08:26 +00:00
Eric Pouech f4d19e6b58 Added checks when editing window and sb size so that they are kept
consistent.
2003-02-24 20:41:08 +00:00
Eric Pouech 1880800603 Added the GUI part for setting the edition mode flavor. 2003-01-11 21:00:20 +00:00
Alexandre Julliard ae4311c71c Defined NONAMELESSUNION/STRUCT directly in the files that need it
instead of globally in the makefile.
2003-01-07 23:11:12 +00:00
Eric Pouech 0589f7266d Added configuration on per application basis.
Added ability to override part of the configuration from console
creator.
Revisited a bit wineconsole startup.
Added dialog part for window closing at process termination.
2002-09-04 18:41:52 +00:00
Andreas Mohr 029b948300 - Fix some spelling problems.
- Move WCUSER_SetMenuDetails to other menu related functions.
2002-07-23 02:02:46 +00:00
Vincent Béron 9a62491660 Removed trailing whitespace. 2002-05-31 23:06:46 +00:00
Eric Pouech 0587a47235 Allow ANSI charset in font enumeration.
Added ability not to close the wineconsole on console object
destruction.
2002-05-21 18:05:16 +00:00
Eric Pouech e53cd36e63 Removed Trace macro and replaced it by Wine debug channel facility.
Made the font lookup at startup more robust and now save registry at
startup time if a new font is chosen (as spotted by Sylvain Petreolle).
Fixed an update bug spotted by Jason Edmeades.
2002-05-14 21:45:13 +00:00
Eric Pouech be9268a4ca Wineconsole is now able to handle non raster fonts (vector, true
type).
2002-03-23 20:14:04 +00:00
Alexandre Julliard 0799c1a780 Added LGPL standard comment, and copyright notices where necessary.
Global replacement of debugtools.h by wine/debug.h.
2002-03-09 23:29:33 +00:00
Eric Pouech 5ef8871c62 - wineconsole now exits if the started program inside it terminates
before the console actually starts up.
- Removed the last Ansi imported APIs since now Propsheet has a decent
  Unicode interface.
- Fixed a couple of menu related bugs (states were wrong).
- Finished input selection code (mark and key for selection moving are
  operational, generating mouse events to programs attached to the
  console).
2002-02-04 18:41:32 +00:00
Eric Pouech a90875686f Fixed color definition (bg and fg were swapped).
Fixed some initialisation issues.
Fixed exit condition when nothing was allocated.
2002-01-02 21:45:47 +00:00
James Juran 424a080c30 Include <stdlib.h> to get prototype for abs() function. 2002-01-01 00:14:02 +00:00
Eric Pouech 94719d43d1 - allow to save/restore some properties into the registry (like font,
cursor size...)
- implement the two sets of properties (default & current)
- fixed some bugs mainly in dialog
- enhanced font selection mechanisms,
- added and protected sub-menu for all operations (sysmenu is not
  avail in managed mode)
- better data separation for the backend(s)
2001-12-04 20:46:54 +00:00
Eric Pouech 0b83d4cbc6 New console code based on Win32 windows. 2001-11-23 23:04:58 +00:00