move files

git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@603 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
NishiOwO
2025-11-05 04:21:39 +00:00
parent 766b34ba34
commit 5a25b79546
9 changed files with 53 additions and 49 deletions

View File

@@ -1,10 +1,10 @@
/* $Id$ */
/*!
* @file Mw/Directory.h
* @file Mw/Abstract/Directory.h
* @brief Directory functions
*/
#ifndef __MW_DIRECTORY_H__
#define __MW_DIRECTORY_H__
#ifndef __MW_ABSTRACT_DIRECTORY_H__
#define __MW_ABSTRACT_DIRECTORY_H__
#include <Mw/MachDep.h>
#include <Mw/TypeDefs.h>

View File

@@ -89,17 +89,6 @@ MWDECL void MwDrawTriangle(MwWidget handle, MwRect* rect, MwLLColor color, int i
*/
MWDECL void MwDrawFrameEx(MwWidget handle, MwRect* rect, MwLLColor color, int invert, int border);
/*!
* @brief Draws a text
* @param handle Widget
* @param point Center point of the text
* @param text Text
* @param bold Bold
* @param align Align
* @param color Color
*/
MWDECL void MwDrawText(MwWidget handle, MwPoint* point, const char* text, int bold, int align, MwLLColor color);
/*!
* @brief Creates a pixmap from image
* @param handle Widget
@@ -108,22 +97,6 @@ MWDECL void MwDrawText(MwWidget handle, MwPoint* point, const char* text, int bo
*/
MWDECL MwLLPixmap MwLoadImage(MwWidget handle, const char* path);
/*!
* @brief Calculates a text width
* @param handle Widget
* @param text Text
* @return Text width
*/
MWDECL int MwTextWidth(MwWidget handle, const char* text);
/*!
* @brief Calculates a text height
* @param handle Widget
* @param text Text
* @return Text height
*/
MWDECL int MwTextHeight(MwWidget handle, const char* text);
/*!
* @brief Get color components
* @param color Color
@@ -178,6 +151,35 @@ MWDECL MwLLPixmap MwLoadIcon(MwWidget handle, unsigned int* data);
*/
MWDECL void MwDrawDiamond(MwWidget handle, MwRect* rect, MwLLColor color, int invert);
/* text.c */
/*!
* @brief Draws a text
* @param handle Widget
* @param point Center point of the text
* @param text Text
* @param bold Bold
* @param align Align
* @param color Color
*/
MWDECL void MwDrawText(MwWidget handle, MwPoint* point, const char* text, int bold, int align, MwLLColor color);
/*!
* @brief Calculates a text width
* @param handle Widget
* @param text Text
* @return Text width
*/
MWDECL int MwTextWidth(MwWidget handle, const char* text);
/*!
* @brief Calculates a text height
* @param handle Widget
* @param text Text
* @return Text height
*/
MWDECL int MwTextHeight(MwWidget handle, const char* text);
/* color.c */
/*!

View File

@@ -12,15 +12,16 @@
#include <Mw/TypeDefs.h>
#include <Mw/Core.h>
#include <Mw/Default.h>
#include <Mw/Draw.h>
#include <Mw/Font.h>
#include <Mw/Error.h>
#include <Mw/Constants.h>
#include <Mw/Unicode.h>
#include <Mw/Directory.h>
#include <Mw/String.h>
#include <Mw/Draw.h>
#include <Mw/Version.h>
#include <Mw/Abstract/Directory.h>
#include <Mw/Resource/Icon.h>
#include <Mw/Resource/Cursor.h>