fixed checking empty mask raw image

git-svn-id: trunk@5359 -
This commit is contained in:
mattias 2004-04-02 19:39:46 +00:00
parent 0a15ceb07b
commit 766cfd3a2c
41 changed files with 218 additions and 53 deletions

View File

@ -150,6 +150,10 @@ msgstr "Directori de Components"
msgid "constant" msgid "constant"
msgstr "Constant" msgstr "Constant"
#: codetoolsstrconsts:ctscpudirectory
msgid "CPU directory"
msgstr ""
#: codetoolsstrconsts:ctscursorposoutsideofcode #: codetoolsstrconsts:ctscursorposoutsideofcode
msgid "cursor pos outside of code" msgid "cursor pos outside of code"
msgstr "posició del cursor fora del codi" msgstr "posició del cursor fora del codi"

View File

@ -150,6 +150,10 @@ msgstr ""
msgid "constant" msgid "constant"
msgstr "" msgstr ""
#: codetoolsstrconsts:ctscpudirectory
msgid "CPU directory"
msgstr ""
#: codetoolsstrconsts:ctscursorposoutsideofcode #: codetoolsstrconsts:ctscursorposoutsideofcode
msgid "cursor pos outside of code" msgid "cursor pos outside of code"
msgstr "" msgstr ""

View File

@ -161,6 +161,10 @@ msgstr "Directorio de los Componentes"
msgid "constant" msgid "constant"
msgstr "constante" msgstr "constante"
#: codetoolsstrconsts:ctscpudirectory
msgid "CPU directory"
msgstr ""
#: codetoolsstrconsts:ctscursorposoutsideofcode #: codetoolsstrconsts:ctscursorposoutsideofcode
msgid "cursor pos outside of code" msgid "cursor pos outside of code"
msgstr "posición de cursor fuera del código" msgstr "posición de cursor fuera del código"

View File

@ -150,6 +150,10 @@ msgstr ""
msgid "constant" msgid "constant"
msgstr "" msgstr ""
#: codetoolsstrconsts:ctscpudirectory
msgid "CPU directory"
msgstr ""
#: codetoolsstrconsts:ctscursorposoutsideofcode #: codetoolsstrconsts:ctscursorposoutsideofcode
msgid "cursor pos outside of code" msgid "cursor pos outside of code"
msgstr "" msgstr ""

View File

@ -160,6 +160,10 @@ msgstr "R
msgid "constant" msgid "constant"
msgstr "constante" msgstr "constante"
#: codetoolsstrconsts:ctscpudirectory
msgid "CPU directory"
msgstr ""
#: codetoolsstrconsts:ctscursorposoutsideofcode #: codetoolsstrconsts:ctscursorposoutsideofcode
msgid "cursor pos outside of code" msgid "cursor pos outside of code"
msgstr "position du curseur en dehors du code" msgstr "position du curseur en dehors du code"

View File

@ -159,6 +159,10 @@ msgstr "Directory componenti"
msgid "constant" msgid "constant"
msgstr "costante" msgstr "costante"
#: codetoolsstrconsts:ctscpudirectory
msgid "CPU directory"
msgstr ""
#: codetoolsstrconsts:ctscursorposoutsideofcode #: codetoolsstrconsts:ctscursorposoutsideofcode
msgid "cursor pos outside of code" msgid "cursor pos outside of code"
msgstr "posizione del cursore fuori dal codice" msgstr "posizione del cursore fuori dal codice"

View File

@ -161,6 +161,10 @@ msgstr "Katalog komponentów"
msgid "constant" msgid "constant"
msgstr "stała" msgstr "stała"
#: codetoolsstrconsts:ctscpudirectory
msgid "CPU directory"
msgstr ""
#: codetoolsstrconsts:ctscursorposoutsideofcode #: codetoolsstrconsts:ctscursorposoutsideofcode
msgid "cursor pos outside of code" msgid "cursor pos outside of code"
msgstr "Kursor jest poza kodem" msgstr "Kursor jest poza kodem"

View File

@ -161,6 +161,10 @@ msgstr "Katalog komponent
msgid "constant" msgid "constant"
msgstr "sta³a" msgstr "sta³a"
#: codetoolsstrconsts:ctscpudirectory
msgid "CPU directory"
msgstr ""
#: codetoolsstrconsts:ctscursorposoutsideofcode #: codetoolsstrconsts:ctscursorposoutsideofcode
msgid "cursor pos outside of code" msgid "cursor pos outside of code"
msgstr "Kursor jest poza kodem" msgstr "Kursor jest poza kodem"

View File

@ -161,6 +161,10 @@ msgstr "Katalog komponent
msgid "constant" msgid "constant"
msgstr "sta³a" msgstr "sta³a"
#: codetoolsstrconsts:ctscpudirectory
msgid "CPU directory"
msgstr ""
#: codetoolsstrconsts:ctscursorposoutsideofcode #: codetoolsstrconsts:ctscursorposoutsideofcode
msgid "cursor pos outside of code" msgid "cursor pos outside of code"
msgstr "Kursor jest poza kodem" msgstr "Kursor jest poza kodem"

