Commit Graph

20 Commits

Author SHA1 Message Date
Martin Kiewitz
f4a32793c0 SCI: dont fix list control in sq4
sierra fixed this problem by having an up cursor starting one pixel-line later, adjusting in that case would be wrong

svn-id: r51034
2010-07-19 16:47:31 +00:00
Martin Kiewitz
40ed004b18 SCI: removing hardcoded size when drawing list controls - fixes load/save dialog in lsl6
svn-id: r50894
2010-07-14 21:00:59 +00:00
Filippos Karapetis
0a102981f0 Moved the SelectorCache struct inside selector.h, where it belongs, and fixed some header dependencies in the process
svn-id: r50183
2010-06-23 15:23:37 +00:00
Filippos Karapetis
67de5b1bd3 Mass renaming of selector-related functions, and removed some defines which were just cloaking functions with a different name
- GET_SEL32 -> readSelector
- GET_SEL32V -> readSelectorValue
- PUT_SEL32 -> writeSelector
- PUT_SEL32V -> writeSelectorValue
Also, changed some selector-related function names and variables to CamelCase

svn-id: r49317
2010-05-29 23:37:15 +00:00
Filippos Karapetis
25bac3bef4 Silenced some MSVC warnings
svn-id: r49030
2010-05-14 15:21:00 +00:00
Martin Kiewitz
f334ecfa34 SCI: green buttons for sci0early implemented
svn-id: r48799
2010-04-25 20:48:59 +00:00
Martin Kiewitz
cc4bd9bf1c SCI: changing setFont() call logic inside textedit controls to save 2 setFont() calls
svn-id: r48797
2010-04-25 16:47:14 +00:00
Martin Kiewitz
14ac9b54a0 SCI: we check for enough space, before adding pressed characters in textedit controls
svn-id: r48796
2010-04-25 16:43:16 +00:00
Martin Kiewitz
c893ba1508 SCI: replaced value with constant when checking if controls are selected
svn-id: r48795
2010-04-25 15:44:11 +00:00
Martin Kiewitz
482e89ea9f SCI: reset cursor state when kDrawControl gets called on textedit controls, fixes cursor placement issues
svn-id: r48794
2010-04-25 15:20:52 +00:00
Martin Kiewitz
da2027da36 SCI: change textedit control to cast to unsigned char to fix cursor position when multilingual chars are used. Also make getFontHeight() private inside GfxFontFromResource class, remove it in all the other classes
svn-id: r48689
2010-04-17 15:16:40 +00:00
Max Horn
903b694574 SCI: Cleanup resource.h
svn-id: r48084
2010-02-17 23:37:32 +00:00
Max Horn
f86618f92b SCI: Add a 'SELECTOR' macro
svn-id: r47918
2010-02-05 22:55:18 +00:00
Martin Kiewitz
d31f696d1f SCI: rename Controls to GfxControls, gets directly called now
svn-id: r47783
2010-01-31 22:20:55 +00:00
Martin Kiewitz
19bca95905 SCI: renamed Text class to GfxText16
svn-id: r47780
2010-01-31 21:54:43 +00:00
Martin Kiewitz
7929255cd9 SCI: cleaned up graphics classes, removed gfx&windowmgr, added gfxports, gfxcompare, gfxpaint16, gfxcache. kernel uses gfxports directly w/o going through SciGui
svn-id: r47745
2010-01-31 12:35:15 +00:00
Max Horn
4ffec28103 SCI: Move selector stuff to new header; reorder k_argc & k_argp param of invoke_selector
svn-id: r47665
2010-01-29 11:03:54 +00:00
Johannes Schickel
aed02365ec Strip trailing spaces/tabs.
svn-id: r47541
2010-01-25 01:39:44 +00:00
Filippos Karapetis
e72e130048 Yet more renaming
svn-id: r47010
2010-01-05 01:47:44 +00:00
Filippos Karapetis
d99aa0f126 More renaming
svn-id: r47009
2010-01-05 01:37:57 +00:00