분류 전체보기
-
[Delphi]폼 크기에 맞게 자동으로 컴포넌트 크기 조절하기Delphi/예제소스 2022. 1. 27. 18:05
https://ksch7.wordpress.com/2010/01/28/%ED%8F%BC-%ED%81%AC%EA%B8%B0%EC%97%90-%EB%A7%9E%EA%B2%8C-%EC%9E%90%EB%8F%99%EC%9C%BC%EB%A1%9C-%EC%BB%B4%ED%8F%AC%EB%84%8C%ED%8A%B8-%ED%81%AC%EA%B8%B0-%EC%A1%B0%EC%A0%88%ED%95%98%EA%B8%B0/ 폼 크기에 맞게 자동으로 컴포넌트 크기 조절하기 // 전체 적으로 들어 감 // ========= 컴포넌트 크기 자동 조절 =======================typedef struct{ int Width; int Height; int Left; int Top;}SDefaultContorl;// ==..
-
[C#]16bit RGB Color알고리즘 2022. 1. 27. 11:16
//Hex -> RGB // ex) 0x1234 -> 16bit RGB 색상표현 //Dec -> RGB // ex) 12345 -> 16bit RGB 색상표현 public void setRGBText(string sRGBText) { string sRGB; int iRGB; if (sRGBText.Length < 5) // Hex값 일 경우 { sRGB = sRGBText.PadLeft(4, '0'); iRGB = int.Parse(sRGB, System.Globalization.NumberStyles.HexNumber); // Hex to Int sRGB = Convert.ToString(iRGB, 2).PadLeft(16, '0'); } else // Dec값 일 경우 { iRGB = Convert...
-
[Delphi] 설치 후 환경설정Delphi/기초 2022. 1. 25. 14:20
코드 에디터 색상 변경 tool -> option -> User interface-> Editor-> Color Element -> brace highlight (코드 작성식 괄호 칠때 색상) 변경가능. Layout 설정 Layout 변경 후 Save Desktop... 으로 Layout 설정 저장. Set Desktop 으로 디버그모드와 디폴트모드 원하는 Layout으로 기본값 설정. Object Inspector 색상변경 tool -> option ->
-
[Git] 기존 폴더Git 2022. 1. 7. 15:51
기존 폴더 push 일반적인 commit git add . git commit -m "커밋내용" git push 중간에 기존 폴더를 github에 올리고 관리하는 방법은 아래와 같다. New저장소+Commit 기존저장소 + Commit # github에 repository를 생성한다. # 그후 로컬폴더에서 git를 초기화한다. or repository를 생성 # init 명령어를 사용하여 git의 Local 저장소(Repository)를 생성 git init # 생성된 git-주소 를 remote로 등록한다. git remote add origin ex)git remote add origin https://github.com/dlsenfl3/Reservoom.git # master를 가저온다. git p..
-
-
[Git] ssh cloneGit 2022. 1. 4. 11:57
이전 커밋 하드 리셋 $ git reset --hard ff32f4d 리셋 후 강제 push $git push origin +master https://medium.com/@kwoncharles/git-%EC%9D%B4%EC%A0%84-commit%EC%9C%BC%EB%A1%9C-%EB%8F%8C%EC%95%84%EA%B0%80%EA%B8%B0-cf6caed43ed5 [git] 이전 commit으로 돌아가기 soft? hard? medium.com 터미널 명령어 ssh-keygen -t rsa OR ssh-keygen -t rsa -b 2048 -f ~/.ssh/test_key Enter Enter .pub 키의 내용을 입력해야 합니다. ex) C:\Users\KIS_VHD\.ssh\id_rsa.pub ..
-
[Delphi] 해상도 ui조절Delphi/예제소스 2022. 1. 3. 11:48
https://blog.naver.com/PostView.nhn?blogId=50after&logNo=221787616902&parentCategoryNo=&categoryNo=12&viewDate=&isShowPopularPosts=true&from=search ScaleBy 모니터 해상도에 맞게 화면크기 자동조절 안녕하세요!! 오늘도 열코딩 하고 있는 개발자 코드입니다^^/ 프로그램을 개발하다 보면 알아두면 좋은 내... blog.naver.com