View File

@ -606,6 +606,10 @@ msgstr ""
msgid "Packager Units Directory" msgid "Packager Units Directory"
msgstr "" msgstr ""
#: codetoolsstrconsts:ctscpudirectory
msgid "CPU directory"
msgstr ""
#: codetoolsstrconsts:ctslazarusmaindirectory #: codetoolsstrconsts:ctslazarusmaindirectory
msgid "lazarus main directory" msgid "lazarus main directory"
msgstr "" msgstr ""

View File

@ -150,6 +150,10 @@ msgstr "
msgid "constant" msgid "constant"
msgstr "ËÏÎÓÔÁÎÔÁ" msgstr "ËÏÎÓÔÁÎÔÁ"
#: codetoolsstrconsts:ctscpudirectory
msgid "CPU directory"
msgstr ""
#: codetoolsstrconsts:ctscursorposoutsideofcode #: codetoolsstrconsts:ctscursorposoutsideofcode
msgid "cursor pos outside of code" msgid "cursor pos outside of code"
msgstr "ÐÏÚÉÃÉÑ ËÕÒÓÏÒÁ ×ÎÅ ËÏÄÁ" msgstr "ÐÏÚÉÃÉÑ ËÕÒÓÏÒÁ ×ÎÅ ËÏÄÁ"

View File

@ -150,6 +150,10 @@ msgstr "
msgid "constant" msgid "constant"
msgstr "êîíñòàíòà" msgstr "êîíñòàíòà"
#: codetoolsstrconsts:ctscpudirectory
msgid "CPU directory"
msgstr ""
#: codetoolsstrconsts:ctscursorposoutsideofcode #: codetoolsstrconsts:ctscursorposoutsideofcode
msgid "cursor pos outside of code" msgid "cursor pos outside of code"
msgstr "ïîçèöèÿ êóðñîðà âíå êîäà" msgstr "ïîçèöèÿ êóðñîðà âíå êîäà"

View File

@ -84,7 +84,7 @@ var
FGRed:=(NewColor shr 16) and $ff; FGRed:=(NewColor shr 16) and $ff;
FGGreen:=(NewColor shr 8) and $ff; FGGreen:=(NewColor shr 8) and $ff;
FGBlue:=NewColor and $ff; FGBlue:=NewColor and $ff;
if Abs(FGRed-BGRed)+Abs(FGGreen-BGGreen)+Abs(FGBlue-BGBlue)<$180 then if Abs(FGRed-BGRed)+Abs(FGGreen-BGGreen)+Abs(FGBlue-BGBlue)<$140 then
NewColor:=InvertColor(NewColor); NewColor:=InvertColor(NewColor);
ACanvas.Font.Color:=NewColor; ACanvas.Font.Color:=NewColor;
end; end;

View File

@ -2930,10 +2930,6 @@ msgstr ""
msgid "Irregular " msgid "Irregular "
msgstr "Irregular" msgstr "Irregular"
#: lazarusidestrconsts:lispckexplisrequiredby
msgid "Is required by:"
msgstr ""
#: lazarusidestrconsts:rslanguageitalian #: lazarusidestrconsts:rslanguageitalian
msgid "Italian" msgid "Italian"
msgstr "" msgstr ""
@ -4822,6 +4818,10 @@ msgstr "Seleccionar una paraula a la dreta"
msgid "Selected Node:" msgid "Selected Node:"
msgstr "Node seleccionat" msgstr "Node seleccionat"
#: lazarusidestrconsts:lispckexplisrequiredby
msgid "Selected package is required by:"
msgstr ""
#: lazarusidestrconsts:dlgselectedtext #: lazarusidestrconsts:dlgselectedtext
msgid "Selected Text" msgid "Selected Text"
msgstr "Text seleccionat" msgstr "Text seleccionat"

View File

@ -2940,10 +2940,6 @@ msgstr ""
msgid "Irregular " msgid "Irregular "
msgstr "" msgstr ""
#: lazarusidestrconsts:lispckexplisrequiredby
msgid "Is required by:"
msgstr ""
#: lazarusidestrconsts:rslanguageitalian #: lazarusidestrconsts:rslanguageitalian
msgid "Italian" msgid "Italian"
msgstr "" msgstr ""
@ -4832,6 +4828,10 @@ msgstr ""
msgid "Selected Node:" msgid "Selected Node:"
msgstr "" msgstr ""
#: lazarusidestrconsts:lispckexplisrequiredby
msgid "Selected package is required by:"
msgstr ""
#: lazarusidestrconsts:dlgselectedtext #: lazarusidestrconsts:dlgselectedtext
msgid "Selected Text" msgid "Selected Text"
msgstr "" msgstr ""

View File

@ -2941,10 +2941,6 @@ msgstr "Versi
msgid "Irregular " msgid "Irregular "
msgstr "Irregular " msgstr "Irregular "
#: lazarusidestrconsts:lispckexplisrequiredby
msgid "Is required by:"
msgstr "Requerido por:"
#: lazarusidestrconsts:rslanguageitalian #: lazarusidestrconsts:rslanguageitalian
msgid "Italian" msgid "Italian"
msgstr "Italiano" msgstr "Italiano"
@ -4833,6 +4829,10 @@ msgstr "Seleccionar palabra derecha"
msgid "Selected Node:" msgid "Selected Node:"
msgstr "Seleccionar Nodo:" msgstr "Seleccionar Nodo:"
#: lazarusidestrconsts:lispckexplisrequiredby
msgid "Selected package is required by:"
msgstr ""
#: lazarusidestrconsts:dlgselectedtext #: lazarusidestrconsts:dlgselectedtext
msgid "Selected Text" msgid "Selected Text"
msgstr "Texto seleccionado" msgstr "Texto seleccionado"

View File

@ -2930,10 +2930,6 @@ msgstr ""
msgid "Irregular " msgid "Irregular "
msgstr "" msgstr ""
#: lazarusidestrconsts:lispckexplisrequiredby
msgid "Is required by:"
msgstr ""
#: lazarusidestrconsts:rslanguageitalian #: lazarusidestrconsts:rslanguageitalian
msgid "Italian" msgid "Italian"
msgstr "italia" msgstr "italia"
@ -4822,6 +4818,10 @@ msgstr ""
msgid "Selected Node:" msgid "Selected Node:"
msgstr "" msgstr ""
#: lazarusidestrconsts:lispckexplisrequiredby
msgid "Selected package is required by:"
msgstr ""
#: lazarusidestrconsts:dlgselectedtext #: lazarusidestrconsts:dlgselectedtext
msgid "Selected Text" msgid "Selected Text"
msgstr "" msgstr ""

View File

@ -2940,10 +2940,6 @@ msgstr "Version non valide"
msgid "Irregular " msgid "Irregular "
msgstr "Irrégulière" msgstr "Irrégulière"
#: lazarusidestrconsts:lispckexplisrequiredby
msgid "Is required by:"
msgstr "Est requis par :"
#: lazarusidestrconsts:rslanguageitalian #: lazarusidestrconsts:rslanguageitalian
msgid "Italian" msgid "Italian"
msgstr "Italien" msgstr "Italien"
@ -4832,6 +4828,10 @@ msgstr "S
msgid "Selected Node:" msgid "Selected Node:"
msgstr "Noeud sélectionné:" msgstr "Noeud sélectionné:"
#: lazarusidestrconsts:lispckexplisrequiredby
msgid "Selected package is required by:"
msgstr ""
#: lazarusidestrconsts:dlgselectedtext #: lazarusidestrconsts:dlgselectedtext
msgid "Selected Text" msgid "Selected Text"
msgstr "Texte sélectionné" msgstr "Texte sélectionné"

View File

@ -2939,10 +2939,6 @@ msgstr "Versione non valida"
msgid "Irregular " msgid "Irregular "
msgstr "Extra" msgstr "Extra"
#: lazarusidestrconsts:lispckexplisrequiredby
msgid "Is required by:"
msgstr "È richiesto da:"
#: lazarusidestrconsts:rslanguageitalian #: lazarusidestrconsts:rslanguageitalian
msgid "Italian" msgid "Italian"
msgstr "" msgstr ""
@ -4831,6 +4827,10 @@ msgstr "Seleziona la parola a destra"
msgid "Selected Node:" msgid "Selected Node:"
msgstr "Seleziona nodo" msgstr "Seleziona nodo"
#: lazarusidestrconsts:lispckexplisrequiredby
msgid "Selected package is required by:"
msgstr ""
#: lazarusidestrconsts:dlgselectedtext #: lazarusidestrconsts:dlgselectedtext
msgid "Selected Text" msgid "Selected Text"
msgstr "Testo selezionato" msgstr "Testo selezionato"

View File

@ -2941,10 +2941,6 @@ msgstr "Nieodpowiednia wersja"
msgid "Irregular " msgid "Irregular "
msgstr "Nieregularny " msgstr "Nieregularny "
#: lazarusidestrconsts:lispckexplisrequiredby
msgid "Is required by:"
msgstr "Jest wymagany przez:"
#: lazarusidestrconsts:rslanguageitalian #: lazarusidestrconsts:rslanguageitalian
msgid "Italian" msgid "Italian"
msgstr "Italian" msgstr "Italian"
@ -4833,6 +4829,10 @@ msgstr "Wybierz słowo po prawej"
msgid "Selected Node:" msgid "Selected Node:"
msgstr "Wybrany element:" msgstr "Wybrany element:"
#: lazarusidestrconsts:lispckexplisrequiredby
msgid "Selected package is required by:"
msgstr ""
#: lazarusidestrconsts:dlgselectedtext #: lazarusidestrconsts:dlgselectedtext
msgid "Selected Text" msgid "Selected Text"
msgstr "Zaznaczony tekst" msgstr "Zaznaczony tekst"

View File

@ -2941,10 +2941,6 @@ msgstr "Nieodpowiednia wersja"
msgid "Irregular " msgid "Irregular "
msgstr "Nieregularny " msgstr "Nieregularny "
#: lazarusidestrconsts:lispckexplisrequiredby
msgid "Is required by:"
msgstr "Jest wymagany przez:"
#: lazarusidestrconsts:rslanguageitalian #: lazarusidestrconsts:rslanguageitalian
msgid "Italian" msgid "Italian"
msgstr "Italian" msgstr "Italian"
@ -4833,6 +4829,10 @@ msgstr "Wybierz s
msgid "Selected Node:" msgid "Selected Node:"
msgstr "Wybrany element:" msgstr "Wybrany element:"
#: lazarusidestrconsts:lispckexplisrequiredby
msgid "Selected package is required by:"
msgstr ""
#: lazarusidestrconsts:dlgselectedtext #: lazarusidestrconsts:dlgselectedtext
msgid "Selected Text" msgid "Selected Text"
msgstr "Zaznaczony tekst" msgstr "Zaznaczony tekst"

View File

@ -2941,10 +2941,6 @@ msgstr "Nieodpowiednia wersja"
msgid "Irregular " msgid "Irregular "
msgstr "Nieregularny " msgstr "Nieregularny "
#: lazarusidestrconsts:lispckexplisrequiredby
msgid "Is required by:"
msgstr "Jest wymagany przez:"
#: lazarusidestrconsts:rslanguageitalian #: lazarusidestrconsts:rslanguageitalian
msgid "Italian" msgid "Italian"
msgstr "Italian" msgstr "Italian"
@ -4833,6 +4829,10 @@ msgstr "Wybierz s
msgid "Selected Node:" msgid "Selected Node:"
msgstr "Wybrany element:" msgstr "Wybrany element:"
#: lazarusidestrconsts:lispckexplisrequiredby
msgid "Selected package is required by:"
msgstr ""
#: lazarusidestrconsts:dlgselectedtext #: lazarusidestrconsts:dlgselectedtext
msgid "Selected Text" msgid "Selected Text"
msgstr "Zaznaczony tekst" msgstr "Zaznaczony tekst"

View File

@ -6751,7 +6751,7 @@ msgid "Loaded Packages:"
msgstr "" msgstr ""
#: lazarusidestrconsts:lispckexplisrequiredby #: lazarusidestrconsts:lispckexplisrequiredby
msgid "Is required by:" msgid "Selected package is required by:"
msgstr "" msgstr ""
#: lazarusidestrconsts:lispckexplpackagenotfound #: lazarusidestrconsts:lispckexplpackagenotfound

View File

@ -2930,10 +2930,6 @@ msgstr "
msgid "Irregular " msgid "Irregular "
msgstr "îĹŇĹÇŐĚŃŇÎŮĘ " msgstr "îĹŇĹÇŐĚŃŇÎŮĘ "
#: lazarusidestrconsts:lispckexplisrequiredby
msgid "Is required by:"
msgstr "ôÒÅÂÕÅÔÓÑ:"
#: lazarusidestrconsts:rslanguageitalian #: lazarusidestrconsts:rslanguageitalian
msgid "Italian" msgid "Italian"
msgstr "ÉÔÁĚŘŃÎÓËÉĘ" msgstr "ÉÔÁĚŘŃÎÓËÉĘ"
@ -4822,6 +4818,10 @@ msgstr "
msgid "Selected Node:" msgid "Selected Node:"
msgstr "÷ŮÄĹĚÉÔŘ ÜĚĹÍĹÎÔ:" msgstr "÷ŮÄĹĚÉÔŘ ÜĚĹÍĹÎÔ:"
#: lazarusidestrconsts:lispckexplisrequiredby
msgid "Selected package is required by:"
msgstr ""
#: lazarusidestrconsts:dlgselectedtext #: lazarusidestrconsts:dlgselectedtext
msgid "Selected Text" msgid "Selected Text"
msgstr "÷ ×ŮÄĹĚĹÎÎĎÍ" msgstr "÷ ×ŮÄĹĚĹÎÎĎÍ"

View File

@ -2930,10 +2930,6 @@ msgstr "
msgid "Irregular " msgid "Irregular "
msgstr "Íĺđĺăóë˙đíűé " msgstr "Íĺđĺăóë˙đíűé "
#: lazarusidestrconsts:lispckexplisrequiredby
msgid "Is required by:"
msgstr "Òðåáóåòñÿ:"
#: lazarusidestrconsts:rslanguageitalian #: lazarusidestrconsts:rslanguageitalian
msgid "Italian" msgid "Italian"
msgstr "čňŕëü˙íńęčé" msgstr "čňŕëü˙íńęčé"
@ -4822,6 +4818,10 @@ msgstr "
msgid "Selected Node:" msgid "Selected Node:"
msgstr "Âűäĺëčňü ýëĺěĺíň:" msgstr "Âűäĺëčňü ýëĺěĺíň:"
#: lazarusidestrconsts:lispckexplisrequiredby
msgid "Selected package is required by:"
msgstr ""
#: lazarusidestrconsts:dlgselectedtext #: lazarusidestrconsts:dlgselectedtext
msgid "Selected Text" msgid "Selected Text"
msgstr "Â âűäĺëĺííîě" msgstr "Â âűäĺëĺííîě"

View File

@ -54,6 +54,10 @@ msgstr "Afegir ..."
msgid "All" msgid "All"
msgstr "" msgstr ""
#: objinspstrconsts:oisallfiles
msgid "All files (*.*)|*.*"
msgstr ""
#: objinspstrconsts:oiscategory #: objinspstrconsts:oiscategory
msgid "Category" msgid "Category"
msgstr "" msgstr ""
@ -110,6 +114,10 @@ msgstr "Inspector d'objectes"
msgid "Properties" msgid "Properties"
msgstr "Propietats" msgstr "Propietats"
#: objinspstrconsts:oisselectafile
msgid "Select a file"
msgstr ""
#: objinspstrconsts:oissettodefaultvalue #: objinspstrconsts:oissettodefaultvalue
msgid "Set to default value" msgid "Set to default value"
msgstr "" msgstr ""

View File

@ -54,6 +54,10 @@ msgstr ""
msgid "All" msgid "All"
msgstr "" msgstr ""
#: objinspstrconsts:oisallfiles
msgid "All files (*.*)|*.*"
msgstr ""
#: objinspstrconsts:oiscategory #: objinspstrconsts:oiscategory
msgid "Category" msgid "Category"
msgstr "" msgstr ""
@ -110,6 +114,10 @@ msgstr "Object Inspector"
msgid "Properties" msgid "Properties"
msgstr "Properties" msgstr "Properties"
#: objinspstrconsts:oisselectafile
msgid "Select a file"
msgstr ""
#: objinspstrconsts:oissettodefaultvalue #: objinspstrconsts:oissettodefaultvalue
msgid "Set to default value" msgid "Set to default value"
msgstr "" msgstr ""

View File

@ -64,6 +64,10 @@ msgstr "A
msgid "All" msgid "All"
msgstr "Todo" msgstr "Todo"
#: objinspstrconsts:oisallfiles
msgid "All files (*.*)|*.*"
msgstr ""
#: objinspstrconsts:oiscategory #: objinspstrconsts:oiscategory
msgid "Category" msgid "Category"
msgstr "Categoría" msgstr "Categoría"
@ -120,6 +124,10 @@ msgstr "Inspector de Objetos"
msgid "Properties" msgid "Properties"
msgstr "Propiedades" msgstr "Propiedades"
#: objinspstrconsts:oisselectafile
msgid "Select a file"
msgstr ""
#: objinspstrconsts:oissettodefaultvalue #: objinspstrconsts:oissettodefaultvalue
msgid "Set to default value" msgid "Set to default value"
msgstr "Establecer valor por defecto" msgstr "Establecer valor por defecto"

View File

@ -54,6 +54,10 @@ msgstr ""
msgid "All" msgid "All"
msgstr "" msgstr ""
#: objinspstrconsts:oisallfiles
msgid "All files (*.*)|*.*"
msgstr ""
#: objinspstrconsts:oiscategory #: objinspstrconsts:oiscategory
msgid "Category" msgid "Category"
msgstr "" msgstr ""
@ -110,6 +114,10 @@ msgstr "Komponenttimuokkain"
msgid "Properties" msgid "Properties"
msgstr "Ominaisuudet" msgstr "Ominaisuudet"
#: objinspstrconsts:oisselectafile
msgid "Select a file"
msgstr ""
#: objinspstrconsts:oissettodefaultvalue #: objinspstrconsts:oissettodefaultvalue
msgid "Set to default value" msgid "Set to default value"
msgstr "" msgstr ""

View File

@ -54,6 +54,10 @@ msgstr "Ajouter ..."
msgid "All" msgid "All"
msgstr "" msgstr ""
#: objinspstrconsts:oisallfiles
msgid "All files (*.*)|*.*"
msgstr ""
#: objinspstrconsts:oiscategory #: objinspstrconsts:oiscategory
msgid "Category" msgid "Category"
msgstr "" msgstr ""
@ -110,6 +114,10 @@ msgstr "Inspecteur d'objet"
msgid "Properties" msgid "Properties"
msgstr "Propriétés" msgstr "Propriétés"
#: objinspstrconsts:oisselectafile
msgid "Select a file"
msgstr ""
#: objinspstrconsts:oissettodefaultvalue #: objinspstrconsts:oissettodefaultvalue
msgid "Set to default value" msgid "Set to default value"
msgstr "" msgstr ""

View File

@ -64,6 +64,10 @@ msgstr "Aggiungi..."
msgid "All" msgid "All"
msgstr "" msgstr ""
#: objinspstrconsts:oisallfiles
msgid "All files (*.*)|*.*"
msgstr ""
#: objinspstrconsts:oiscategory #: objinspstrconsts:oiscategory
msgid "Category" msgid "Category"
msgstr "" msgstr ""
@ -120,6 +124,10 @@ msgstr "Ispettore oggetti"
msgid "Properties" msgid "Properties"
msgstr "Proprietà" msgstr "Proprietà"
#: objinspstrconsts:oisselectafile
msgid "Select a file"
msgstr ""
#: objinspstrconsts:oissettodefaultvalue #: objinspstrconsts:oissettodefaultvalue
msgid "Set to default value" msgid "Set to default value"
msgstr "" msgstr ""

View File

@ -65,6 +65,10 @@ msgstr "Dodaj ..."
msgid "All" msgid "All"
msgstr "Wszystkie" msgstr "Wszystkie"
#: objinspstrconsts:oisallfiles
msgid "All files (*.*)|*.*"
msgstr ""
#: objinspstrconsts:oiscategory #: objinspstrconsts:oiscategory
msgid "Category" msgid "Category"
msgstr "" msgstr ""
@ -121,6 +125,10 @@ msgstr "Inspektor obiektów"
msgid "Properties" msgid "Properties"
msgstr "Właściwości" msgstr "Właściwości"
#: objinspstrconsts:oisselectafile
msgid "Select a file"
msgstr ""
#: objinspstrconsts:oissettodefaultvalue #: objinspstrconsts:oissettodefaultvalue
msgid "Set to default value" msgid "Set to default value"
msgstr "Ustaw domyślną wartość" msgstr "Ustaw domyślną wartość"

View File

@ -65,6 +65,10 @@ msgstr "Dodaj ..."
msgid "All" msgid "All"
msgstr "Wszystkie" msgstr "Wszystkie"
#: objinspstrconsts:oisallfiles
msgid "All files (*.*)|*.*"
msgstr ""
#: objinspstrconsts:oiscategory #: objinspstrconsts:oiscategory
msgid "Category" msgid "Category"
msgstr "" msgstr ""
@ -121,6 +125,10 @@ msgstr "Inspektor obiekt
msgid "Properties" msgid "Properties"
msgstr "W³a¶ciwo¶ci" msgstr "W³a¶ciwo¶ci"
#: objinspstrconsts:oisselectafile
msgid "Select a file"
msgstr ""
#: objinspstrconsts:oissettodefaultvalue #: objinspstrconsts:oissettodefaultvalue
msgid "Set to default value" msgid "Set to default value"
msgstr "Ustaw domy¶ln± warto¶æ" msgstr "Ustaw domy¶ln± warto¶æ"

View File

@ -65,6 +65,10 @@ msgstr "Dodaj ..."
msgid "All" msgid "All"
msgstr "Wszystkie" msgstr "Wszystkie"
#: objinspstrconsts:oisallfiles
msgid "All files (*.*)|*.*"
msgstr ""
#: objinspstrconsts:oiscategory #: objinspstrconsts:oiscategory
msgid "Category" msgid "Category"
msgstr "" msgstr ""
@ -121,6 +125,10 @@ msgstr "Inspektor obiekt
msgid "Properties" msgid "Properties"
msgstr "W³aœciwoœci" msgstr "W³aœciwoœci"
#: objinspstrconsts:oisselectafile
msgid "Select a file"
msgstr ""
#: objinspstrconsts:oissettodefaultvalue #: objinspstrconsts:oissettodefaultvalue
msgid "Set to default value" msgid "Set to default value"
msgstr "Ustaw domyœln¹ wartoœæ" msgstr "Ustaw domyœln¹ wartoœæ"

View File

@ -138,3 +138,11 @@ msgstr ""
msgid "(All)" msgid "(All)"
msgstr "" msgstr ""
#: objinspstrconsts:oisselectafile
msgid "Select a file"
msgstr ""
#: objinspstrconsts:oisallfiles
msgid "All files (*.*)|*.*"
msgstr ""

View File

@ -64,6 +64,10 @@ msgstr "
msgid "All" msgid "All"
msgstr "÷ÓÅ" msgstr "÷ÓÅ"
#: objinspstrconsts:oisallfiles
msgid "All files (*.*)|*.*"
msgstr ""
#: objinspstrconsts:oiscategory #: objinspstrconsts:oiscategory
msgid "Category" msgid "Category"
msgstr "" msgstr ""
@ -120,6 +124,10 @@ msgstr "
msgid "Properties" msgid "Properties"
msgstr "ó×ÏÊÓÔ×Á" msgstr "ó×ÏÊÓÔ×Á"
#: objinspstrconsts:oisselectafile
msgid "Select a file"
msgstr ""
#: objinspstrconsts:oissettodefaultvalue #: objinspstrconsts:oissettodefaultvalue
msgid "Set to default value" msgid "Set to default value"
msgstr "õÓÔÁÎÏ×ÉÔØ × ÚÎÁÞÅÎÉÅ ÐÏ ÕÍÏÌÞÁÎÉÀ" msgstr "õÓÔÁÎÏ×ÉÔØ × ÚÎÁÞÅÎÉÅ ÐÏ ÕÍÏÌÞÁÎÉÀ"

View File

@ -64,6 +64,10 @@ msgstr "
msgid "All" msgid "All"
msgstr "Âñå" msgstr "Âñå"
#: objinspstrconsts:oisallfiles
msgid "All files (*.*)|*.*"
msgstr ""
#: objinspstrconsts:oiscategory #: objinspstrconsts:oiscategory
msgid "Category" msgid "Category"
msgstr "Êàòåãîðèÿ" msgstr "Êàòåãîðèÿ"
@ -120,6 +124,10 @@ msgstr "
msgid "Properties" msgid "Properties"
msgstr "Ñâîéñòâà" msgstr "Ñâîéñòâà"
#: objinspstrconsts:oisselectafile
msgid "Select a file"
msgstr ""
#: objinspstrconsts:oissettodefaultvalue #: objinspstrconsts:oissettodefaultvalue
msgid "Set to default value" msgid "Set to default value"
msgstr "Óñòàíîâèòü â çíà÷åíèå ïî óìîë÷àíèþ" msgstr "Óñòàíîâèòü â çíà÷åíèå ïî óìîë÷àíèþ"

View File

@ -525,6 +525,8 @@ type
property OnMouseDown; property OnMouseDown;
property OnMouseMove; property OnMouseMove;
property OnMouseUp; property OnMouseUp;
property OnMouseEnter;
property OnMouseLeave;
property OnPaint; property OnPaint;
property OnResize; property OnResize;
property Stretch; property Stretch;
@ -930,6 +932,9 @@ end.
{ {
$Log$ $Log$
Revision 1.101 2004/04/02 19:39:46 mattias
fixed checking empty mask raw image
Revision 1.100 2004/03/18 22:14:05 mattias Revision 1.100 2004/03/18 22:14:05 mattias
published TCheckGroup.Anchors published TCheckGroup.Anchors

View File

@ -262,13 +262,13 @@ begin
BitsPerLine:=GetBitsPerLine(Width,RawImage^.Description.AlphaBitsPerPixel, BitsPerLine:=GetBitsPerLine(Width,RawImage^.Description.AlphaBitsPerPixel,
RawImage^.Description.AlphaLineEnd); RawImage^.Description.AlphaLineEnd);
UsedBitsPerLine:=Width*RawImage^.Description.AlphaBitsPerPixel; UsedBitsPerLine:=Width*RawImage^.Description.AlphaBitsPerPixel;
UnusedBitsAtEnd:=BitsPerLine-UsedBitsPerLine;
if RawImage^.MaskSize<((Height*BitsPerLine+7) shr 3) then if RawImage^.MaskSize<((Height*BitsPerLine+7) shr 3) then
raise Exception('RawImageMaskIsEmpty Invalid MaskSize'); raise Exception('RawImageMaskIsEmpty Invalid MaskSize');
if (BitsPerLine and 7)=0 then begin if (BitsPerLine and 7)=0 then begin
// byte boundary // byte boundary
UsedBytesPerLine:=UsedBitsPerLine shr 3; UsedBytesPerLine:=UsedBitsPerLine shr 3;
UnusedByteMask:=(1 shl UnusedBitsAtEnd)-1; UnusedBitsAtEnd:=8-(UsedBitsPerLine and 7);
UnusedByteMask:=($ff00 shr UnusedBitsAtEnd) and $ff;
p:=RawImage^.Mask; p:=RawImage^.Mask;
for y:=0 to Height-1 do begin for y:=0 to Height-1 do begin
// check fully used bytes in line // check fully used bytes in line
@ -287,7 +287,7 @@ begin
if (p^ or UnusedByteMask)<>$ff then begin if (p^ or UnusedByteMask)<>$ff then begin
// not all bits set -> transparent pixels found -> Mask needed // not all bits set -> transparent pixels found -> Mask needed
{$IFDEF VerboseRawImage} {$IFDEF VerboseRawImage}
writeln('RawImageMaskIsEmpty EdgeByte y=',y,' x=',x,' Byte=',HexStr(Cardinal(p^),2),' UnusedByteMask=',HexStr(Cardinal(UnusedByteMask),8)); writeln('RawImageMaskIsEmpty EdgeByte y=',y,' x=',x,' Byte=',HexStr(Cardinal(p^),2),' UnusedByteMask=',HexStr(Cardinal(UnusedByteMask),2),' UnusedBitsAtEnd=',UnusedBitsAtEnd);
{$ENDIF} {$ENDIF}
exit; exit;
end; end;
@ -534,8 +534,8 @@ begin
SrcLineEndPosition); SrcLineEndPosition);
GetRawImageXYPosition(DestRawImageDesc,DestLineStarts,0,y, GetRawImageXYPosition(DestRawImageDesc,DestLineStarts,0,y,
DestLineStartPosition); DestLineStartPosition);
writeln('ExtractRawImageDataRect A y=',y,' SrcByte=',SrcLineStartPosition.Byte,' SrcBit=',SrcLineStartPosition.Bit, //writeln('ExtractRawImageDataRect A y=',y,' SrcByte=',SrcLineStartPosition.Byte,' SrcBit=',SrcLineStartPosition.Bit,
' DestByte=',DestLineStartPosition.Byte,' DestBit=',DestLineStartPosition.Bit); //' DestByte=',DestLineStartPosition.Byte,' DestBit=',DestLineStartPosition.Bit);
if (SrcLineStartPosition.Bit=0) if (SrcLineStartPosition.Bit=0)
and (DestLineStartPosition.Bit=0) then begin and (DestLineStartPosition.Bit=0) then begin
// copy bytes // copy bytes
@ -767,6 +767,9 @@ end.
{ ============================================================================= { =============================================================================
$Log$ $Log$
Revision 1.30 2004/04/02 19:39:46 mattias
fixed checking empty mask raw image
Revision 1.29 2004/03/30 17:45:31 mattias Revision 1.29 2004/03/30 17:45:31 mattias
fixed FindEndOfExpression for bogus statements fixed FindEndOfExpression for bogus statements

View File

@ -594,6 +594,7 @@ end;
Procedure TControl.CMMouseEnter(var Message: TLMessage); Procedure TControl.CMMouseEnter(var Message: TLMessage);
Begin Begin
// this is a LCL based mouse message, so don't call DoBeforeMouseMessage // this is a LCL based mouse message, so don't call DoBeforeMouseMessage
//writeln('TControl.CMMouseEnter ',Name,':',ClassName,' ',FMouseEntered,' ',Message.LParam);
if (Message.LParam=0) and (not FMouseEntered) then begin if (Message.LParam=0) and (not FMouseEntered) then begin
FMouseEntered:=true; FMouseEntered:=true;
MouseEnter; MouseEnter;
@ -608,6 +609,7 @@ end;
Procedure TControl.CMMouseLeave(var Message: TLMessage); Procedure TControl.CMMouseLeave(var Message: TLMessage);
Begin Begin
// this is a LCL based mouse message, so don't call DoBeforeMouseMessage // this is a LCL based mouse message, so don't call DoBeforeMouseMessage
//writeln('TControl.CMMouseLeave ',Name,':',ClassName,' ',FMouseEntered,' ',Message.LParam);
if (Message.LParam=0) and FMouseEntered then begin if (Message.LParam=0) and FMouseEntered then begin
FMouseEntered:=false; FMouseEntered:=false;
MouseLeave; MouseLeave;
@ -2421,11 +2423,13 @@ end;
procedure TControl.MouseEnter; procedure TControl.MouseEnter;
begin begin
//writeln('TControl.MouseEnter ',Name,':',ClassName,' ',Assigned(FOnMouseEnter));
if Assigned(FOnMouseEnter) then FOnMouseEnter(Self); if Assigned(FOnMouseEnter) then FOnMouseEnter(Self);
end; end;
procedure TControl.MouseLeave; procedure TControl.MouseLeave;
begin begin
//writeln('TControl.MouseLeave ',Name,':',ClassName,' ',Assigned(FOnMouseLeave));
if Assigned(FOnMouseLeave) then FOnMouseLeave(Self); if Assigned(FOnMouseLeave) then FOnMouseLeave(Self);
end; end;
@ -2876,6 +2880,9 @@ end;
{ ============================================================================= { =============================================================================
$Log$ $Log$
Revision 1.180 2004/04/02 19:39:46 mattias
fixed checking empty mask raw image
Revision 1.179 2004/04/01 18:09:50 mattias Revision 1.179 2004/04/01 18:09:50 mattias
removed unneeded SendDockNotification removed unneeded SendDockNotification

View File

@ -646,6 +646,7 @@ type
property Align; property Align;
property Anchors; property Anchors;
property Color; property Color;
property Constraints;
property Font; property Font;
property Lines; property Lines;
property MaxLength; property MaxLength;
@ -655,9 +656,11 @@ type
property OnKeyDown; property OnKeyDown;
property OnKeyPress; property OnKeyPress;
property OnKeyUp; property OnKeyUp;
Property OnMouseDown; property OnMouseDown;
property OnMouseUp; property OnMouseUp;
Property OnMouseMove; property OnMouseMove;
property OnMouseEnter;
property OnMouseLeave;
property ParentFont; property ParentFont;
property PopupMenu; property PopupMenu;
property ReadOnly; property ReadOnly;
@ -1544,6 +1547,9 @@ end.
{ ============================================================================= { =============================================================================
$Log$ $Log$
Revision 1.140 2004/04/02 19:39:46 mattias
fixed checking empty mask raw image
Revision 1.139 2004/03/12 15:48:57 mattias Revision 1.139 2004/03/12 15:48:57 mattias
fixed 1.0.x compilation fixed 1.0.x compilation